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

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x474ff0
sub esp, 0x68
mov edx, dword [esp + 0x70]
test edx, edx
jle 0x47496f
mov ebx, dword [esp + 0x6c]
movzx ebp, byte [ebx]
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x47485a
mov eax, 1
xor ecx, ecx
jmp 0x474871
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
jne 0x47486d
mov eax, 1
mov ecx, 1
jmp 0x474871
xor eax, eax
xor ecx, ecx
lea ebp, [eax + 2]
cmp edx, ebp
jle 0x474901
cmp edx, eax
jbe 0x474fe8
lea esi, [ebx + eax]
cmp byte [esi], 0x30
jne 0x4748e3
lea esi, [eax + 1]
cmp edx, esi
jbe 0x474fdf
movzx esi, byte [ebx + eax + 1]
or esi, 0x20
xchg esi, eax
cmp al, 0x78
xchg esi, eax
jne 0x4748c5
mov eax, 0x10
mov esi, 0x10
mov edi, 0x70
mov eax, 1
mov byte [esp + 0x13], al
mov eax, 0x10
jmp 0x47491d
mov ebp, eax
mov eax, 0x13
mov esi, 0xa
mov edi, 0x65
xor eax, eax
mov byte [esp + 0x13], al
mov eax, 0x13
jmp 0x47491d
mov ebp, eax
mov eax, 0x13
mov esi, 0xa
mov edi, 0x65
xor eax, eax
mov byte [esp + 0x13], al
mov eax, 0x13
jmp 0x47491d
mov ebp, eax
mov eax, 0x13
mov esi, 0xa
mov edi, 0x65
xor eax, eax
mov byte [esp + 0x13], al
mov eax, 0x13
mov dword [esp + 0x24], esi
mov byte [esp + 0x12], cl
xchg edi, eax
mov byte [esp + 0x10], al
xchg edi, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x60], eax
xor eax, eax
mov byte [esp + 0xf], al
xor eax, eax
mov byte [esp + 0xe], al
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x20], eax
xor eax, eax
mov byte [esp + 0xd], al
xor eax, eax
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x60]
jmp 0x4749e7
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x7c], 0
mov byte [esp + 0x80], 0
mov byte [esp + 0x81], 0
mov byte [esp + 0x82], 0
mov dword [esp + 0x84], 0
mov byte [esp + 0x88], 0
add esp, 0x68
ret
inc ebp
movzx ecx, byte [esp + 0x12]
xchg edi, eax
mov byte [esp + 0xf], al
xchg edi, eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x3c], edx
movzx edi, byte [esp + 0x10]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
cmp edx, ebp
jle 0x474c29
jbe 0x474fd6
movzx ecx, byte [ebx + ebp]
cmp cl, 0x5f
jne 0x474a25
mov ecx, edi
movzx edi, byte [esp + 0xf]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
mov ecx, 1
mov byte [esp + 0xd], cl
movzx ecx, byte [esp + 0x10]
jmp 0x4749b6
cmp cl, 0x2e
jne 0x474a71
mov ecx, edi
movzx edi, byte [esp + 0xe]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x474c30
movzx edi, byte [esp + 0xf]
mov edi, 1
xchg edi, eax
mov byte [esp + 0xe], al
xchg edi, eax
mov edi, dword [esp + 0x18]
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edi
movzx edi, byte [esp + 0xf]
mov eax, dword [esp + 0x40]
jmp 0x4749b6
mov dword [esp + 0x34], ebp
lea edi, [ecx - 0x30]
xchg edi, eax
cmp al, 9
xchg edi, eax
ja 0x474b71
cmp cl, 0x30
jne 0x474ac1
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x474ac5
mov edi, dword [esp + 0x20]
dec edi
movzx ecx, byte [esp + 0x10]
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edi
mov edi, 1
movzx ecx, byte [esp + 0x10]
jmp 0x4749b6
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
cmp ebp, eax
jge 0x474b15
mov eax, dword [esp + 0x3c]
mul esi
xor ebx, ebx
mov ebp, dword [esp + 0x3c]
imul ebp, ebx
mov ebx, dword [esp + 0x38]
imul ebx, esi
add ebx, edx
add ebx, ebp
xchg edi, eax
movzx ebp, al
xchg edi, eax
mov edi, dword [esp + 0x14]
inc edi
add eax, ebp
adc ebx, 0
mov edx, dword [esp + 0x70]
mov esi, eax
mov dword [esp + 0x3c], ebx
mov ebp, edi
movzx ecx, byte [esp + 0x11]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
jmp 0x474b38
cmp cl, 0x30
setne cl
mov edi, esi
movzx esi, byte [esp + 0x11]
or ecx, esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
inc ebx
mov edi, 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x14], ebp
mov byte [esp + 0x11], cl
movzx ecx, byte [esp + 0x10]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x24]
mov edi, 1
jmp 0x4749b6
xor edi, edi
test edi, edi
xchg edi, ebx
sete bl
xchg edi, ebx
cmp esi, 0x10
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, edi
xchg esi, eax
test al, al
xchg esi, eax
je 0x474c19
or ecx, 0x20
cmp cl, 0x61
jb 0x474c19
cmp cl, 0x66
ja 0x474c19
mov esi, dword [esp + 0x14]
cmp esi, eax
jge 0x474bd8
mov edi, dword [esp + 0x38]
shl edi, 4
mov ebx, dword [esp + 0x3c]
shl ebx, 4
mov ebp, dword [esp + 0x3c]
shr ebp, 0x1c
or edi, ebp
lea ebp, [ecx - 0x57]
xchg ebp, eax
movzx eax, al
xchg ebp, eax
inc esi
add ebx, ebp
adc edi, 0
mov ebp, dword [esp + 0x34]
mov ecx, ebx
mov ebx, dword [esp + 0x6c]
jmp 0x474bed
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov ecx, 1
mov byte [esp + 0x11], cl
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x1c]
movzx ecx, byte [esp + 0x10]
mov esi, dword [esp + 0x24]
mov edi, 1
jmp 0x4749b6
movzx ecx, byte [esp + 0x10]
mov esi, dword [esp + 0x24]
movzx edi, byte [esp + 0xe]
jmp 0x474c30
mov ecx, edi
movzx edi, byte [esp + 0xe]
mov eax, ebx
movzx ebx, byte [esp + 0xf]
test bl, bl
je 0x474e15
xchg edi, eax
test al, al
xchg edi, eax
je 0x474c4b
mov ebx, dword [esp + 0x20]
jmp 0x474c4f
mov ebx, dword [esp + 0x18]
xor edi, edi
test edi, edi
xchg edi, ebx
sete bl
xchg edi, ebx
cmp esi, 0x10
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, edi
xchg esi, eax
test al, al
xchg esi, eax
je 0x474c7a
shl ebx, 2
mov edi, dword [esp + 0x14]
shl edi, 2
cmp edx, ebp
jmp 0x474c80
cmp edx, ebp
mov edi, dword [esp + 0x14]
jle 0x474db6
cmp edx, ebp
jbe 0x474fcd
mov dword [esp + 0x14], edi
movzx edi, byte [eax + ebp]
or edi, 0x20
xchg edi, eax
cmp cl, al
xchg edi, eax
jne 0x474dac
lea esi, [ebp + 1]
cmp edx, esi
jle 0x474d5d
jbe 0x474fc4
movzx edi, byte [eax + ebp + 1]
xchg edi, eax
cmp al, 0x2b
xchg edi, eax
jne 0x474ccc
add ebp, 2
mov esi, ebp
mov ecx, 1
jmp 0x474ce2
xchg edi, eax
cmp al, 0x2d
xchg edi, eax
jne 0x474cdd
lea esi, [ebp + 2]
mov ecx, 0xffffffff
jmp 0x474ce2
mov ecx, 1
cmp edx, esi
jle 0x474d0e
jbe 0x474fbb
movzx ebp, byte [eax + esi]
xchg ebp, eax
cmp al, 0x30
xchg ebp, eax
jb 0x474d0e
xchg ebp, eax
cmp al, 0x39
xchg ebp, eax
ja 0x474d0e
mov dword [esp + 0x28], ebx
movzx ebp, byte [esp + 0xd]
xor edi, edi
jmp 0x474f6d
mov eax, dword [esp + 0x38]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], 0
movzx eax, byte [esp + 0x12]
mov byte [esp + 0x80], al
movzx eax, byte [esp + 0x11]
mov byte [esp + 0x81], al
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x82], al
mov dword [esp + 0x84], esi
mov byte [esp + 0x88], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x38]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], 0
movzx eax, byte [esp + 0x12]
mov byte [esp + 0x80], al
movzx eax, byte [esp + 0x11]
mov byte [esp + 0x81], al
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x82], al
mov dword [esp + 0x84], esi
mov byte [esp + 0x88], 0
add esp, 0x68
ret
xchg esi, eax
test al, al
xchg esi, eax
mov edi, dword [esp + 0x14]
jmp 0x474dba
xchg esi, eax
test al, al
xchg esi, eax
jne 0x474dc6
movzx ecx, byte [esp + 0xd]
jmp 0x474e64
mov eax, dword [esp + 0x38]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], 0
movzx eax, byte [esp + 0x12]
mov byte [esp + 0x80], al
movzx eax, byte [esp + 0x11]
mov byte [esp + 0x81], al
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x82], al
mov dword [esp + 0x84], ebp
mov byte [esp + 0x88], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x38]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], 0
movzx eax, byte [esp + 0x12]
mov byte [esp + 0x80], al
movzx eax, byte [esp + 0x11]
mov byte [esp + 0x81], al
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x82], al
mov dword [esp + 0x84], ebp
mov byte [esp + 0x88], 0
add esp, 0x68
ret
mov esi, dword [esp + 0x38]
test esi, esi
xchg esi, ebx
setne bl
xchg esi, ebx
mov eax, dword [esp + 0x3c]
test eax, eax
setne al
or esi, eax
xchg esi, eax
test al, al
xchg esi, eax
je 0x474e86
sub ebx, edi
jmp 0x474e88
xor ebx, ebx
test cl, cl
je 0x474f16
cmp edx, ebp
jb 0x474f61
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.00478590
movzx eax, byte [esp + 8]
test al, al
je 0x474ec3
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
jmp 0x474f16
mov eax, dword [esp + 0x38]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x7c], eax
movzx eax, byte [esp + 0x12]
mov byte [esp + 0x80], al
movzx eax, byte [esp + 0x11]
mov byte [esp + 0x81], al
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x82], al
mov eax, dword [esp + 0x34]
mov dword [esp + 0x84], eax
mov byte [esp + 0x88], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x38]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], ebx
movzx eax, byte [esp + 0x12]
mov byte [esp + 0x80], al
movzx eax, byte [esp + 0x11]
mov byte [esp + 0x81], al
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x82], al
mov dword [esp + 0x84], ebp
mov byte [esp + 0x88], 1
add esp, 0x68
ret
mov ecx, ebp
call fcn.004680b0
inc esi
mov ebx, dword [esp + 0x28]
cmp edx, esi
jle 0x474fa9
movzx ebx, byte [esi + eax]
cmp bl, 0x30
jb 0x474fa5
cmp bl, 0x39
ja 0x474f93
cmp edi, 0x2710
jge 0x474f68
lea edi, [edi + edi*4]
movzx ebx, bl
lea edi, [ebx + edi*2 - 0x30]
jmp 0x474f68
cmp bl, 0x5f
jne 0x474f9f
mov ebp, 1
jmp 0x474f68
mov ebx, dword [esp + 0x28]
jmp 0x474fa9
mov ebx, dword [esp + 0x28]
imul ecx, edi
add ebx, ecx
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov ebp, esi
jmp 0x474e64
mov eax, esi
mov ecx, edx
call fcn.00468090
mov eax, esi
mov ecx, edx
call fcn.00468090
mov eax, ebp
mov ecx, edx
call fcn.00468090
mov eax, ebp
mov ecx, edx
call fcn.00468090
mov eax, esi
mov ecx, edx
call fcn.00468090
mov ecx, edx
call fcn.00468090
nop
call fcn.00466c30
jmp fcn.00474820