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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, ecx
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0057e230
mov eax, dword [ebp + 8]
sub esp, 4
mov dword [edi], 0x6e290c
movzx eax, byte [eax + 0x6c]
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x74]
sub ebx, dword [eax + 0x70]
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov eax, ebx
sar eax, 2
imul eax, eax, 0xeeeeeeef
test eax, eax
je 0x58f660
cmp eax, 0x4444444
ja 0x58f66c
mov dword [esp], ebx
call fcn.0063e270
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ebx, eax
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], ebx
mov edx, dword [edx + 0x74]
mov esi, dword [ecx + 0x70]
mov dword [ebp - 0x2c], edx
cmp edx, esi
je 0x58f651
mov ebx, eax
mov esi, esi
lea edi, [edi]
test ebx, ebx
je 0x58f598
movzx eax, byte [esi + 4]
mov dword [ebx + 0x10], 0
lea ecx, [ebx + 8]
mov dword [ebx + 0xc], 0
mov dword [ebx], 0x6e2958
mov dword [ebx + 8], 0
mov byte [ebx + 4], al
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call fcn.0057e8f0
mov eax, dword [ebx + 0xc]
sub esp, 4
cmp dword [esi + 0xc], eax
cmovbe eax, dword [esi + 0xc]
mov dword [esp + 8], eax
mov eax, dword [esi + 8]
mov dword [esp + 4], eax
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x18], 0x6e2a78
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x38], eax
add ebx, 0x3c
add esi, 0x3c
cmp dword [ebp - 0x2c], esi
jne 0x58f500
mov edx, dword [ebp + 8]
lea eax, [edi + 0x80]
mov dword [edi + 0x84], 0
mov dword [edi + 0x74], ebx
mov dword [edi + 0x80], 0
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], eax
mov edx, dword [edx + 0x84]
mov dword [edi + 0x90], 0
test edx, edx
je 0x58f647
lea ebx, [ebp - 0x1c]
lea ecx, [edi + 0x7c]
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [esp + 8], ebx
mov dword [ebp - 0x1c], ecx
call fcn.00628020
sub esp, 0xc
mov ecx, eax
jmp 0x58f612
mov ecx, edx
mov edx, dword [ecx + 8]
test edx, edx
jne 0x58f610
mov dword [edi + 0x88], ecx
mov ecx, eax
jmp 0x58f625
mov ecx, edx
mov edx, dword [ecx + 0xc]
test edx, edx
jne 0x58f623
mov edx, dword [ebp + 8]
mov dword [edi + 0x8c], ecx
mov edx, dword [edx + 0x90]
mov dword [edi + 0x84], eax
mov dword [edi + 0x90], edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov ebx, dword [ebp - 0x30]
jmp 0x58f5a7
mov dword [ebp - 0x30], 0
jmp 0x58f4d0
call fcn.0062f960
mov ebx, eax
mov ecx, edi
call fcn.0057e490
mov dword [esp], ebx
call sub.libgcc_s_dw2_1.dll__Unwind_Resume
lea ecx, [edi + 0x70]
mov ebx, eax
call fcn.0060d4c0
jmp 0x58f673