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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b5d50
sub esp, 0x7c
lea edi, [esp + 0x88]
xor eax, eax
call fcn.0046cb2b
lea edi, [esp + 0x3c]
call fcn.0046cb2b
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x4b5627
mov edx, dword [esp + 0x80]
movzx ebx, byte [edx]
cmp bl, 0x4a
jne 0x4b55ea
lea ebx, [ecx - 1]
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
add edx, ebx
cmp ecx, 1
je 0x4b55dd
mov dword [esp + 0x64], ebp
mov dword [esp + 0x74], edx
xor ebx, ebx
xor esi, esi
jmp 0x4b5c6e
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x4b5c1a
cmp bl, 0x4d
jne 0x4b5621
lea ebx, [ecx - 1]
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
add edx, ebx
cmp ecx, 1
jne 0x4b5610
xor eax, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
jmp 0x4b5906
mov dword [esp + 0x64], ebp
mov dword [esp + 0x70], edx
xor ebx, ebx
xor esi, esi
jmp 0x4b5845
xor ebx, ebx
xor ebp, ebp
jmp 0x4b565b
lea edi, [esp + 0x88]
call fcn.0046cb2b
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 0
add esp, 0x7c
ret
xor eax, eax
mov ebp, ebx
mov ebx, edi
cmp ecx, ebx
jle 0x4b56ff
movzx esi, byte [ebx + edx]
cmp esi, 0x80
jge 0x4b5674
lea edi, [ebx + 1]
jmp 0x4b56aa
mov dword [esp + 0x50], ebx
mov dword [esp + 0x24], ebp
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00463f10
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x24]
lea eax, [esi - 0x30]
cmp eax, 9
ja 0x4b56cc
lea ebx, [ebp + ebp*4]
lea ebx, [esi + ebx*2 - 0x30]
cmp ebx, 0x16d
jle 0x4b5655
xor eax, eax
xor ecx, ecx
xor ebp, ebp
xor edx, edx
jmp 0x4b5716
test ebx, ebx
je 0x4b56d4
test ebp, ebp
jge 0x4b56de
xor eax, eax
xor ecx, ecx
xor ebp, ebp
xor edx, edx
jmp 0x4b5716
cmp ecx, ebx
jb 0x4b5831
sub ecx, ebx
mov eax, ecx
neg ecx
sar ecx, 0x1f
and ebx, ecx
lea ecx, [edx + ebx]
mov edx, ecx
mov ecx, eax
mov eax, 1
jmp 0x4b5716
test ebp, ebp
jge 0x4b570d
xor eax, eax
xor ecx, ecx
xor ebp, ebp
xor edx, edx
jmp 0x4b5716
mov eax, 1
xor ecx, ecx
xor edx, edx
test al, al
je 0x4b5728
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], ebp
jmp 0x4b5758
lea edi, [esp + 0x88]
xor eax, eax
call fcn.0046cb2b
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 0
add esp, 0x7c
ret
test ecx, ecx
je 0x4b5761
cmp byte [edx], 0x2f
je 0x4b579b
mov dword [esp + 0x64], ecx
mov dword [esp + 0x4c], 0x1c20
lea edi, [esp + 0x88]
lea esi, [esp + 0x3c]
call fcn.0046d00e
mov dword [esp + 0x9c], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 0xa0], eax
mov byte [esp + 0xa4], 1
add esp, 0x7c
ret
lea eax, [ecx - 1]
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004b5090
movzx eax, byte [esp + 0x14]
test al, al
je 0x4b5801
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
lea edi, [esp + 0x88]
lea esi, [esp + 0x3c]
call fcn.0046d00e
mov eax, dword [esp + 0x78]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
mov byte [esp + 0xa4], 1
add esp, 0x7c
ret
lea edi, [esp + 0x88]
xor eax, eax
call fcn.0046cb2b
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 0
add esp, 0x7c
ret
mov eax, ebx
call fcn.0046c970
mov ecx, dword [esp + 0x84]
mov esi, ebx
mov ebx, eax
xor eax, eax
cmp ebx, ebp
jge 0x4b58ef
movzx edi, byte [ebx + edx]
cmp edi, 0x80
jge 0x4b585e
lea eax, [ebx + 1]
jmp 0x4b5895
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x30], esi
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00463f10
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x30]
lea ecx, [edi - 0x30]
cmp ecx, 9
ja 0x4b58b3
lea ebx, [esi + esi*4]
lea ebx, [edi + ebx*2 - 0x30]
cmp ebx, 0xc
jle 0x4b5838
xor eax, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
jmp 0x4b5906
test ebx, ebx
je 0x4b58bb
test esi, esi
jg 0x4b58c5
xor eax, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
jmp 0x4b5906
cmp ebx, ebp
ja 0x4b5c11
mov ebp, dword [esp + 0x84]
sub ebp, ebx
dec ebp
mov eax, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebx, ebp
add edx, ebx
mov ecx, eax
mov eax, 1
jmp 0x4b5906
test esi, esi
jg 0x4b58fd
xor eax, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
jmp 0x4b5906
mov eax, 1
xor ecx, ecx
xor edx, edx
test al, al
je 0x4b594a
test ecx, ecx
je 0x4b594a
cmp byte [edx], 0x2e
jne 0x4b594a
mov dword [esp + 0x20], esi
lea ebx, [ecx - 1]
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
add edx, ebx
cmp ecx, 1
jne 0x4b5938
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x4b5a49
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], edx
mov dword [esp + 0x1c], ecx
xor eax, eax
xor ebx, ebx
jmp 0x4b5984
lea edi, [esp + 0x88]
xor eax, eax
call fcn.0046cb2b
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 0
add esp, 0x7c
ret
mov ecx, dword [esp + 0x1c]
mov eax, esi
mov esi, dword [esp + 0x20]
cmp eax, ebp
jge 0x4b5a32
movzx edi, byte [eax + edx]
cmp edi, 0x80
jge 0x4b599d
lea esi, [eax + 1]
jmp 0x4b59d1
mov dword [esp + 0x58], eax
mov dword [esp + 0x2c], ebx
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.00463f10
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x64]
lea ecx, [edi - 0x30]
cmp ecx, 9
ja 0x4b59f3
lea ebx, [ebx + ebx*4]
lea ebx, [edi + ebx*2 - 0x30]
cmp ebx, 5
jle 0x4b597a
mov esi, dword [esp + 0x20]
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x4b5a49
test eax, eax
je 0x4b59fb
test ebx, ebx
jg 0x4b5a09
mov esi, dword [esp + 0x20]
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x4b5a49
cmp eax, ebp
ja 0x4b5c0a
mov ebp, dword [esp + 0x1c]
sub ebp, eax
dec ebp
mov ecx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add edx, eax
mov esi, dword [esp + 0x20]
mov eax, 1
jmp 0x4b5a49
test ebx, ebx
jg 0x4b5a40
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x4b5a49
mov eax, 1
xor ecx, ecx
xor edx, edx
test al, al
je 0x4b5a91
test ecx, ecx
je 0x4b5a91
cmp byte [edx], 0x2e
jne 0x4b5a91
lea ebp, [ecx - 1]
mov eax, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add edx, ebp
cmp ecx, 1
je 0x4b5a87
mov dword [esp + 0x38], ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x18], ecx
xor ebp, ebp
xor edi, edi
jmp 0x4b5b20
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebp, ebp
jmp 0x4b5ac1
lea edi, [esp + 0x88]
xor eax, eax
call fcn.0046cb2b
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 0
add esp, 0x7c
ret
test al, al
je 0x4b5ae0
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], esi
mov edx, ebp
jmp 0x4b5758
lea edi, [esp + 0x88]
xor eax, eax
call fcn.0046cb2b
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 0
add esp, 0x7c
ret
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edi, ebp
mov ebp, ebx
mov ebx, dword [esp + 0x38]
cmp ebp, eax
jge 0x4b5be0
movzx esi, byte [ebp + edx]
cmp esi, 0x80
jge 0x4b5b3a
lea ebx, [ebp + 1]
jmp 0x4b5b6e
mov dword [esp + 0x54], ebp
mov dword [esp + 0x28], edi
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00463f10
mov esi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x54]
mov edi, dword [esp + 0x28]
lea ecx, [esi - 0x30]
cmp ecx, 9
ja 0x4b5b97
lea ebp, [edi + edi*4]
lea ebp, [esi + ebp*2 - 0x30]
cmp ebp, 6
jle 0x4b5b10
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebp, ebp
jmp 0x4b5ac1
test ebp, ebp
je 0x4b5b9f
test edi, edi
jge 0x4b5bb4
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebp, ebp
jmp 0x4b5ac1
cmp ebp, eax
ja 0x4b5c01
mov eax, dword [esp + 0x18]
sub eax, ebp
lea ecx, [eax - 1]
mov eax, ecx
neg eax
sar eax, 0x1f
and ebp, eax
add ebp, edx
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
mov eax, 1
mov edx, edi
jmp 0x4b5ac1
test edi, edi
jge 0x4b5bf1
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebp, ebp
jmp 0x4b5ac1
mov eax, 1
xor ecx, ecx
mov edx, edi
xor ebp, ebp
jmp 0x4b5ac1
mov ecx, eax
mov eax, ebp
call fcn.0046c970
mov ecx, ebp
call fcn.0046c970
mov eax, ebx
mov ecx, ebp
call fcn.0046c970
test cl, cl
je 0x4b5c33
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], edx
mov ecx, ebx
mov edx, ebp
jmp 0x4b5758
lea edi, [esp + 0x88]
call fcn.0046cb2b
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 0
add esp, 0x7c
ret
mov ecx, dword [esp + 0x84]
mov esi, ebx
mov ebx, eax
xor eax, eax
cmp ebx, ebp
jge 0x4b5d25
movzx edi, byte [ebx + edx]
cmp edi, 0x80
jge 0x4b5c87
lea eax, [ebx + 1]
jmp 0x4b5cbe
mov dword [esp + 0x60], ebx
mov dword [esp + 0x34], esi
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00463f10
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x34]
lea ecx, [edi - 0x30]
cmp ecx, 9
ja 0x4b5ce4
lea ebx, [esi + esi*4]
lea ebx, [edi + ebx*2 - 0x30]
cmp ebx, 0x16d
jle 0x4b5c61
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x4b5c1a
test ebx, ebx
je 0x4b5cec
test esi, esi
jg 0x4b5cfb
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x4b5c1a
cmp ebx, ebp
ja 0x4b5d46
mov eax, dword [esp + 0x84]
sub eax, ebx
dec eax
mov ecx, eax
neg eax
sar eax, 0x1f
and ebx, eax
lea ebp, [ebx + edx]
xor eax, eax
mov edx, esi
mov ebx, ecx
mov ecx, 1
jmp 0x4b5c1a
test esi, esi
jg 0x4b5d36
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x4b5c1a
mov ecx, 1
mov edx, esi
xor ebx, ebx
xor ebp, ebp
jmp 0x4b5c1a
mov eax, ebx
mov ecx, ebp
call fcn.0046c970
nop
call fcn.0046b490
jmp fcn.004b5570