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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xc]
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 0xa8]
mov edx, dword [ecx + 8]
lea edi, [esi + 0x8c]
push edi
push edx
push eax
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
call fcn.005e78d0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
lea edx, [esp + 0x20]
push edi
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
call fcn.0053c030
add esp, 8
mov dword [esp + 0xc], eax
call fcn.0053bfb0
mov dword [esi + 0xb4], eax
mov eax, dword [esp + 0xc]
test eax, eax
jge 0x5e84c5
mov dword [esp + 0xc], 4
jmp 0x5e84d1
xor ecx, ecx
test eax, eax
setle cl
inc ecx
mov dword [esp + 0xc], ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
mov ecx, dword [esp + 0xc]
test ecx, eax
je 0x5e84ff
push 0
mov ecx, edi
call fcn.005f1b40
mov dword [edi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0xa8]
lea eax, [esi + 0x98]
push eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0x78]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
mov eax, dword [ecx + 8]
push eax
mov eax, dword [esi + 0x70]
push edx
mov edx, dword [esi + 0x74]
push eax
mov eax, dword [esi + 0x6c]
push edx
push eax
call fcn.005e7930
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.005e7b60
test eax, eax
je 0x5e861f
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
test eax, eax
je 0x5e861f
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.005e7380
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x10], ebx
je 0x5e85a1
push 0
mov ecx, edi
call fcn.005f1b40
mov dword [edi], 0
mov ecx, dword [esi + 0xa8]
mov edx, dword [ecx + 8]
push edi
push edx
push ebx
push ebx
mov dword [esp + 0x20], ebx
call fcn.005e78d0
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push edi
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
call fcn.0053c030
add esp, 8
mov ebx, eax
call fcn.0053bfb0
mov dword [esi + 0xb4], eax
test ebx, ebx
jge 0x5e85d3
mov ebx, 4
jmp 0x5e85dd
xor edx, edx
test ebx, ebx
setle dl
inc edx
mov ebx, edx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
cmp ebx, eax
je 0x5e8617
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
cmp eax, 4
jne 0x5e8603
cmp ebx, 1
jne 0x5e8603
mov dword [esi + 0xb0], ebx
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x5e855e
jmp 0x5e861f
mov dword [esp + 0x14], 1
push 0
mov ecx, edi
call fcn.005f1b40
mov esi, dword [esp + 0x18]
mov dword [edi], 0
mov eax, esi
test esi, esi
je 0x5e865a
mov eax, dword [eax + 4]
mov esi, dword [esi]
test eax, eax
je 0x5e8650
push eax
mov dword [eax], vtable.Zg3Curve.0
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
test esi, esi
jne 0x5e8638
mov esi, dword [esp + 0x18]
mov eax, esi
test esi, esi
je 0x5e8675
mov esi, dword [esi]
test eax, eax
je 0x5e866f
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
test esi, esi
jne 0x5e8660
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ecx
push 0
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.005f1b40
mov eax, dword [esp + 0x14]
pop edi
mov dword [esi], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4