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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x539d2c
sub esp, 0x84
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x94]
cmp eax, ecx
jle 0x539a18
mov edx, dword [esp + 0x88]
movzx ebx, byte [ecx + edx]
test bl, 0x20
xchg ebp, ebx
setne bl
xchg ebp, ebx
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
inc ecx
mov esi, ebx
shr bl, 6
movzx ebx, bl
mov dword [esp + 0x3c], ebx
and esi, 0x1f
cmp esi, 0x1f
je 0x5397a2
xor edi, edi
xor edi, edi
mov dword [esp + 0x48], edi
xor edi, edi
jmp 0x539801
mov dword [esp], edx
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x90]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.00538db0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test ebx, ebx
jne 0x5399d3
cmp eax, 0x1f
jl 0x53994b
mov edx, dword [esp + 0x88]
mov esi, eax
mov edi, ebx
mov dword [esp + 0x48], ebp
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x3c]
movzx ebp, byte [esp + 0x23]
mov dword [esp + 0x38], esi
cmp eax, ecx
jle 0x5398ca
mov dword [esp + 0x34], edi
movzx edi, byte [ecx + edx]
inc ecx
xchg edi, eax
test al, 0x80
xchg edi, eax
je 0x5398c2
and edi, 0x7f
test edi, edi
je 0x539841
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 0x539ae3
mov dword [esp + 0x30], ecx
lea eax, [0x6c3da0]
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.00408970
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, [0x895c04]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
and edi, 0x7f
jmp 0x539a8b
mov dword [esp + 0x30], ecx
lea eax, [0x6bf099]
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.00408970
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, [0x895c04]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ecx
lea eax, [0x6bab2c]
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.00408970
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, [0x895c04]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
movzx eax, byte [esp + 0x23]
mov byte [esp + 0xa4], al
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ebp
add esp, 0x84
ret
lea eax, [0x687ca0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x29
lea ecx, [0x6c709d]
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, [0x895704]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], edi
xchg ebp, eax
mov byte [esp + 0xa4], al
xchg ebp, eax
mov dword [esp + 0xa8], ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
inc ebp
mov esi, dword [esp + 0x38]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x3c]
movzx ebp, byte [esp + 0x23]
mov dword [esp + 0x2c], ecx
mov ebp, dword [esp + 0x24]
cmp ebp, edi
jge 0x539c98
cmp eax, ecx
jle 0x539c1b
movzx esi, byte [edx + ecx]
inc ecx
mov dword [esp + 0x2c], ecx
mov ebx, dword [esp + 0x30]
cmp ebx, 0x800000
jge 0x539b9e
shl ebx, 8
or ebx, esi
test ebx, ebx
jne 0x539acd
mov dword [esp + 0x28], ebx
lea eax, [0x6c4eba]
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.00408970
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, [0x895bf0]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
lea eax, [0x6bb2c4]
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.00408970
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, [0x895bf0]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
lea eax, [0x6bf099]
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.00408970
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, [0x895c04]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
mov eax, dword [esp + 0x30]
cmp eax, 0x80
jl 0x539caf
movzx ebp, byte [esp + 0x23]
mov edi, eax
jmp 0x539a8b
lea eax, [0x6bc130]
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.00408970
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, [0x895bf0]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
call fcn.0045e260
jmp fcn.00539730