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

Disassembly:
push ebx
sub esp, 0x18
call fcn.005a34b0
add dword [eax + 4], 1
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.005a34f0
lea ebx, [eax + 0x40]
mov dword [eax], 1
mov dword [esp], ebx
call fcn.005877a0
mov dword [esp], ebx
call fcn.005a30f0
call fcn.005a29e0
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0xcc
lea eax, [esp + 0x5c]
mov ebp, dword [esp + 0xec]
mov edi, dword [esp + 0xe8]
mov dword [esp + 0x74], 0x5a35f0
mov dword [esp], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x78], 0x5a476c
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], 0x5a3d21
mov dword [esp + 0x84], esp
call fcn.005875b0
cmp dword [esp + 0xe0], 1
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
jne 0x5a36e0
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, 0
add edi, 0xbcd4d500
adc ebp, 0xb8b1aabc
cmp dword [esp + 0xe0], edi
mov dword [esp + 0x38], edi
sbb eax, ebp
mov dword [esp + 0x3c], ebp
setae byte [esp + 0x49]
cmp dword [esp + 0xe4], 6
movzx ecx, byte [esp + 0x49]
sete al
and al, cl
mov byte [esp + 0x4a], al
je 0x5a3708
mov eax, dword [esp + 0xf0]
mov edi, dword [eax - 0x18]
mov eax, dword [eax - 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xf0]
mov eax, dword [eax - 0xc]
mov dword [esp + 0x40], eax
test eax, eax
jne 0x5a3818
mov eax, dword [esp + 0xf0]
mov dword [esp], eax
call fcn.005a3170
nop
mov dword [esp + 0x18], 3
lea eax, [esp + 0x5c]
mov dword [esp], eax
call fcn.00587640
mov eax, dword [esp + 0x18]
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp], eax
call fcn.00587750
mov dword [esp + 0x34], eax
test eax, eax
je 0x5a3908
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0xf4]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x60], 0xffffffff
call fcn.00595a70
mov edx, dword [esp + 0xf4]
mov dword [esp + 0x18], eax
movzx eax, byte [esp + 0xbc]
mov byte [esp + 0x4b], al
mov dword [esp + 0x4c], eax
call fcn.00595c20
mov dword [esp + 0x50], eax
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf4]
mov dword [esp], eax
call fcn.00587710
cmp dword [esp + 0xa0], 1
sbb eax, 0
mov dword [esp + 0x30], eax
test eax, eax
js 0x5a3908
jne 0x5a3898
mov eax, dword [esp + 0xe4]
and eax, 1
je 0x5a3a33
xor edi, edi
xor ebp, ebp
mov ecx, dword [esp + 0x38]
mov eax, 1
mov ebx, dword [esp + 0x3c]
cmp eax, ecx
mov eax, 0
sbb eax, ebx
jb 0x5a3806
mov eax, dword [esp + 0xf0]
mov dword [eax - 0x18], edi
mov edi, dword [esp + 0x34]
mov dword [eax - 0x14], ebp
mov dword [eax - 0x10], edi
mov edi, dword [esp + 0xf0]
mov eax, dword [esp + 0x9c]
mov dword [edi - 8], eax
mov eax, edi
mov edi, dword [esp + 0x30]
mov dword [eax - 0xc], edi
mov dword [esp + 0x18], 6
jmp 0x5a36e8
mov dword [esp + 0x30], edi
test edi, edi
js 0x5a3a59
lea esi, [esi]
mov eax, dword [esp + 0xf0]
mov dword [esp + 4], 0
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 8], eax
mov eax, dword [esp + 0xf4]
mov dword [esp], eax
call fcn.005876e0
mov eax, dword [esp + 0x30]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [esp + 0xf4]
mov dword [esp], eax
call fcn.005876e0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf4]
mov dword [esp], eax
call fcn.00587730
mov dword [esp + 0x18], 7
jmp 0x5a36e8
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
lea esi, [esi]
movzx ebx, byte [eax]
add eax, 1
mov edx, ebx
and edx, 0x7f
shl edx, cl
add ecx, 7
or edi, edx
test bl, bl
js 0x5a38a8
xor esi, esi
xor ecx, ecx
lea esi, [esi]
movzx ebx, byte [eax]
add eax, 1
mov edx, ebx
and edx, 0x7f
shl edx, cl
add ecx, 7
or esi, edx
test bl, bl
js 0x5a38c8
sub ebp, 1
jne 0x5a38a0
lea eax, [edi + 1]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x40], eax
test esi, esi
jne 0x5a3915
test eax, eax
je 0x5a3908
test byte [esp + 0xe4], 1
je 0x5a3828
lea esi, [esi]
mov dword [esp + 0x18], 8
jmp 0x5a36e8
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0xb8]
test edx, edx
je 0x5a3908
lea ebp, [eax + esi - 1]
test ebp, ebp
je 0x5a3cc9
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x54], 0x5a88f8
and eax, 8
mov dword [esp + 0x58], eax
jne 0x5a396b
mov esi, dword [esp + 0x38]
mov eax, 1
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x54], 0x5a890c
cmp eax, esi
mov eax, dword [esp + 0x30]
sbb eax, edi
jae 0x5a3c90
mov dword [esp + 0x2c], ebp
nop
mov ebx, dword [esp + 0x2c]
xor esi, esi
xor ecx, ecx
lea esi, [esi]
nop
movzx edx, byte [ebx]
add ebx, 1
mov eax, edx
and eax, 0x7f
shl eax, cl
add ecx, 7
or esi, eax
test dl, dl
js 0x5a3980
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], esi
cmp ecx, 0x1f
ja 0x5a39b7
and edx, 0x40
je 0x5a39b7
mov eax, 1
shl eax, cl
neg eax
or esi, eax
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x44], eax
lea esi, [esi]
nop
movzx ebx, byte [edx]
add edx, 1
mov eax, ebx
and eax, 0x7f
shl eax, cl
add ecx, 7
or esi, eax
test bl, bl
js 0x5a39d0
mov dword [esp + 0x24], esi
cmp ecx, 0x1f
ja 0x5a3ab0
and ebx, 0x40
je 0x5a3ab0
mov eax, 1
shl eax, cl
neg eax
or esi, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], esi
test eax, eax
jne 0x5a3ae0
mov byte [esp + 0x4a], 1
lea esi, [esi]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
add eax, edi
mov dword [esp + 0x2c], eax
jmp 0x5a3970
test byte [esp + 0xe4], 8
jne 0x5a3a54
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
cmp dword [esp + 0xe0], edi
sbb eax, ebp
jae 0x5a36d0
call fcn.005a29e0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0xf4]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x60], 0xffffffff
call fcn.00595a70
movzx eax, byte [esp + 0xbc]
mov edx, dword [esp + 0xf4]
mov dword [esp + 0x18], eax
call fcn.00595c20
mov edx, dword [esp + 0xf4]
mov eax, dword [esp + 0x18]
call fcn.00595c20
mov edi, dword [esp + 0xf0]
mov dword [edi - 0xc], eax
jmp 0x5a3828
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x5a3ae0
mov byte [esp + 0x4a], 1
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x5a3a20
cmp byte [esp + 0x4a], 0
jne 0x5a38f6
jmp 0x5a3908
mov edi, dword [esp + 0x18]
test edi, edi
jg 0x5a3b90
mov esi, dword [esp + 0x58]
test esi, esi
sete al
test byte [esp + 0x49], al
je 0x5a3b07
mov ebx, dword [esp + 0x54]
test ebx, ebx
jne 0x5a3c54
mov edx, dword [esp + 0x18]
xor esi, esi
xor ecx, ecx
not edx
add edx, dword [esp + 0xb4]
lea esi, [esi]
nop
movzx ebx, byte [edx]
add edx, 1
mov eax, ebx
and eax, 0x7f
shl eax, cl
add ecx, 7
or esi, eax
test bl, bl
js 0x5a3b20
test esi, esi
jne 0x5a3abd
mov eax, dword [esp + 0xe4]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
and eax, 1
jne 0x5a3cbc
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov edx, 1
cmp edx, ecx
sbb eax, ebx
jb 0x5a3b71
mov eax, dword [esp + 0x58]
test eax, eax
je 0x5a3818
mov edx, dword [esp + 0x18]
test edx, edx
js 0x5a3d07
mov dword [esp + 0x30], edi
jmp 0x5a3828
movzx eax, byte [esp + 0x4b]
cmp al, 0xff
je 0x5a3c4d
and eax, 7
cmp al, 2
je 0x5a3c28
jbe 0x5a3c33
cmp al, 3
je 0x5a3c3b
cmp al, 4
jne 0x5a3d14
mov eax, dword [esp + 0x18]
lea ecx, [eax*8]
neg ecx
lea eax, [esp + 0xa4]
mov edx, dword [esp + 0x50]
add ecx, dword [esp + 0xb4]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
call fcn.00595cd0
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x5a3b3a
mov edx, dword [esp + 0x54]
test edx, edx
je 0x5a3abd
lea ecx, [esp + 0x9c]
call fcn.00595a10
test al, al
je 0x5a3abd
jmp 0x5a3b3a
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax]
neg ecx
jmp 0x5a3bcb
test al, al
jne 0x5a3d14
mov eax, dword [esp + 0x18]
lea ecx, [eax*4]
neg ecx
jmp 0x5a3bcb
xor ecx, ecx
jmp 0x5a3bcb
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x60], 0xffffffff
mov edx, dword [esp + 0x54]
mov dword [esp], eax
lea eax, [esp + 0xa8]
call fcn.00595b40
test al, al
jne 0x5a3abd
jmp 0x5a3b3a
mov eax, dword [esp + 0xf0]
mov edi, dword [esp + 0xf0]
add eax, 0x20
test byte [edi], 1
je 0x5a3ca9
mov eax, dword [edi - 0x30]
mov dword [esp + 0x9c], eax
mov eax, dword [eax - 0x50]
mov dword [esp + 0x54], eax
jmp 0x5a396b
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], eax
jmp 0x5a37c0
mov edi, dword [esp + 0xe4]
and edi, 1
jne 0x5a3908
test byte [esp + 0xe4], 8
jne 0x5a3b7d
mov ecx, dword [esp + 0x38]
mov eax, 1
mov ebx, dword [esp + 0x3c]
cmp eax, ecx
mov eax, dword [esp + 0x30]
sbb eax, ebx
jb 0x5a3b7d
jmp 0x5a3828
mov dword [esp + 0x60], 1
call fcn.005a1ed0
mov dword [esp + 0x60], 0xffffffff
call fcn.005942d8
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.005a30f0
jmp 0x5a3a54