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

Disassembly:
movsx ecx, byte [ebx + 1]
inc ebx
push ecx
call 0x4c1f90
add esp, 4
cmp eax, 0x48
je 0x47ae02
cmp eax, 0x57
je 0x47ad96
push 4
push 0x491e4c
push ebx
call 0x4bf695
add esp, 0xc
test eax, eax
jne 0x47aca7
add ebx, 4
mov eax, ebx
call fcn.00454270
test al, al
je 0x47ac98
push 0x10
push 0
push ebx
call 0x4c0594
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x47ae6a
push ebx
call 0x4c0196
mov dword [esp + 0x30], eax
jmp 0x47ae67
push 5
push 0x494660
push ebx
call 0x4bf695
add esp, 0xc
test eax, eax
jne 0x47ad42
push 0x1f
add ebx, 5
lea edx, [esp + 0xa4]
push ebx
push edx
call 0x4c28e0
add esp, 0xc
mov edi, 0x4918e4
lea eax, [esp + 0xa0]
mov byte [esp + 0xbf], 0
call fcn.00450bf0
test eax, eax
je 0x47acf5
mov byte [eax], 0
lea esi, [esp + 0xa0]
call 0x4ad080
cmp eax, 0xffffffff
jne 0x47ad1e
push 0x10
mov eax, esi
push 0
push eax
call 0x4c0594
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x47ae6a
mov ecx, eax
shr ecx, 8
movzx edx, al
movzx ecx, cl
shl edx, 8
shr eax, 0x10
or ecx, edx
movzx eax, al
shl ecx, 8
or ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x47ae6a
mov eax, ebx
call fcn.00454270
test al, al
je 0x47ad60
push 0x10
push 0
push ebx
call 0x4c0594
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x47ad6d
push ebx
call 0x4c0196
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jns 0x47ad7e
mov dword [esp + 0x10], 0
jmp 0x47ae6a
cmp eax, 0xff
jle 0x47ae6a
mov dword [esp + 0x10], 0xff
jmp 0x47ae6a
lea esi, [ebx + 1]
mov eax, esi
jmp 0x47ada0
mov cl, byte [eax]
cmp cl, 0x20
je 0x47adac
cmp cl, 9
jne 0x47adaf
inc eax
jmp 0x47ada0
mov cl, byte [eax]
test cl, cl
je 0x47adf6
cmp cl, 0x2d
je 0x47adbf
cmp cl, 0x2b
jne 0x47adc0
inc eax
cmp byte [eax], 0x30
jne 0x47adf6
mov cl, byte [eax + 1]
cmp cl, 0x78
je 0x47add2
cmp cl, 0x58
jne 0x47adf6
movsx ecx, byte [eax + 2]
push ecx
call 0x4c0339
dec eax
add dl, byte [ecx - 0x18]
pop ebp
push ebp
add al, 0
add esp, 4
test eax, eax
je 0x47adf6
push 0x10
push 0
push esi
call 0x4c0594
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x47ae6a
push esi
call 0x4c0196
mov dword [esp + 0x20], eax
jmp 0x47ae67
lea esi, [ebx + 1]
mov eax, esi
mov cl, byte [eax]
cmp cl, 0x20
je 0x47ae13
cmp cl, 9
jne 0x47ae16
inc eax
jmp 0x47ae07
mov cl, byte [eax]
test cl, cl
je 0x47ae5d
cmp cl, 0x2d
je 0x47ae26
cmp cl, 0x2b
jne 0x47ae27
inc eax
cmp byte [eax], 0x30
jne 0x47ae5d
mov cl, byte [eax + 1]
cmp cl, 0x78
je 0x47ae39
cmp cl, 0x58
jne 0x47ae5d
movsx edx, byte [eax + 2]
push edx
call 0x4c0339
add esp, 4
test eax, eax
je 0x47ae5d
push 0x10
push 0
push esi
call 0x4c0594
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x47ae6a
push esi
call 0x4c0196
mov dword [esp + 0x24], eax
add esp, 4
test ebx, ebx
je 0x47af0c
mov dl, byte [ebx]
test dl, dl
je 0x47af0c
lea esp, [esp]
mov ecx, 0x4918e4
mov al, 0x20
cmp dl, al
je 0x47aea9
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x47ae87
mov dl, byte [ebx + 1]
inc ebx
test dl, dl
jne 0x47ae80
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea edi, [ebx + 1]
mov eax, edi
mov edi, edi
mov cl, byte [eax]
cmp cl, 0x20
je 0x47aebc
cmp cl, 9
jne 0x47aebf
inc eax
jmp 0x47aeb0
cmp byte [eax], 0x2a
mov ebx, eax
je 0x47ac40
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
push 0
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
push edi
call 0x4ad4c0
mov esi, eax
add esp, 0x18
mov dword [esp + 0x60], esi
test esi, esi
je 0x47af0c
push 0
call dword [0x48d48c]
mov ebx, eax
mov dword [esp + 0x4c], ebx
test ebx, ebx
jne 0x47af1a
push esi
call dword [0x48d0f0]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [0x48d0f0]
xor eax, eax
cmp dword [esp + 0x38], 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x68], eax
mov byte [esp + 0xd], al
jne 0x47afa6
lea ecx, [esp + 0x8c]
push ecx
push esi
call dword [0x48d46c]
test eax, eax
je 0x47af8f
push 1
lea edx, [esp + 0x12]
push edx
mov edx, dword [esp + 0xa0]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x48]
push ecx
push edx
mov eax, ebx
call fcn.0047a200
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xb0]
add esp, 0x14
push eax
call edi
mov ecx, dword [esp + 0x98]
push ecx
call edi
push esi
call 0x4adce0
mov esi, eax
add esp, 4
mov dword [esp + 0x60], eax
test esi, esi
je 0x47af0c
push 8
lea edx, [esp + 0x12]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x48]
push ecx
push esi
mov eax, ebx
call fcn.0047a200
add esp, 0x14
mov dword [esp + 0x34], eax
test eax, eax
je 0x47b207
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov edx, dword [esp + 0x4c]
sub esi, dword [ebp + 8]
sub ebx, dword [ebp + 0xc]
push edx
inc esi
inc ebx
call dword [0x48d0b4]
mov edi, eax
mov dword [esp + 0x64], edi
test edi, edi
je 0x47b207
mov eax, dword [esp + 0x4c]
push ebx
push esi
push eax
call dword [str.TSVW]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x47b207
mov ecx, eax
push ecx
push edi
call dword [0x48d0d8]
mov dword [esp + 0x68], eax
test eax, eax
je 0x47b207
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x4c]
push 0xcc0020
push edx
push eax
push ecx
push ebx
push esi
push 0
push 0
push edi
call dword [0x48d0a4]
test eax, eax
je 0x47b207
push 8
lea edx, [esp + 0x13]
push edx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
mov eax, edi
call fcn.0047a200
mov edx, eax
add esp, 0x14
mov dword [esp + 0x20], edx
test edx, edx
je 0x47b207
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x28]
imul ecx, dword [esp + 0x48]
imul esi, dword [esp + 0x58]
cmp byte [esp + 0xe], 0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], esi
jne 0x47b0a1
cmp byte [esp + 0xf], 0
je 0x47b0de
cmp dword [esp + 0x24], 0xffffffff
je 0x47b0b0
and dword [esp + 0x24], 0xf8f8f8
xor eax, eax
test esi, esi
jle 0x47b0c2
and dword [edx + eax*4], 0xf8f8f8
inc eax
cmp eax, esi
jl 0x47b0b6
mov edi, dword [esp + 0x34]
xor eax, eax
test ecx, ecx
jle 0x47b0f9
lea esp, [esp]
and dword [edi + eax*4], 0xf8f8f8
inc eax
cmp eax, ecx
jl 0x47b0d0
jmp 0x47b0e2
mov edi, dword [esp + 0x34]
test ecx, ecx
jle 0x47b0f9
lea eax, [edi + 3]
lea esp, [esp]
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x47b0f0
mov ebx, dword [esp + 0x10]
cmp ebx, 1
jge 0x47b319
test esi, esi
jle 0x47b119
lea eax, [edx + 3]
mov ecx, esi
nop
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x47b110
xor esi, esi
mov dword [esp + 0x18], esi
cmp dword [esp + 0x50], esi
jle 0x47b507
mov ebx, dword [edi]
mov dword [esp + 0x38], ebx
nop
mov eax, dword [esp + 0x20]
lea edi, [esi*4]
cmp dword [edi + eax], ebx
je 0x47b157
mov eax, dword [esp + 0x30]
test eax, eax
je 0x47b14d
cmp dword [eax], 0
jne 0x47b157
cmp ebx, dword [esp + 0x24]
jne 0x47b305
mov ecx, dword [esp + 0x28]
mov eax, esi
cdq
idiv ecx
mov esi, dword [esp + 0x58]
sub esi, eax
cmp dword [esp + 0x48], esi
jg 0x47b301
sub ecx, edx
cmp dword [esp + 0x3c], ecx
jg 0x47b301
mov esi, dword [esp + 0x18]
xor ebx, ebx
mov byte [esp + 0xd], 1
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x44], ebx
jle 0x47b20b
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
sub edx, eax
mov byte [esp + 0xd], 1
mov ecx, esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x54], edx
lea ebx, [ebx]
mov edx, dword [eax]
mov edi, dword [esp + 0x20]
cmp dword [edi + esi*4], edx
je 0x47b1d6
cmp dword [esp + 0x30], 0
je 0x47b1cc
mov edi, dword [esp + 0x54]
cmp dword [edi + eax], 0
jne 0x47b1d6
cmp edx, dword [esp + 0x24]
jne 0x47b2f8
inc ebx
cmp ebx, dword [esp + 0x3c]
jge 0x47b1e0
inc esi
jmp 0x47b1f5
mov edx, dword [esp + 0x28]
lea esi, [edx*4]
add dword [esp + 0x40], esi
xor ebx, ebx
add ecx, edx
mov esi, ecx
mov edx, dword [esp + 0x1c]
inc edx
add eax, 4
mov dword [esp + 0x1c], edx
cmp edx, dword [esp + 0x44]
jl 0x47b1b0
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
push edx
push 0
call dword [0x48d5c4]
mov eax, dword [esp + 0x60]
mov ebx, dword [0x48d0f0]
push eax
call ebx
mov edi, dword [esp + 0x64]
test edi, edi
je 0x47b244
mov eax, dword [esp + 0x68]
test eax, eax
je 0x47b23d
push eax
push edi
call dword [0x48d0d8]
push edi
call dword [0x48d0c8]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x47b24f
push eax
call ebx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x47b260
push eax
call 0x4c05bf
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x47b271
push eax
call 0x4c05bf
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x47b282
push eax
call 0x4c05bf
add esp, 4
cmp byte [esp + 0xd], 0
je 0x47af0c
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x47b2b4
mov eax, esi
cdq
idiv dword [esp + 0x28]
push 0x18
mov eax, edx
sub eax, dword [esp + 0x74]
add eax, dword [ebp + 8]
cdq
push edx
push eax
mov eax, ecx
call fcn.004490d0
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x47b2d9
mov eax, esi
cdq
idiv dword [esp + 0x28]
push 0x18
sub eax, dword [esp + 0x78]
add eax, dword [ebp + 0xc]
cdq
push edx
push eax
mov eax, ecx
call fcn.004490d0
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4900b0
call 0x4ae8b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [esp + 0x38]
mov byte [esp + 0xd], 0
mov esi, dword [esp + 0x18]
inc esi
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x50]
jl 0x47b130
jmp 0x47b507
xor esi, esi
mov dword [esp + 0x18], esi
cmp dword [esp + 0x50], esi
jle 0x47b507
mov ecx, dword [esp + 0x28]
lea ecx, [ecx]
mov eax, esi
cdq
idiv ecx
mov edi, dword [esp + 0x58]
sub edi, eax
cmp dword [esp + 0x48], edi
jg 0x47b4f8
mov eax, ecx
sub eax, edx
cmp dword [esp + 0x3c], eax
jg 0x47b4f8
xor eax, eax
mov byte [esp + 0xd], 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], esi
cmp dword [esp + 0x44], eax
jle 0x47b20b
mov eax, dword [esp + 0x34]
lea ecx, [esi*4]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x30]
sub ecx, eax
mov byte [esp + 0xd], 1
mov dword [esp + 0x38], esi
mov edi, eax
mov dword [esp + 0x54], ecx
movzx eax, byte [edi + 2]
mov dl, byte [edi + 1]
cmp ebx, eax
jle 0x47b3a6
mov byte [esp + 0xe], 0
jmp 0x47b3ae
mov cl, al
sub cl, bl
mov byte [esp + 0xe], cl
movzx edx, dl
mov dword [esp + 0x84], edx
cmp ebx, edx
jle 0x47b3c3
mov byte [esp + 0x16], 0
jmp 0x47b3d1
mov ebx, dword [esp + 0x10]
mov cl, dl
sub cl, byte [esp + 0x10]
mov byte [esp + 0x16], cl
movzx ecx, byte [edi]
cmp ebx, ecx
jle 0x47b3df
mov byte [esp + 0x14], 0
jmp 0x47b3f0
mov dl, cl
sub dl, byte [esp + 0x10]
mov byte [esp + 0x14], dl
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x10]
mov esi, 0xff
sub esi, eax
cmp ebx, esi
jle 0x47b40a
mov eax, 0xff
mov byte [esp + 0x17], al
jmp 0x47b415
add al, bl
mov byte [esp + 0x17], al
mov eax, 0xff
mov esi, eax
sub esi, edx
cmp ebx, esi
jle 0x47b423
mov byte [esp + 0x15], al
jmp 0x47b429
add dl, bl
mov byte [esp + 0x15], dl
mov edx, eax
sub edx, ecx
cmp ebx, edx
jle 0x47b437
mov byte [esp + 0xf], al
jmp 0x47b43d
add cl, bl
mov byte [esp + 0xf], cl
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x40]
mov cl, byte [eax + esi*4 + 2]
mov dl, byte [eax + esi*4 + 1]
mov al, byte [eax + esi*4]
cmp cl, byte [esp + 0xe]
jb 0x47b474
cmp cl, byte [esp + 0x17]
ja 0x47b474
cmp dl, byte [esp + 0x16]
jb 0x47b474
cmp dl, byte [esp + 0x15]
ja 0x47b474
cmp al, byte [esp + 0x14]
jb 0x47b474
cmp al, byte [esp + 0xf]
jbe 0x47b48d
cmp dword [esp + 0x30], 0
je 0x47b485
mov eax, dword [esp + 0x54]
cmp dword [edi + eax], 0
jne 0x47b48d
mov ecx, dword [esp + 0x24]
cmp dword [edi], ecx
jne 0x47b4e7
mov eax, dword [esp + 0x5c]
inc eax
mov dword [esp + 0x5c], eax
cmp eax, dword [esp + 0x3c]
jge 0x47b4a3
inc esi
mov dword [esp + 0x40], esi
jmp 0x47b4c8
mov eax, dword [esp + 0x28]
lea ecx, [eax*4]
add dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x38]
add ecx, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x1c]
inc eax
add edi, 4
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x44]
jge 0x47b207
mov ebx, dword [esp + 0x10]
jmp 0x47b394
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov byte [esp + 0xd], 0
inc esi
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x50]
jl 0x47b330
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
call 0x4ae8b0
jmp 0x47b20b