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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x53965d
sub esp, 0x5c
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
cmp eax, ecx
jge 0x5395cf
jae 0x539656
mov edx, dword [esp + 0x60]
movzx ebx, byte [edx + eax]
mov ebp, ebx
and ebx, 0x20
cmp bl, 0x20
sete bl
mov byte [esp + 0x23], bl
inc eax
mov esi, ebp
xchg ebp, eax
shr al, 6
xchg ebp, eax
xchg ebp, eax
movzx eax, al
xchg ebp, eax
mov dword [esp + 0x3c], ebp
and esi, 0x1f
cmp esi, 0x1f
je 0x5394be
xor edi, edi
xor edi, edi
mov dword [esp + 0x48], edi
xor edi, edi
mov dword [esp + 0x38], esi
cmp eax, ecx
jge 0x53943c
jae 0x53964f
mov dword [esp + 0x34], edi
movzx edi, byte [edx + eax]
inc eax
xchg edi, eax
test al, 0x80
xchg edi, eax
je 0x539432
and edi, 0x7f
test edi, edi
je 0x5393b0
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 0x539130
lea eax, [ebx + 1]
movzx ebx, byte [esp + 0x23]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x24]
cmp ebx, edi
jge 0x5392f0
cmp eax, ecx
jge 0x539272
jae 0x539648
lea esi, [eax + 1]
mov dword [esp + 0x2c], esi
movzx eax, byte [edx + eax]
mov ebp, dword [esp + 0x30]
cmp ebp, 0x800000
jge 0x5391f4
shl ebp, 8
or ebp, eax
test ebp, ebp
jne 0x539114
mov dword [esp + 0x28], ebp
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea eax, [0x824e6b]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0x23
lea eax, [0x8b45f0]
mov dword [esp], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.00407b00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x78], edx
movzx edx, byte [esp + 0x23]
mov byte [esp + 0x7c], dl
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x5c
ret
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea eax, [0x818d06]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0x10
lea eax, [0x8b45f0]
mov dword [esp], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.00407b00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x78], edx
movzx edx, byte [esp + 0x23]
mov byte [esp + 0x7c], dl
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x5c
ret
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [0x81d418]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0x17
lea eax, [0x8b4610]
mov dword [esp], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00407b00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x78], edx
movzx edx, byte [esp + 0x23]
mov byte [esp + 0x7c], dl
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x5c
ret
mov ecx, dword [esp + 0x30]
cmp ecx, 0x80
jl 0x539332
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0x7c], cl
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x88], eax
add esp, 0x5c
ret
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea eax, [0x819cea]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0x12
lea eax, [0x8b45f0]
mov dword [esp], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.00407b00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x78], edx
movzx edx, byte [esp + 0x23]
mov byte [esp + 0x7c], dl
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x5c
ret
mov dword [esp + 0x30], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [0x82378a]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0x21
lea eax, [0x8b4610]
mov dword [esp], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00407b00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0
movzx edx, byte [esp + 0x23]
mov byte [esp + 0x7c], dl
mov edx, dword [esp + 0x30]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x5c
ret
and edi, 0x7f
mov ecx, edi
jmp 0x5392fc
mov dword [esp + 0x30], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [0x81d418]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0x17
lea eax, [0x8b4610]
mov dword [esp], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00407b00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0
movzx edx, byte [esp + 0x23]
mov byte [esp + 0x7c], dl
mov edx, dword [esp + 0x30]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x5c
ret
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00538500
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test ecx, ecx
jne 0x539599
cmp edx, 0x1f
jl 0x539513
mov ebp, dword [esp + 0x3c]
mov esi, edx
mov edi, ecx
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov eax, ebx
movzx ebx, byte [esp + 0x23]
jmp 0x5390cd
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [0x818598]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0xf
lea eax, [0x8b4610]
mov dword [esp], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00407b00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0
movzx edx, byte [esp + 0x23]
mov byte [esp + 0x7c], dl
mov edx, dword [esp + 0x30]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x5c
ret
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0
movzx edx, byte [esp + 0x23]
mov byte [esp + 0x7c], dl
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x5c
ret
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x29
mov eax, dword [0xb91180]
test eax, eax
jne 0x53963b
lea eax, [0x827b6d]
mov dword [edi], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov byte [esp + 0x7c], 0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x80], eax
lea eax, [0x8b3870]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x5c
ret
lea eax, [0x827b6d]
call fcn.0044f0d0
jmp 0x5395fb
call fcn.004287c0
ud2
call fcn.004287c0
ud2
call fcn.004287c0
ud2
call fcn.0044d880
jmp fcn.00539060