Function at 0x5e9b00
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.005e8f80
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.0053d1b0
add esp, 8
mov dword [esp + 0xc], eax
call fcn.0053d130
mov dword [esi + 0xb4], eax
mov eax, dword [esp + 0xc]
test eax, eax
jge 0x5e9b75
mov dword [esp + 0xc], 4
jmp 0x5e9b81
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 0x5e9baf
push 0
mov ecx, edi
call fcn.005f3cc0
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.005e8fe0
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.005e9210
test eax, eax
je 0x5e9ccf
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
test eax, eax
je 0x5e9ccf
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.005e8a30
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x10], ebx
je 0x5e9c51
push 0
mov ecx, edi
call fcn.005f3cc0
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.005e8f80
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.0053d1b0
add esp, 8
mov ebx, eax
call fcn.0053d130
mov dword [esi + 0xb4], eax
test ebx, ebx
jge 0x5e9c83
mov ebx, 4
jmp 0x5e9c8d
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 0x5e9cc7
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
cmp eax, 4
jne 0x5e9cb3
cmp ebx, 1
jne 0x5e9cb3
mov dword [esi + 0xb0], ebx
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x5e9c0e
jmp 0x5e9ccf
mov dword [esp + 0x14], 1
push 0
mov ecx, edi
call fcn.005f3cc0
mov esi, dword [esp + 0x18]
mov dword [edi], 0
mov eax, esi
test esi, esi
je 0x5e9d0a
mov eax, dword [eax + 4]
mov esi, dword [esi]
test eax, eax
je 0x5e9d00
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 0x5e9ce8
mov esi, dword [esp + 0x18]
mov eax, esi
test esi, esi
je 0x5e9d25
mov esi, dword [esi]
test eax, eax
je 0x5e9d1f
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
test esi, esi
jne 0x5e9d10
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.005f3cc0
mov eax, dword [esp + 0x14]
pop edi
mov dword [esi], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4