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

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
mov ebp, 1
push edi
lea ecx, [esp + 0x54]
or eax, 0xffffffff
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
call fcn.004a4120
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x78]
mov esi, eax
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x88]
push ecx
push edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x74], esi
call fcn.004a4120
mov ebx, eax
lea edx, [esp + 0x70]
push edx
mov edx, dword [esp + 0x90]
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x58]
push ecx
push edx
push edi
lea ecx, [esp + 0x70]
mov dword [esp + 0x68], ebx
call fcn.004a4120
push ebp
mov ebp, dword [esp + 0x58]
push ebp
push esi
lea edx, [esp + 0x60]
mov dword [esp + 0x64], eax
call fcn.004a3d00
mov edi, dword [esp + 0x58]
add esp, 0x48
push 1
push edi
push ebx
lea edx, [esp + 0x24]
mov dword [esp + 0x20], eax
call fcn.004a3d00
mov ebx, dword [esp + 0x44]
push 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
push ebx
push eax
lea edx, [esp + 0x30]
call fcn.004a3d00
add esp, 0x18
mov dword [esp + 0x18], eax
test esi, esi
je 0x55e9ca
cmp dword [esp + 0x2c], 0
je 0x55e9bc
cmp dword [esp + 0x1c], 0
je 0x55e9bc
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x55e9bc
cmp dword [esp + 0x10], 0
je 0x55e9bc
test eax, eax
je 0x55e9bc
xor eax, eax
test ebp, ebp
jle 0x55e7c5
add ecx, 8
mov edx, dword [ecx]
mov esi, dword [esp + 0x20]
mov dword [esi + edx*4], eax
inc eax
add ecx, 0x14
cmp eax, ebp
jl 0x55e7b4
xor eax, eax
test edi, edi
jle 0x55e7e3
mov ecx, dword [esp + 0x10]
add ecx, 8
mov edx, dword [ecx]
mov esi, dword [esp + 0x24]
mov dword [esi + edx*4], eax
inc eax
add ecx, 0x14
cmp eax, edi
jl 0x55e7d2
xor eax, eax
test ebx, ebx
jle 0x55e801
mov ecx, dword [esp + 0x18]
add ecx, 8
mov edx, dword [ecx]
mov esi, dword [esp + 0x28]
mov dword [esi + edx*4], eax
inc eax
add ecx, 0x14
cmp eax, ebx
jl 0x55e7f0
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x44]
push 1
mov ecx, ebp
mov edx, esi
call fcn.0055d370
add esp, 8
test eax, eax
jl 0x55ea16
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x30]
push ecx
push 1
mov ecx, edi
call fcn.0055d370
add esp, 8
test eax, eax
jl 0x55ea16
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x34]
push edx
push 1
mov ecx, ebx
mov edx, esi
call fcn.0055d370
add esp, 8
test eax, eax
jl 0x55ea16
mov ecx, dword [esp + 0x14]
push 1
mov eax, ebp
call fcn.0055d9f0
add esp, 4
test eax, eax
jl 0x55ea16
mov ecx, dword [esp + 0x10]
push 1
mov eax, edi
mov edx, esi
call fcn.0055d9f0
add esp, 4
test eax, eax
jl 0x55ea16
mov ecx, dword [esp + 0x18]
push 1
mov eax, ebx
mov edx, esi
call fcn.0055d9f0
add esp, 4
test eax, eax
jl 0x55ea16
cmp dword [esp + 0x58], 0
mov dword [esp + 0x34], 0
jle 0x55e96a
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
sub eax, edi
sub ecx, edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
jmp 0x55e8e4
mov eax, dword [esp + 0x48]
mov ebp, dword [eax + edi]
mov eax, dword [esp + 0x28]
mov eax, dword [eax + ebp*4]
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax*4]
mov ebx, dword [edx + ecx*4 + 0x10]
mov eax, dword [edx + ecx*4 + 0xc]
lea esi, [edx + ecx*4]
mov edx, dword [esp + 0x54]
call fcn.004a3670
cmp eax, dword [esi + 0xc]
jne 0x55e96a
cmp ebp, 1
jne 0x55e928
mov eax, dword [edi]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + eax*4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
lea esi, [eax + edx*4]
jmp 0x55e940
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + edi]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0x10]
lea ecx, [eax + eax*4]
lea esi, [edx + ecx*4]
mov ebx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x54]
call fcn.004a3670
cmp eax, dword [esi + 0xc]
jne 0x55e96a
mov eax, dword [esp + 0x34]
inc eax
add edi, 4
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x34], eax
jl 0x55e8e0
mov eax, dword [esp + 0x4c]
mov esi, dword [sym.imp.MSVCR90.dll_free]
push eax
call esi
mov ecx, dword [esp + 0x30]
push ecx
call esi
mov edx, dword [esp + 0x24]
push edx
call esi
mov eax, dword [esp + 0x2c]
push eax
call esi
mov ecx, dword [esp + 0x34]
push ecx
call esi
mov edx, dword [esp + 0x3c]
push edx
call esi
mov eax, dword [esp + 0x2c]
push eax
call esi
mov ecx, dword [esp + 0x2c]
push ecx
call esi
mov edx, dword [esp + 0x38]
push edx
call esi
add esp, 0x24
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
push esi
mov esi, dword [sym.imp.MSVCR90.dll_free]
call esi
add esp, 4
jmp 0x55e9d0
mov esi, dword [sym.imp.MSVCR90.dll_free]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x55e9de
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x55e9ec
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x55e9fa
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x55ea08
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x55ea16
push eax
call esi
add esp, 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x40
ret