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

Disassembly:
sub esp, 0x38
push esi
mov esi, eax
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x48]
push edi
shl eax, 5
push eax
push ecx
call sub.MSVCRT.dll_realloc
mov edx, dword [esi + 0x34]
shl edx, 4
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x4c]
push edx
push eax
call sub.MSVCRT.dll_realloc
mov ecx, dword [esi + 0x34]
add ecx, ecx
add ecx, ecx
push ecx
mov dword [esi + 0x4c], eax
call sub.MSVCRT.dll_malloc
mov edx, dword [esi + 0x34]
add edx, edx
add edx, edx
add edx, edx
push edx
mov dword [esi + 0x40], eax
call sub.MSVCRT.dll_malloc
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x34]
shl eax, 4
push eax
call sub.MSVCRT.dll_malloc
xor edi, edi
add esp, 0x1c
cmp dword [esi + 0x34], edi
mov dword [esi + 0x44], eax
jle 0x416e52
push ebx
push ebp
mov edi, edi
test edi, edi
jne 0x416b36
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x5c]
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov dword [ecx], edx
mov eax, dword [esi + 0x3c]
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov eax, dword [esi]
test eax, eax
je 0x416b21
mov ecx, dword [esi + 0x2c4]
test ecx, ecx
je 0x416b21
push edi
push ebx
push ebp
push eax
call ecx
add esp, 0x10
cmp eax, 0xffffffff
je 0x416b21
lea eax, [esi + 0x18]
push eax
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebx
call fcn.0042faf0
add esp, 4
jmp 0x416bcf
mov eax, dword [esi + 0x3c]
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
jmp 0x416bcf
mov eax, dword [esi + 0x38]
mov ebx, dword [eax + edi*8]
mov ebp, dword [eax + edi*8 + 4]
mov eax, dword [esi]
test eax, eax
je 0x416bae
mov ecx, dword [esi + 0x2c4]
test ecx, ecx
je 0x416bae
push 0
push ebp
push ebx
push eax
call ecx
add esp, 0x10
cmp eax, 0xffffffff
je 0x416bae
lea ecx, [esi + 0x18]
push ecx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebp
call fcn.0042faf0
mov edx, dword [esi + 0x40]
lea eax, [edx + edi*4]
mov ecx, edi
shl ecx, 4
add ecx, dword [esi + 0x4c]
add esp, 4
push eax
mov edx, edi
shl edx, 5
add edx, dword [esi + 0x48]
push ecx
push edx
xor eax, eax
mov ecx, esi
call fcn.00416830
add esp, 0xc
test eax, eax
mov eax, dword [esi + 0x3c]
jge 0x416bc2
mov dword [eax + edi*8], 0xffffffff
mov dword [eax + edi*8 + 4], 0xffffffff
jmp 0x416bcf
mov eax, dword [esi + 0x3c]
mov dword [eax + edi*8], 0xffffffff
mov dword [eax + edi*8 + 4], 0xffffffff
jmp 0x416bcf
mov ecx, dword [esi + 8]
mov dword [eax + edi*8], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + edi*8 + 4], edx
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + edi*8]
and ecx, dword [eax + edi*8 + 4]
cmp ecx, 0xffffffff
je 0x416d2e
mov edx, dword [esi + 0x40]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [edx + edi*4]
push eax
lea ebp, [esi + 0x78]
push ebp
or ebx, 0xffffffff
call fcn.0042fb60
push ebx
lea ecx, [esp + 0x24]
push ebx
push ecx
call fcn.004161b0
add esp, 0x14
test edx, edx
jl 0x416d17
jg 0x416c20
test eax, eax
jb 0x416d17
lea edx, [esp + 0x18]
push edx
call fcn.0042efd0
add esp, 4
test eax, eax
jne 0x416cff
lea eax, [esp + 0x18]
push eax
call fcn.0042f080
mov ecx, dword [esi + 0x40]
add esp, 4
cmp eax, dword [ecx + edi*4]
jne 0x416cbd
lea edx, [esp + 0x18]
push edx
push ebp
call fcn.0042f800
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.0042fcd0
add esp, 0x10
test eax, eax
je 0x416ca9
jle 0x416c97
mov edx, edi
shl edx, 5
add edx, dword [esi + 0x48]
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.0041a440
add esp, 8
cmp ebx, 0xffffffff
mov ecx, eax
je 0x416c95
lea eax, [ecx + ebx]
sar eax, 2
cdq
add dword [esp + 0x10], eax
adc dword [esp + 0x14], edx
mov ebx, ecx
lea eax, [esp + 0x28]
push eax
push ebp
call fcn.0042fcd0
add esp, 8
test eax, eax
jne 0x416c67
lea ecx, [esp + 0x18]
push ecx
call fcn.0042eff0
and eax, edx
add esp, 4
cmp eax, 0xffffffff
jne 0x416ce2
push 0xffffffffffffffff
lea edx, [esp + 0x1c]
push 0xffffffffffffffff
push edx
call fcn.004161b0
add esp, 0xc
test edx, edx
jg 0x416c20
jl 0x416cff
test eax, eax
jae 0x416c20
jmp 0x416cff
lea eax, [esp + 0x18]
push eax
call fcn.0042eff0
add esp, 4
sub eax, dword [esp + 0x10]
sbb edx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
xor eax, eax
cmp dword [esp + 0x14], eax
jg 0x416d17
jl 0x416d0f
cmp dword [esp + 0x10], eax
jae 0x416d17
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x44]
mov edx, dword [esp + 0x10]
mov eax, edi
shl eax, 4
mov dword [eax + ecx], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx + 4], edx
mov eax, dword [esi + 0x38]
mov ebx, dword [eax + edi*8 + 8]
mov ebp, dword [eax + edi*8 + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x416e00
mov ecx, dword [esi + 0x2c4]
test ecx, ecx
je 0x416e00
push 0
push ebp
push ebx
push eax
call ecx
add esp, 0x10
cmp eax, 0xffffffff
je 0x416e00
lea eax, [esi + 0x18]
push eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebp
call fcn.0042faf0
lea eax, [esp + 0x1c]
add esp, 4
push eax
mov eax, esi
call fcn.00416260
mov ebx, edx
add esp, 4
test ebx, ebx
mov ebp, eax
jl 0x416ddf
jg 0x416d93
test ebp, ebp
jb 0x416ddf
lea ecx, [esp + 0x18]
push ecx
call fcn.0042f080
mov edx, dword [esi + 0x40]
add esp, 4
cmp eax, dword [edx + edi*4]
jne 0x416dbc
lea eax, [esp + 0x18]
push eax
call fcn.0042eff0
and eax, edx
add esp, 4
cmp eax, 0xffffffff
jne 0x416e21
lea ecx, [esp + 0x18]
push ecx
mov eax, esi
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebx
call fcn.00416260
mov ebx, edx
add esp, 4
test ebx, ebx
mov ebp, eax
jg 0x416d93
jl 0x416ddf
test ebp, ebp
jae 0x416d93
mov edx, edi
shl edx, 5
add edx, dword [esi + 0x48]
push edx
call fcn.00419530
mov eax, edi
shl eax, 4
add eax, dword [esi + 0x4c]
push eax
call fcn.00419460
add esp, 8
jmp 0x416e44
mov ecx, edi
shl ecx, 5
add ecx, dword [esi + 0x48]
push ecx
call fcn.00419530
mov edx, edi
shl edx, 4
add edx, dword [esi + 0x4c]
push edx
call fcn.00419460
add esp, 8
jmp 0x416e44
mov edx, dword [esi + 0x44]
mov ecx, edi
lea eax, [esp + 0x18]
shl ecx, 4
push eax
lea ebx, [ecx + edx]
call fcn.0042eff0
add esp, 4
sub eax, dword [ebx]
sbb edx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
add edi, 1
cmp edi, dword [esi + 0x34]
jl 0x416ad0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x38
ret