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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x706034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], 0
push edi
xor edi, edi
cmp byte [esi + 0x84], 0
je 0x5915c8
test byte [esi + 0x84], 1
je 0x591595
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0x591584
mov ecx, 1
jmp 0x59158f
push eax
call fcn.005583b0
add esp, 4
mov ecx, eax
mov edi, dword [edi + 0x10]
inc edi
add edi, ecx
mov eax, dword [esi + 0x84]
shr eax, 1
test al, 1
je 0x5915c8
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
cmp eax, 0x80
jae 0x5915b5
mov ecx, 1
jmp 0x5915c0
push eax
call fcn.005583b0
add esp, 4
mov ecx, eax
mov eax, dword [ebx + 0x10]
inc edi
add eax, ecx
add edi, eax
mov eax, dword [esi + 0x84]
test eax, 0x1fe00
je 0x59164f
shr eax, 9
test al, 1
je 0x59160f
mov ecx, dword [esi + 0x78]
test ecx, ecx
jne 0x5915eb
mov eax, dword [0x715234]
mov ecx, dword [eax + 0x78]
call fcn.00598d30
mov ebx, eax
cmp ebx, 0x80
jae 0x591601
mov eax, 1
jmp 0x59160a
push ebx
call fcn.005583b0
add esp, 4
add eax, ebx
inc edi
add edi, eax
mov eax, dword [esi + 0x84]
shr eax, 0xa
test al, 1
je 0x59164f
mov ecx, dword [esi + 0x7c]
test ecx, ecx
jne 0x59162b
mov eax, dword [0x715234]
mov ecx, dword [eax + 0x7c]
call fcn.005a0c60
mov ebx, eax
cmp ebx, 0x80
jae 0x591641
mov eax, 1
jmp 0x59164a
push ebx
call fcn.005583b0
add esp, 4
add eax, ebx
inc edi
add edi, eax
mov eax, dword [esi + 0x14]
xor ebx, ebx
add edi, eax
test eax, eax
jle 0x591695
nop word [eax + eax]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 8], eax
mov eax, dword [eax + 0x10]
cmp eax, 0x80
jae 0x59167a
mov ecx, 1
jmp 0x591685
push eax
call fcn.005583b0
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 8]
inc ebx
mov eax, dword [eax + 0x10]
add eax, ecx
add edi, eax
cmp ebx, dword [esi + 0x14]
jl 0x591660
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 8], ecx
cmp dword [esi + 0x24], ecx
jle 0x5916d7
mov eax, dword [esi + 0x20]
mov eax, dword [eax + ebx*4]
test eax, eax
jns 0x5916b2
mov eax, 0xa
jmp 0x5916cc
cmp eax, 0x80
jae 0x5916c0
mov eax, 1
jmp 0x5916cc
push eax
call fcn.005583b0
mov ecx, dword [ebp - 8]
add esp, 4
add ecx, eax
inc ebx
mov dword [ebp - 8], ecx
cmp ebx, dword [esi + 0x24]
jl 0x5916a1
mov eax, dword [esi + 0x24]
xor edx, edx
add eax, ecx
mov dword [ebp - 8], edx
add edi, eax
xor ebx, ebx
cmp dword [esi + 0x30], edx
jle 0x591726
nop word [eax + eax]
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + ebx*4]
test eax, eax
jns 0x591701
mov eax, 0xa
jmp 0x59171b
cmp eax, 0x80
jae 0x59170f
mov eax, 1
jmp 0x59171b
push eax
call fcn.005583b0
mov edx, dword [ebp - 8]
add esp, 4
add edx, eax
inc ebx
mov dword [ebp - 8], edx
cmp ebx, dword [esi + 0x30]
jl 0x5916f0
mov ecx, dword [esi + 0x3c]
xor ebx, ebx
mov eax, dword [esi + 0x30]
add eax, ecx
add eax, edx
add edi, eax
test ecx, ecx
jle 0x591774
nop dword [eax + eax]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + ebx*4]
call fcn.00593490
mov dword [ebp - 8], eax
cmp eax, 0x80
jae 0x59175c
mov ecx, 1
jmp 0x59176a
push eax
call fcn.005583b0
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 8]
add eax, ecx
inc ebx
add edi, eax
cmp ebx, dword [esi + 0x3c]
jl 0x591740
mov eax, dword [esi + 0x4c]
xor ebx, ebx
add edi, eax
test eax, eax
jle 0x5917b4
nop
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + ebx*4]
call fcn.00595960
mov dword [ebp - 8], eax
cmp eax, 0x80
jae 0x59179c
mov ecx, 1
jmp 0x5917aa
push eax
call fcn.005583b0
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 8]
add eax, ecx
inc ebx
add edi, eax
cmp ebx, dword [esi + 0x4c]
jl 0x591780
mov eax, dword [esi + 0x5c]
xor ebx, ebx
add edi, eax
test eax, eax
jle 0x5917f4
nop
mov eax, dword [esi + 0x58]
mov ecx, dword [eax + ebx*4]
call fcn.00597180
mov dword [ebp - 8], eax
cmp eax, 0x80
jae 0x5917dc
mov ecx, 1
jmp 0x5917ea
push eax
call fcn.005583b0
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 8]
add eax, ecx
inc ebx
add edi, eax
cmp ebx, dword [esi + 0x5c]
jl 0x5917c0
mov eax, dword [esi + 0x6c]
xor ebx, ebx
add edi, eax
test eax, eax
jle 0x591834
nop
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + ebx*4]
call fcn.00594840
mov dword [ebp - 8], eax
cmp eax, 0x80
jae 0x59181c
mov ecx, 1
jmp 0x59182a
push eax
call fcn.005583b0
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 8]
add eax, ecx
inc ebx
add edi, eax
cmp ebx, dword [esi + 0x6c]
jl 0x591800
mov edx, dword [esi + 4]
lea eax, [esi + 4]
test edx, edx
je 0x591850
mov ecx, dword [edx]
cmp ecx, dword [edx + 4]
je 0x591850
push eax
call fcn.005590e0
add esp, 4
add edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
mov dword [esi + 0x80], edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.006221ee
mov esp, ebp
pop ebp
ret