Function at 0x590e70
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.0057fc40
mov eax, dword [ebp + 8]
sub esp, 4
mov dword [edi], 0x6e4540
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 0x591070
cmp eax, 0x4444444
ja 0x59107c
mov dword [esp], ebx
call fcn.0063fc20
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 0x591061
mov ebx, eax
mov esi, esi
lea edi, [edi]
test ebx, ebx
je 0x590fa8
movzx eax, byte [esi + 4]
mov dword [ebx + 0x10], 0
lea ecx, [ebx + 8]
mov dword [ebx + 0xc], 0
mov dword [ebx], 0x6e458c
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.00580300
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], 0x6e46ac
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 0x590f10
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 0x591057
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.00629980
sub esp, 0xc
mov ecx, eax
jmp 0x591022
mov ecx, edx
mov edx, dword [ecx + 8]
test edx, edx
jne 0x591020
mov dword [edi + 0x88], ecx
mov ecx, eax
jmp 0x591035
mov ecx, edx
mov edx, dword [ecx + 0xc]
test edx, edx
jne 0x591033
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 0x590fb7
mov dword [ebp - 0x30], 0
jmp 0x590ee0
call fcn.006312c0
mov ebx, eax
mov ecx, edi
call fcn.0057fea0
mov dword [esp], ebx
call sub.libgcc_s_dw2_1.dll__Unwind_Resume
lea ecx, [edi + 0x70]
mov ebx, eax
call fcn.0060ee20
jmp 0x591083