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

Disassembly:
lea ecx, [esp + 0x3c]
add eax, 0x5168
push eax
call 0x60577a
mov eax, dword [ebx]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0x138], 3
call 0x5ed3ed
add esp, 8
test eax, eax
je 0x592031
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x170]
lea esi, [ebp + 0x170]
add eax, 0x4d58
mov bl, byte [ecx]
mov dl, bl
cmp bl, byte [eax]
jne 0x5914e8
test dl, dl
je 0x5914e4
mov bl, byte [ecx + 1]
mov dl, bl
cmp bl, byte [eax + 1]
jne 0x5914e8
add ecx, 2
add eax, 2
test dl, dl
jne 0x5914c4
xor eax, eax
jmp 0x5914ed
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x591a51
push 1
push ecx
mov edx, esp
mov dword [esp + 0x20], esp
lea ebx, [ebp + 0x174]
push 0x5e7ad0
push ebx
push edx
call 0x6059a1
call fcn.004de6c0
mov eax, dword [ebp + 0x5c]
add esp, 8
add eax, 0x4d58
lea ecx, [esp + 0x30]
push eax
call 0x60577a
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x38]
push ecx
push edx
mov byte [esp + 0x138], 4
call fcn.0056a470
add esp, 8
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x134], 5
call 0x605845
lea ecx, [esp + 0x38]
mov byte [esp + 0x130], 4
call 0x60570c
mov eax, dword [ebp + 0x5c]
lea ecx, [esp + 0x24]
add eax, 0x4d58
push eax
call 0x60577a
pop es
add byte [ebx + 0x6830244c], cl
fsub st(7)
pop edi
add byte [ecx - 0x73], dl
dec esp
and al, 0x2c
mov byte [esp + 0x138], 6
call 0x6007fc
push 0x5e7ad0
lea edx, [esp + 0x3c]
push ebx
push edx
call 0x6059a1
lea ecx, [esp + 0x24]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x13c], 7
call 0x60593b
mov bl, 9
lea ecx, [esp + 0x38]
mov byte [esp + 0x130], bl
call 0x60570c
mov eax, dword [ebp + 0x5c]
lea ecx, [esp + 0x28]
add eax, 0x5168
push eax
call 0x60577a
push 0x5e7ad0
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x13c], 0xa
call 0x6059a1
mov eax, dword [eax]
mov edx, dword [esp + 0x30]
push eax
mov byte [esp + 0x134], 0xb
push edx
call 0x5ed3ed
add esp, 8
test eax, eax
jne 0x59162f
mov eax, dword [esp + 0x1c]
push eax
call fcn.004dba50
add esp, 4
mov byte [esp + 0x17], 1
test al, al
sete al
test al, al
jne 0x591634
mov byte [esp + 0x17], 0
lea ecx, [esp + 0x34]
mov byte [esp + 0x130], 0xa
call 0x60570c
lea ecx, [esp + 0x28]
mov byte [esp + 0x130], bl
call 0x60570c
mov al, byte [esp + 0x17]
test al, al
je 0x591a1e
push esi
lea ecx, [esp + 0x14]
push 0x5f2fe4
push ecx
call 0x605a15
push 0x5f2fd8
lea edx, [esp + 0x24]
push eax
push edx
mov byte [esp + 0x13c], 0xc
call 0x6059a1
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x34]
push ecx
push eax
push edx
mov byte [esp + 0x13c], 0xd
call 0x60593b
push 0x5f2fd4
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x138], 0xe
push eax
call 0x6059a1
mov eax, dword [eax]
mov ecx, dword [ebp + 0x1c]
push 0x24
push 0x5e7590
push eax
push ecx
call edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], eax
call 0x60570c
lea ecx, [esp + 0x34]
mov byte [esp + 0x130], 0xd
call 0x60570c
lea ecx, [esp + 0x20]
mov byte [esp + 0x130], 0xc
call 0x60570c
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], bl
call 0x60570c
cmp dword [esp + 0x18], 6
push es
jne 0x591a1e
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
call 0x605845
push esi
lea eax, [esp + 0x2c]
push 0x5f2fb4
push eax
call 0x605a15
push 0x5f2fa0
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x13c], 0xf
call 0x6059a1
lea edx, [esp + 0x1c]
mov byte [esp + 0x130], 0x10
push edx
push eax
lea eax, [esp + 0x18]
push eax
call 0x60593b
push 0x5f2fd4
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x13c], 0x11
call 0x6059a1
mov eax, dword [eax]
mov edx, dword [ebp + 0x1c]
push ebp
sbb al, 0x6a
and al, 0x68
nop
jne 0x5917e0
add byte [eax + 0x52], dl
xchg esp, eax
and al, 0x54
add eax, dword [eax]
add byte [ecx + 0xa02494], cl
add byte [eax], al