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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x506f94
add esp, 0xffffff80
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x90]
cmp ecx, eax
jle 0x506c6e
jbe 0x506f8e
mov edx, dword [esp + 0x84]
movzx ebx, byte [eax + edx]
test bl, 0x20
xchg ebp, ebx
setne bl
xchg ebp, ebx
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
lea esi, [eax + 1]
mov edi, ebx
shr bl, 6
movzx ebx, bl
mov dword [esp + 0x38], ebx
and edi, 0x1f
cmp edi, 0x1f
je 0x506a03
xor eax, eax
xor eax, eax
mov dword [esp + 0x44], eax
xor eax, eax
jmp 0x506a64
mov dword [esp], edx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
call fcn.00505f00
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 0x506c2c
cmp eax, 0x1f
jl 0x506baa
mov edx, dword [esp + 0x84]
mov esi, ecx
mov edi, eax
mov eax, ebx
mov dword [esp + 0x44], ebp
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x38]
movzx ebp, byte [esp + 0x23]
mov dword [esp + 0x34], edi
cmp ecx, esi
jle 0x506b2c
jbe 0x506f87
movzx ebp, byte [esi + edx]
inc esi
xchg ebp, eax
test al, 0x80
xchg ebp, eax
je 0x506b24
and ebp, 0x7f
test ebp, ebp
je 0x506aa6
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
jmp 0x506d3d
mov dword [esp + 0x30], esi
lea eax, [0x543bd1]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x21
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.00408b90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa4], ecx
lea ecx, [0x56fa64]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
and ebp, 0x7f
jmp 0x506cde
mov dword [esp + 0x30], esi
lea eax, [0x541216]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0x17
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00408b90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa4], ecx
lea ecx, [0x56fa64]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
lea eax, [0x53e7f0]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0xf
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00408b90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa4], ecx
lea ecx, [0x56fa64]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0
movzx eax, byte [esp + 0x23]
mov byte [esp + 0xa0], al
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ebp
sub esp, 0xffffff80
ret
lea eax, [0x52cea0]
mov dword [esp], eax
call fcn.0040b1d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x29
lea ecx, [0x5454d1]
mov dword [eax], ecx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov byte [esp + 0xa0], 0
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xa4], ecx
lea ecx, [0x56f938]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], ebp
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
lea ebx, [edi + 1]
mov edi, dword [esp + 0x84]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x24]
cmp edi, ebp
jge 0x506eef
cmp ecx, esi
jle 0x506e75
jbe 0x506f80
movzx ebx, byte [edx + esi]
inc esi
mov dword [esp + 0x2c], esi
mov edx, dword [esp + 0x30]
cmp edx, 0x800000
jge 0x506dfb
shl edx, 8
or edx, ebx
test edx, edx
jne 0x506d1c
mov dword [esp + 0x28], edx
lea eax, [0x5444f4]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0x23
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0x23
call fcn.00408b90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x9c], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa4], ecx
lea ecx, [0x56fa50]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
lea eax, [0x53eb94]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00408b90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x9c], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa4], ecx
lea ecx, [0x56fa50]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
lea eax, [0x541216]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0x17
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00408b90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x9c], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa4], ecx
lea ecx, [0x56fa64]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov ecx, dword [esp + 0x30]
cmp ecx, 0x80
jl 0x506f06
mov edi, dword [esp + 0x34]
mov ebp, ecx
jmp 0x506cde
lea eax, [0x53f417]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0x12
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.00408b90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x9c], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa4], ecx
lea ecx, [0x56fa50]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov eax, esi
call fcn.0045f140
mov eax, esi
call fcn.0045f140
call fcn.0045f140
nop
call fcn.0045dcf0
jmp fcn.00506990