Function at 0x46f920
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1ac
movsd xmm1, qword [ebp + 0x1c]
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x477810
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea eax, [ebp - 0x1b8]
mov dword [eax + 0x60], edx
pcmpeqd xmm0, xmm0
movdqu xmmword [eax + 0x50], xmm0
movdqu xmmword [eax + 0x40], xmm0
movdqu xmmword [eax + 0x30], xmm0
movdqu xmmword [eax + 0x20], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax], xmm0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0xf4], edx
movdqu xmmword [ebp - 0x104], xmm0
movdqu xmmword [ebp - 0x114], xmm0
movdqu xmmword [ebp - 0x124], xmm0
movdqu xmmword [ebp - 0x134], xmm0
movdqu xmmword [ebp - 0x144], xmm0
movdqu xmmword [ebp - 0x154], xmm0
sub esp, 0x14
movsd qword [esp + 0xc], xmm1
mov dword [esp], eax
mov dword [esp + 8], str._.0Lf
mov dword [esp + 4], 0x64
call fcn.0050dca0
add esp, 0x14
cmp eax, 0x64
jb 0x46fa56
mov dword [ebp - 0x20], esp
push eax
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x28], eax
add eax, 4
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x10], ecx
push eax
call fcn.004d91e0
add esp, 4
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov dword [ecx + 0x10], str._.0Lf
movq xmm0, qword [ebp + 0x1c]
movq qword [ecx + 0x14], xmm0
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
call fcn.0047a9a0
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov esp, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x46fde8
mov esi, dword [ebp - 0x38]
push eax
call fcn.004dd0b0
add esp, 4
test eax, eax
je 0x46fdd7
mov dword [ebp - 0x40], eax
jmp 0x46fa66
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x154]
mov dword [ebp - 0x40], eax
xor eax, eax
xor esi, esi
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x34]
mov dword [edx], 0xffffffff
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x10], 0
push edx
call fcn.00459430
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x4c], 0x5451dc
mov eax, dword [0x5451dc]
cmp eax, 0xffffffff
je 0x46facf
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0xf0]
mov dword [ecx], eax
lea eax, [ebp - 0x7c]
mov dword [eax], ecx
mov dword [ebp - 0x10], 1
push 0x476b90
push eax
push 0x5451dc
call fcn.00458090
add esp, 0xc
mov esi, dword [ebp - 0x20]
mov eax, dword [0x5451e0]
lea edx, [eax - 1]
mov ecx, dword [esi + 8]
mov esi, dword [esi + 0xc]
sub esi, ecx
sar esi, 2
cmp esi, edx
jbe 0x46fdb4
mov ebx, dword [ecx + eax*4 - 4]
test ebx, ebx
je 0x46fdb4
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
add eax, edi
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, esi
call dword [0x53a380]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x88], ebx
mov ecx, ebx
push dword [ebp - 0x40]
push dword [ebp - 0x20]
push edi
call esi
xor eax, eax
cmp dword [ebp - 0x28], 0
jle 0x46fc20
mov ecx, dword [ebp - 0x38]
cmp byte [ecx], 0x2d
sete cl
mov dword [ebp - 0x20], ecx
mov bl, 0xff
lea esi, [ebp - 0x7c]
mov dword [esi + 8], eax
lea edx, [ebp - 0x4c]
mov dword [edx + 8], eax
lea ecx, [ebp - 0x5c]
mov dword [ecx + 8], eax
lea eax, [ebp - 0x22]
mov byte [eax], bl
lea eax, [ebp - 0x21]
mov byte [eax], bl
lea eax, [ebp - 0x70]
xor ebx, ebx
dec ebx
mov dword [eax], ebx
pxor xmm0, xmm0
movq qword [esi], xmm0
movq qword [edx], xmm0
movq qword [ecx], xmm0
lea edi, [ebp - 0x8c]
mov dword [edi], ebx
mov dword [ebp - 0x10], 2
movzx eax, byte [ebp - 0x20]
movzx ebx, byte [ebp + 0x10]
push edi
push ecx
push edx
push esi
lea ecx, [ebp - 0x21]
push ecx
lea ecx, [ebp - 0x22]
push ecx
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov dword [ebp - 0x84], eax
push eax
push ebx
call fcn.0046fed0
add esp, 0x28
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0xa0], xmm0
movdqu xmmword [ebp - 0xb0], xmm0
movdqu xmmword [ebp - 0xc0], xmm0
movdqu xmmword [ebp - 0xd0], xmm0
movdqu xmmword [ebp - 0xe0], xmm0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0x90], 0xffffffff
mov esi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x28]
sub eax, esi
jg 0x46fc2c
movzx eax, byte [ebp - 0x51]
test al, al
jns 0x46fc0c
mov eax, dword [ebp - 0x58]
movzx ecx, byte [ebp - 0x41]
test cl, cl
jns 0x46fc17
mov ecx, dword [ebp - 0x48]
add eax, esi
add eax, ecx
add eax, 2
jmp 0x46fc4a
mov dword [ebp - 0x20], 0
jmp 0x46fb45
movzx ecx, byte [ebp - 0x51]
test cl, cl
jns 0x46fc37
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ebp - 0x41]
test dl, dl
jns 0x46fc42
mov edx, dword [ebp - 0x48]
lea eax, [esi + eax*2]
add eax, ecx
add eax, edx
inc eax
cmp eax, 0x65
mov dword [ebp - 0x80], esi
jb 0x46fc6a
push eax
call fcn.004dd0b0
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x46fc7a
jmp 0x46fdc2
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x6c]
xor edx, edx
dec edx
mov dword [eax], edx
lea eax, [ebp - 0x68]
mov dword [eax], edx
movsx edi, byte [ebp - 0x21]
movsx ebx, byte [ebp - 0x22]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x40]
add eax, ecx
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 4]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x10], 3
push dword [ebp - 0x80]
lea esi, [ebp - 0x5c]
push esi
lea esi, [ebp - 0x4c]
push esi
lea esi, [ebp - 0x7c]
push esi
push edi
push ebx
lea esi, [ebp - 0x70]
push esi
push dword [ebp - 0x84]
push dword [ebp - 0x88]
push eax
push ecx
push edx
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x3c]
call fcn.004700b0
add esp, 0x3c
mov al, byte [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x50], edi
movsx eax, al
push eax
push dword [ebp + 0x14]
push edx
push esi
push dword [ebp - 0x3c]
push ecx
push dword [ebp + 8]
call fcn.00416e50
add esp, 0x1c
cmp dword [ebp - 0x20], 0
je 0x46fd1c
push dword [ebp - 0x20]
call fcn.004dd100
add esp, 4
cmp byte [ebp - 0x51], 0
jns 0x46fd2d
push dword [ebp - 0x5c]
call fcn.004dfb35
add esp, 4
cmp byte [ebp - 0x41], 0
jns 0x46fd3e
push dword [ebp - 0x4c]
call fcn.004dfb35
add esp, 4
cmp byte [ebp - 0x71], 0
jns 0x46fd4f
push dword [ebp - 0x7c]
call fcn.004dfb35
add esp, 4
mov esi, dword [ebp - 0x34]
cmp esi, 0x545124
je 0x46fd7e
xor eax, eax
dec eax
lock xadd dword [esi + 4], eax
test eax, eax
jne 0x46fd7e
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [0x53a380]
mov ecx, esi
call edi
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x46fd8e
push eax
call fcn.004dd100
add esp, 4
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x46fd9e
push eax
call fcn.004dd100
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
mov dword [ebp - 0x10], 1
call fcn.0050dd90
jmp 0x46fdf5
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x10], 3
call fcn.0050e5d0
jmp 0x46fdf5
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], esi
call fcn.0050e5d0
jmp 0x46fdf5
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
call fcn.0050e5d0
nop word cs:[eax + eax]
push ebp
sub esp, 0x3c
add ebp, 0xc
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x46fe17
push eax
call fcn.004dd100
add esp, 4
add esp, 0x3c
pop ebp
ret