Function at 0x5e4de0
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.005e4260
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.00539430
add esp, 8
mov dword [esp + 0xc], eax
call fcn.005393b0
mov dword [esi + 0xb4], eax
mov eax, dword [esp + 0xc]
test eax, eax
jge 0x5e4e55
mov dword [esp + 0xc], 4
jmp 0x5e4e61
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 0x5e4e8f
push 0
mov ecx, edi
call fcn.005ee1f0
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.005e42c0
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.005e44f0
test eax, eax
je 0x5e4faf
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
test eax, eax
je 0x5e4faf
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.005e3d00
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x10], ebx
je 0x5e4f31
push 0
mov ecx, edi
call fcn.005ee1f0
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.005e4260
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.00539430
add esp, 8
mov ebx, eax
call fcn.005393b0
mov dword [esi + 0xb4], eax
test ebx, ebx
jge 0x5e4f63
mov ebx, 4
jmp 0x5e4f6d
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 0x5e4fa7
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
cmp eax, 4
jne 0x5e4f93
cmp ebx, 1
jne 0x5e4f93
mov dword [esi + 0xb0], ebx
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x5e4eee
jmp 0x5e4faf
mov dword [esp + 0x14], 1
push 0
mov ecx, edi
call fcn.005ee1f0
mov esi, dword [esp + 0x18]
mov dword [edi], 0
mov eax, esi
test esi, esi
je 0x5e4fea
mov eax, dword [eax + 4]
mov esi, dword [esi]
test eax, eax
je 0x5e4fe0
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 0x5e4fc8
mov esi, dword [esp + 0x18]
mov eax, esi
test esi, esi
je 0x5e5005
mov esi, dword [esi]
test eax, eax
je 0x5e4fff
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
test esi, esi
jne 0x5e4ff0
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.005ee1f0
mov eax, dword [esp + 0x14]
pop edi
mov dword [esi], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4