Function at 0x590980
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.0057f750
mov eax, dword [ebp + 8]
sub esp, 4
mov dword [edi], 0x6e408c
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 0x590b80
cmp eax, 0x4444444
ja 0x590b8c
mov dword [esp], ebx
call fcn.0063efe0
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 0x590b71
mov ebx, eax
mov esi, esi
lea edi, [edi]
test ebx, ebx
je 0x590ab8
movzx eax, byte [esi + 4]
mov dword [ebx + 0x10], 0
lea ecx, [ebx + 8]
mov dword [ebx + 0xc], 0
mov dword [ebx], 0x6e40d8
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.0057fe10
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], 0x6e41f8
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 0x590a20
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 0x590b67
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.00629780
sub esp, 0xc
mov ecx, eax
jmp 0x590b32
mov ecx, edx
mov edx, dword [ecx + 8]
test edx, edx
jne 0x590b30
mov dword [edi + 0x88], ecx
mov ecx, eax
jmp 0x590b45
mov ecx, edx
mov edx, dword [ecx + 0xc]
test edx, edx
jne 0x590b43
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 0x590ac7
mov dword [ebp - 0x30], 0
jmp 0x5909f0
call fcn.006310c0
mov ebx, eax
mov ecx, edi
call fcn.0057f9b0
mov dword [esp], ebx
call sub.libgcc_s_dw2_1.dll__Unwind_Resume
lea ecx, [edi + 0x70]
mov ebx, eax
call fcn.0060ec20
jmp 0x590b93