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

Disassembly:
mov eax, 0x20
call fcn.0053e710
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
push dword [esi + 0x50]
call fcn.0054f320
or ebp, 0xffffffff
lea ecx, [esi + 0x10]
add esp, 4
mov dword [esp + 0x10], ebp
cmp dword [esi + 0x78], 0
mov edx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], ecx
je 0x591259
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 6
jmp 0x591273
mov eax, dword [ecx]
mov dword [esp + 0x34], ecx
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
shr edi, 6
and edi, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
xor ebx, ebx
test edx, edx
jle 0x591958
nop dword [eax]
push ebx
push dword [esi + 0x50]
call fcn.0054f330
mov ecx, dword [esp + 0x3c]
add esp, 8
mov edi, eax
mov ecx, dword [ecx]
test byte [ecx + 0xc], 0x10
jne 0x5912ca
test dword [edi + 0x84], 0x200
je 0x5912ca
test ebx, ebx
js 0x5912ad
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x22
call eax
add esp, 8
test eax, eax
je 0x591965
cmp dword [esp + 0x24], 0
jne 0x591301
test dword [edi + 0x84], 0x400
je 0x591301
test ebx, ebx
js 0x5912e4
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x28
call eax
add esp, 8
test eax, eax
je 0x591965
push edi
call fcn.00589cc0
add esp, 4
mov ecx, eax
cmp ebp, 0xffffffff
je 0x591371
test ebp, ebp
je 0x591337
test ecx, ecx
je 0x591386
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x14]
jl 0x591332
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
test byte [eax + 0xc], 0x20
je 0x5913c5
cmp ecx, 1
jmp 0x591384
test ecx, ecx
je 0x5913c5
mov eax, ebx
test ebx, ebx
jns 0x59134a
mov eax, dword [esi + 0x5c]
jmp 0x59134d
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x59135c
mov eax, edi
mov dword [esi + 0x60], 0x25
jmp 0x5913af
push eax
push dword [esi + 0x50]
call fcn.0054f330
add esp, 8
mov dword [esi + 0x60], 0x25
jmp 0x5913af
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
test byte [eax + 0xc], 0x20
je 0x5913c5
cmp ecx, 1
je 0x5913c5
test ecx, ecx
je 0x5913c5
mov eax, ebx
test ebx, ebx
jns 0x591391
mov eax, dword [esi + 0x5c]
jmp 0x591394
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x59139c
mov eax, edi
jmp 0x5913a8
push eax
push dword [esi + 0x50]
call fcn.0054f330
add esp, 8
mov dword [esi + 0x60], 0x4f
push esi
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push 0
call eax
add esp, 8
test eax, eax
je 0x591965
cmp dword [esp + 0x14], 1
jle 0x5914a7
push edi
call fcn.00567480
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x591416
push ebp
call fcn.00550720
add esp, 4
cmp eax, 0x198
jne 0x5914a3
lea eax, [esp + 0x2c]
push eax
push str.decoded_from_explicit
push ebp
call fcn.00561230
add esp, 0xc
cmp eax, 1
jne 0x591416
xor eax, eax
cmp dword [esp + 0x2c], eax
sete al
jmp 0x591460
or eax, 0xffffffff
mov dword [esp + 0x28], eax
mov eax, ebx
test ebx, ebx
jns 0x591428
mov eax, dword [esi + 0x5c]
jmp 0x59142b
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x591433
mov eax, edi
jmp 0x59143f
push eax
push dword [esi + 0x50]
call fcn.0054f330
add esp, 8
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x60], 1
call eax
add esp, 8
test eax, eax
je 0x591965
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x5914a3
mov eax, ebx
test ebx, ebx
jns 0x59146f
mov eax, dword [esi + 0x5c]
jmp 0x591472
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x59147a
mov eax, edi
jmp 0x591486
push eax
push dword [esi + 0x50]
call fcn.0054f330
add esp, 8
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x60], 0x5e
call eax
add esp, 8
test eax, eax
je 0x591965
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
test byte [eax + 0xc], 0x20
je 0x591801
cmp dword [esp + 0x14], 1
jle 0x591801
cmp dword [edi + 0x7c], 0xffffffff
je 0x591522
test byte [edi + 0x84], 0x10
jne 0x5914f5
test ebx, ebx
js 0x5914d8
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x50
call eax
add esp, 8
test eax, eax
je 0x591965
test byte [edi + 0x88], 4
jne 0x591522
test ebx, ebx
js 0x591505
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x51
call eax
add esp, 8
test eax, eax
je 0x591965
mov eax, dword [edi + 0x84]
and eax, 0x10011
cmp eax, 0x11
jne 0x591556
test ebx, ebx
js 0x591539
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x59
call eax
add esp, 8
test eax, eax
je 0x591965
mov eax, dword [edi + 0x84]
test al, 0x10
je 0x591574
test al, 2
jne 0x5915a1
test ebx, ebx
js 0x59156b
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0x5c
jmp 0x59158b
test byte [edi + 0x88], 4
je 0x5915a1
test ebx, ebx
js 0x591584
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0x52
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
call eax
add esp, 8
test eax, eax
je 0x591965
push edi
call fcn.00567470
push eax
call fcn.005aab70
add esp, 8
test eax, eax
jne 0x5915d8
test ebx, ebx
js 0x5915bb
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x53
call eax
add esp, 8
test eax, eax
je 0x591965
test byte [edi + 0x84], 0x10
jne 0x5915f3
test byte [edi + 0x88], 2
jne 0x5915f3
cmp dword [edi + 0xa4], 0
jne 0x59162a
push edi
call fcn.0054b0a0
push eax
call fcn.005aab70
add esp, 8
test eax, eax
jne 0x59162a
test ebx, ebx
js 0x59160d
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x54
call eax
add esp, 8
test eax, eax
je 0x591965
push edi
call fcn.0054b0a0
push eax
call fcn.005aab70
add esp, 8
test eax, eax
jne 0x591675
cmp dword [edi + 0xa4], eax
je 0x591675
test dword [edi + 0x84], 0x80000
jne 0x591675
test ebx, ebx
js 0x591658
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x58
call eax
add esp, 8
test eax, eax
je 0x591965
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x5916b0
push eax
call fcn.0054f320
add esp, 4
test eax, eax
jg 0x5916b0
test ebx, ebx
js 0x591693
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x57
call eax
add esp, 8
test eax, eax
je 0x591965
lea eax, [edi + 0x14]
push eax
lea eax, [edi + 0x48]
push eax
call fcn.00593a50
add esp, 8
test eax, eax
je 0x5916e8
test ebx, ebx
js 0x5916cb
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x4e
call eax
add esp, 8
test eax, eax
je 0x591965
cmp dword [edi + 0x98], 0
je 0x591721
test dword [edi + 0x84], 0x20000
je 0x591721
test ebx, ebx
js 0x591704
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x5a
call eax
add esp, 8
test eax, eax
je 0x591965
cmp dword [edi + 0x94], 0
je 0x59175a
test dword [edi + 0x84], 0x40000
je 0x59175a
test ebx, ebx
js 0x59173d
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x5b
call eax
add esp, 8
test eax, eax
je 0x591965
push edi
call fcn.005671c0
add esp, 4
cmp eax, 2
jl 0x5917c6
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x14]
jge 0x5917a4
mov eax, dword [edi + 0x98]
test eax, eax
je 0x591780
cmp dword [eax], 0
jne 0x5917a4
test ebx, ebx
js 0x591787
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x55
call eax
add esp, 8
test eax, eax
je 0x591965
test byte [edi + 0x84], 0x10
je 0x5917fd
cmp dword [edi + 0x94], 0
jne 0x5917fd
test ebx, ebx
js 0x5917bd
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0x56
jmp 0x5917e7
push edi
call fcn.00554a20
push eax
call fcn.0054f320
add esp, 8
test eax, eax
jle 0x5917fd
test ebx, ebx
js 0x5917e0
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0x5d
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
call eax
add esp, 8
test eax, eax
je 0x591965
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
test edx, edx
jle 0x59189c
cmp ebx, dword [esi + 0x4c]
jl 0x591835
mov eax, dword [ecx]
cmp edx, dword [eax + 0x10]
jne 0x591835
push 4
push dword [eax + 0x14]
push edi
call fcn.005cd7a0
add esp, 0xc
sub eax, 1
je 0x59189c
sub eax, 1
je 0x59185d
mov edx, dword [esp + 0x20]
xor eax, eax
test ebp, ebp
setg al
push eax
push edx
push edi
call fcn.00589ce0
add esp, 0xc
sub eax, 0
je 0x59185d
sub eax, 1
je 0x59189c
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
test byte [eax + 0xc], 0x20
je 0x59189c
mov eax, ebx
test ebx, ebx
jns 0x591868
mov eax, dword [esi + 0x5c]
jmp 0x59186b
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x591873
mov eax, edi
jmp 0x59187f
push eax
push dword [esi + 0x50]
call fcn.0054f330
add esp, 8
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x60], 0x1a
call eax
add esp, 8
test eax, eax
je 0x591965
cmp ebx, 1
jle 0x5918d5
mov eax, dword [edi + 0x7c]
mov ecx, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x5918dd
add eax, dword [esp + 0x1c]
cmp ecx, eax
jle 0x5918dd
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x19
call eax
add esp, 8
test eax, eax
je 0x591965
test ebx, ebx
jle 0x5918eb
mov ecx, dword [esp + 0x18]
test byte [edi + 0x84], 0x20
jne 0x5918eb
inc ecx
mov dword [esp + 0x18], ecx
test dword [edi + 0x84], 0x400
je 0x591944
mov eax, dword [edi + 0x80]
cmp eax, 0xffffffff
je 0x591937
cmp dword [esp + 0x1c], eax
jle 0x591928
test ebx, ebx
js 0x59190f
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x26
call eax
add esp, 8
test eax, eax
je 0x591965
mov eax, dword [edi + 0x80]
inc eax
xor ebp, ebp
mov dword [esp + 0x1c], eax
jmp 0x591949
mov eax, dword [esp + 0x1c]
inc eax
xor ebp, ebp
mov dword [esp + 0x1c], eax
jmp 0x591949
mov ebp, 1
inc ebx
mov dword [esp + 0x10], ebp
cmp ebx, dword [esp + 0x14]
jl 0x591280
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret