Function at 0x46c140
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x64
push ebx
push ebp
mov ebp, dword [esp + 0x74]
push esi
push edi
mov edi, dword [esp + 0x78]
cmp dword [ebp + 0x18], 0x37
jne 0x46c166
push ebp
push edi
call fcn.004682d0
add esp, 8
mov esi, eax
jmp 0x46c288
movups xmm0, xmmword [ebp + 0x54]
sub esp, 0x10
lea ebx, [ebp + 0x54]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00409ef0
add esp, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x46c1aa
mov ecx, dword [eax]
add ecx, 0x18fb8
lea ecx, [edi + ecx*4]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x46c1aa
mov esi, dword [ecx]
test esi, esi
jne 0x46c29b
movups xmm0, xmmword [ebx]
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
jne 0x46c1c6
test eax, eax
jne 0x46c276
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x14]
cmp ecx, 2
je 0x46c276
xor eax, eax
test ecx, ecx
push 4
push 0
sete al
push ebx
push edi
mov dword [esp + 0x24], eax
call fcn.00473740
mov ecx, dword [edi + 0x63fec]
add esp, 0x10
mov ebx, dword [edi + 0x640fc]
mov edx, dword [edi + 0x63bc8]
shr ecx, 2
shr ebx, 2
add ebx, ecx
shr edx, 2
add ebx, edx
mov dword [esp + 0x1c], eax
cmp dword [edi + 0x24], 6
mov edx, ebx
mov dword [esp + 0x20], ebx
sbb eax, eax
and eax, 0xfffffff8
add eax, 0x18
mov ecx, eax
imul ecx, ebx
mov ebx, dword [esp + 0x14]
add ecx, dword [edi + 0x64208]
cmp dword [ecx + 4], ebx
jne 0x46c23e
mov esi, dword [ecx + 8]
test esi, esi
je 0x46c243
inc edx
add ecx, eax
jmp 0x46c232
cmp dword [esp + 0x18], 0
sete al
sub edx, dword [esp + 0x20]
movzx eax, al
push eax
push dword [esp + 0x20]
push edx
push ebx
push dword [ecx + 0xc]
push esi
push 1
push edi
call fcn.0046aa80
mov esi, eax
add esp, 0x20
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46c288
mov dword [eax], esi
jmp 0x46c288
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x64230]
shl ecx, 6
mov esi, dword [ecx + eax]
mov eax, ebp
mov ecx, 0x54
add eax, ecx
mov ebx, eax
test esi, esi
je 0x46c405
mov eax, dword [ebp + 0x18]
cmp eax, 0x92
jne 0x46c2c8
movups xmm0, xmmword [ebx]
xor ecx, ecx
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
cmovne eax, ecx
mov eax, dword [eax + 0x20]
movzx eax, word [eax + 6]
and eax, 0xf
jmp 0x46c2d6
imul eax, eax, 0x64
movzx eax, byte [eax + 0x51987b]
mov eax, dword [ebp + eax*4 + 0x30]
cmp eax, 5
jne 0x46c2ef
lea ebx, [edi + 0x10]
push 0x20
push ebx
call fcn.0047ba40
push eax
push ebx
call fcn.0047ca50
jmp 0x46c2fd
push 4
push 0
lea eax, [ebp + 0x64]
push eax
push edi
call fcn.00473740
add esp, 0x10
test eax, eax
je 0x46c405
mov dword [esp + 0x30], eax
xorps xmm0, xmm0
lea eax, [esp + 0x24]
mov dword [esp + 0x24], esi
push eax
push edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x58], 0
movq qword [esp + 0x50], xmm0
movq qword [esp + 0x5c], xmm0
mov dword [esp + 0x64], 0
movq qword [esp + 0x68], xmm0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
call fcn.00472ac0
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x46c405
xor ebx, ebx
cmp byte [ebp + 0x2c], bl
jbe 0x46c3fb
lea esi, [edi + 0x28]
nop
push ebx
push eax
lea eax, [edi + 0x10]
push eax
call fcn.00479f50
push eax
mov dword [esp + 0x8c], eax
call fcn.0047cd00
add esp, 0x10
cmp eax, dword [edi + 0x63bb0]
jne 0x46c3b6
or dword [esi], 1
cmp eax, dword [edi + 0x63ba8]
je 0x46c3cb
cmp eax, dword [edi + 0x63b9c]
je 0x46c3cb
lea esi, [edi + 0x28]
jmp 0x46c3ce
or dword [esi], 0x10
cmp eax, dword [edi + 0x63ba4]
jne 0x46c3dc
or dword [esi], 0x8000
push dword [esp + 0x7c]
lea eax, [ebp + 0x1c]
push ebx
push eax
push edi
call fcn.004748b0
movzx eax, byte [ebp + 0x2c]
inc ebx
add esp, 0x10
cmp ebx, eax
mov eax, dword [esp + 0x20]
jb 0x46c390
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x64
ret