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

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x5a0ca5
sub esp, 0x84
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x94]
cmp ecx, eax
jle 0x5a0976
jbe 0x5a0c9f
mov edx, dword [esp + 0x88]
movzx ebx, byte [eax + edx]
mov ebp, ebx
shr bl, 6
mov esi, ebp
and ebp, 0x1f
lea edi, [eax + 1]
movzx ebx, bl
mov dword [esp + 0x3c], ebx
xchg esi, eax
test al, 0x20
xchg esi, eax
xchg esi, ebx
setne bl
xchg esi, ebx
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
cmp ebp, 0x1f
je 0x5a06fc
xor eax, eax
xor eax, eax
mov dword [esp + 0x48], eax
xor eax, eax
jmp 0x5a0757
mov dword [esp], edx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
call fcn.0059fc70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x5a092d
cmp ecx, 0x1f
jl 0x5a08a5
movzx esi, byte [esp + 0x23]
mov edi, edx
mov ebp, ecx
mov dword [esp + 0x48], ebx
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x38], ebp
cmp ecx, edi
jle 0x5a0824
jbe 0x5a0c98
mov dword [esp + 0x34], eax
movzx eax, byte [edi + edx]
inc edi
test al, 0x80
je 0x5a081c
and eax, 0x7f
test eax, eax
je 0x5a079b
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
jmp 0x5a0a44
mov dword [esp + 0x30], edi
lea eax, [0x741992]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0x21
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.00409df0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa4], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa8], ecx
lea ecx, [0x7ab460]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
and eax, 0x7f
jmp 0x5a09ea
mov dword [esp + 0x30], edi
lea eax, [0x73bd73]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0x17
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00409df0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa4], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa8], ecx
lea ecx, [0x7ab460]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], edx
lea eax, [0x7370e9]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0xf
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00409df0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa4], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa8], ecx
lea ecx, [0x7ab460]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa4], cl
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ebx
add esp, 0x84
ret
nop
lea eax, [0x6f2340]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x29
lea ecx, [0x74685d]
mov dword [eax], ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 0
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xa8], ecx
lea ecx, [0x7aaeb4]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], eax
xchg esi, eax
mov byte [esp + 0xa4], al
xchg esi, eax
mov dword [esp + 0xa8], edi
mov eax, dword [esp + 0x34]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
lea ebp, [esi + 1]
movzx esi, byte [esp + 0x23]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x2c], edi
mov esi, dword [esp + 0x24]
cmp esi, eax
jge 0x5a0bff
cmp ecx, edi
jle 0x5a0b82
jbe 0x5a0c91
movzx ebp, byte [edx + edi]
inc edi
mov dword [esp + 0x2c], edi
mov ebx, dword [esp + 0x30]
cmp ebx, 0x800000
jge 0x5a0b05
shl ebx, 8
or ebx, ebp
test ebx, ebx
jne 0x5a0a2c
mov dword [esp + 0x28], ebx
lea eax, [0x7429c7]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0x23
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 0x23
call fcn.00409df0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xa0], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa4], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa8], ecx
lea ecx, [0x7ab500]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
lea eax, [0x7379f4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00409df0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa0], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa4], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa8], ecx
lea ecx, [0x7ab500]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
lea eax, [0x73bd73]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0x17
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00409df0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa0], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa4], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa8], ecx
lea ecx, [0x7ab460]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
mov eax, dword [esp + 0x30]
cmp eax, 0x80
jl 0x5a0c14
movzx esi, byte [esp + 0x23]
jmp 0x5a09ea
lea eax, [0x738a75]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0x12
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.00409df0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa0], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa4], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa8], ecx
lea ecx, [0x7ab500]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
mov eax, edi
call fcn.004684c0
mov eax, edi
call fcn.004684c0
call fcn.004684c0
nop
call fcn.00467050
jmp fcn.005a0680