Function at 0x4964c5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x5328d0]
xor eax, esp
mov dword [esp + 0x40], eax
and dword [esp + 0x3c], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
xor eax, eax
push ebx
mov dword [esp + 0x3c], 2
push esi
push edi
lea edi, [esp + 0x24]
mov edx, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [esp + 0x14], 0
lea edi, [esp + 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x4035c8
and dword [esp + 0x20], 0
xor ebx, ebx
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x496533
lea ebx, [esp + 0x24]
add ebx, eax
mov byte [ebx], 0
xor esi, esi
cmp dword [edi - 0x18], esi
je 0x4965a5
xor ecx, ecx
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x20]
push eax
lea eax, [edi - 0x10]
push eax
mov eax, dword [edi - 0x14]
add eax, ecx
mov ecx, edx
push eax
call fcn.0049b702
test eax, eax
js 0x49662e
cmp dword [esp + 0x20], 0
jne 0x49657c
mov ecx, dword [esp + 0x10]
inc esi
mov edx, dword [esp + 0xc]
add ecx, 0xc
mov dword [esp + 0x10], ecx
cmp esi, dword [edi - 0x18]
jne 0x496540
jmp 0x4965a5
mov esi, dword [edi - 4]
mov ecx, esi
push edi
call dword [0x5352c4]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
call esi
test eax, eax
js 0x49662e
mov edx, dword [esp + 0xc]
test ebx, ebx
je 0x4965a5
mov byte [ebx], 1
mov esi, dword [esp + 0x14]
add edi, 0x24
add esi, 0x24
mov dword [esp + 0x14], esi
cmp esi, 0x90
jne 0x49651b
xor eax, eax
test eax, eax
js 0x49662e
push 0x10
lea eax, [esp + 0x38]
push 0x428710
push eax
call fcn.0051003a
mov ebx, dword [esp + 0x28]
lea esi, [esp + 0x30]
push ecx
mov edi, esp
lea ecx, [esp + 0x44]
neg eax
push 0
sbb eax, eax
movsd dword es:[edi], dword [esi]
and eax, ecx
mov ecx, dword [ebx + 0x5c]
push eax
push dword [esp + 0x5c]
movsd dword es:[edi], dword [esi]
push dword [ebx + 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00489e1c
test eax, eax
jns 0x496642
cmp eax, 0xc00000bd
jne 0x49662e
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.0049ea3c
test eax, eax
js 0x49662e
lea edi, [ebx + 0x78]
xor eax, eax
lea esi, [esp + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0050e82a
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x48]
lea edi, [ebx + 0x78]
lea esi, [esp + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test eax, eax
je 0x496621
cmp dword [eax], 0
je 0x496621
mov ecx, dword [ebx + 0x5c]
lea esi, [esp + 0x24]
sub esp, 0x10
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00489f32
test eax, eax
jns 0x496621
cmp eax, 0xc00000bd
jne 0x49662e
push dword [esp + 0x48]
mov ecx, ebx
push dword [esp + 0x1c]
push 0xc0150006
call fcn.0049ea05
jmp 0x49661d