Function at 0x58f690
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.0057e460
mov eax, dword [ebp + 8]
sub esp, 4
mov dword [edi], 0x6e320c
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 0x58f890
cmp eax, 0x4444444
ja 0x58f89c
mov dword [esp], ebx
call fcn.0063e3f0
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 0x58f881
mov ebx, eax
mov esi, esi
lea edi, [edi]
test ebx, ebx
je 0x58f7c8
movzx eax, byte [esi + 4]
mov dword [ebx + 0x10], 0
lea ecx, [ebx + 8]
mov dword [ebx + 0xc], 0
mov dword [ebx], 0x6e3258
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.0057eb20
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], 0x6e3378
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 0x58f730
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 0x58f877
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.006281a0
sub esp, 0xc
mov ecx, eax
jmp 0x58f842
mov ecx, edx
mov edx, dword [ecx + 8]
test edx, edx
jne 0x58f840
mov dword [edi + 0x88], ecx
mov ecx, eax
jmp 0x58f855
mov ecx, edx
mov edx, dword [ecx + 0xc]
test edx, edx
jne 0x58f853
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 0x58f7d7
mov dword [ebp - 0x30], 0
jmp 0x58f700
call fcn.0062fae0
mov ebx, eax
mov ecx, edi
call fcn.0057e6c0
mov dword [esp], ebx
call sub.libgcc_s_dw2_1.dll__Unwind_Resume
lea ecx, [edi + 0x70]
mov ebx, eax
call fcn.0060d640
jmp 0x58f8a3