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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46ff14
sub esp, 0x60
mov edx, dword [esp + 0x68]
test edx, edx
jle 0x46fe94
mov ebx, dword [esp + 0x64]
movzx ebp, byte [ebx]
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x46fe75
mov eax, 1
xor ecx, ecx
lea ebp, [eax + 2]
cmp edx, ebp
jle 0x46fe54
cmp edx, eax
jbe 0x46ff0c
lea esi, [ebx + eax]
cmp byte [esi], 0x30
jne 0x46fe54
lea esi, [eax + 1]
cmp edx, esi
jbe 0x46ff03
movzx esi, byte [ebx + eax + 1]
or esi, 0x20
xchg esi, eax
cmp al, 0x78
xchg esi, eax
jne 0x46fe54
mov eax, 0x10
mov esi, 0x10
mov edi, 0x70
mov eax, 1
mov byte [esp + 0x13], al
mov eax, 0x10
mov dword [esp + 0x28], esi
mov byte [esp + 0x12], cl
xchg edi, eax
mov byte [esp + 0xf], al
xchg edi, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x58], eax
xor eax, eax
mov byte [esp + 0xe], al
xor eax, eax
mov byte [esp + 0xd], al
xor eax, eax
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x3c], eax
xor eax, eax
mov byte [esp + 0xc], al
xor eax, eax
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x58]
jmp 0x46f8c6
inc ebp
xchg edi, eax
mov byte [esp + 0xe], al
xchg edi, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
movzx edi, byte [esp + 0xf]
mov eax, dword [esp + 0x50]
cmp edx, ebp
jle 0x46fe4a
jbe 0x46fefa
movzx edi, byte [ebx + ebp]
xchg edi, eax
cmp al, 0x5f
xchg edi, eax
jne 0x46f8fe
movzx edi, byte [esp + 0xe]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x18], edi
mov edi, 1
xchg edi, eax
mov byte [esp + 0xc], al
xchg edi, eax
movzx edi, byte [esp + 0xe]
jmp 0x46f8aa
xchg edi, eax
cmp al, 0x2e
xchg edi, eax
jne 0x46fc9b
movzx edi, byte [esp + 0xd]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x46f93a
movzx edi, byte [esp + 0xe]
mov edi, 1
xchg edi, eax
mov byte [esp + 0xd], al
xchg edi, eax
mov edi, dword [esp + 0x24]
mov dword [esp + 0x18], edi
mov dword [esp + 0x3c], edi
movzx edi, byte [esp + 0xe]
jmp 0x46f8aa
mov eax, ebx
movzx ebx, byte [esp + 0xe]
test bl, bl
je 0x46fc5d
xchg edi, eax
test al, al
xchg edi, eax
je 0x46fc54
mov ebx, dword [esp + 0x3c]
cmp esi, 0x10
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, 1
xchg esi, eax
test al, al
xchg esi, eax
je 0x46fc49
shl ebx, 2
mov edi, dword [esp + 0x14]
shl edi, 2
cmp edx, ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], ebx
jle 0x46fc43
cmp edx, ebp
jbe 0x46fef1
movzx edi, byte [eax + ebp]
or edi, 0x20
movzx ebx, byte [esp + 0xf]
xchg edi, eax
cmp al, bl
xchg edi, eax
jne 0x46fbef
lea ebx, [ebp + 1]
cmp edx, ebx
jle 0x46fbb1
jbe 0x46fee8
movzx esi, byte [eax + ebp + 1]
xchg esi, eax
cmp al, 0x2b
xchg esi, eax
jne 0x46fb93
lea ebx, [ebp + 2]
mov ebp, 1
cmp edx, ebx
jle 0x46fb55
jbe 0x46fedf
movzx esi, byte [eax + ebx]
xchg esi, eax
cmp al, 0x30
xchg esi, eax
jb 0x46fb55
xchg esi, eax
cmp al, 0x39
xchg esi, eax
ja 0x46fb55
mov dword [esp + 0x20], ebp
movzx esi, byte [esp + 0xc]
xor edi, edi
jmp 0x46fa0b
inc ebx
mov esi, ebp
mov ebp, dword [esp + 0x20]
cmp edx, ebx
jle 0x46fa5c
jbe 0x46fed6
movzx ebp, byte [eax + ebx]
xchg ebp, eax
cmp al, 0x30
xchg ebp, eax
jb 0x46fa55
xchg ebp, eax
cmp al, 0x39
xchg ebp, eax
ja 0x46fa55
xchg ebp, eax
cmp al, 0x5f
xchg ebp, eax
jne 0x46fa35
mov ebp, 1
jmp 0x46fa04
mov dword [esp + 0x38], ebx
cmp edi, 0x2710
jge 0x46fa4d
lea ebx, [edi + edi*4]
xchg ebp, eax
movzx eax, al
xchg ebp, eax
lea edi, [ebp + ebx*2 - 0x30]
mov ebx, dword [esp + 0x38]
mov ebp, esi
jmp 0x46fa04
xchg ebp, eax
cmp al, 0x5f
xchg ebp, eax
je 0x46fa27
mov ebp, dword [esp + 0x20]
imul ebp, edi
mov edi, dword [esp + 0x24]
add ebp, edi
mov edi, dword [esp + 0x40]
test edi, edi
xchg edi, ebx
setne bl
xchg edi, ebx
mov eax, dword [esp + 0x44]
test eax, eax
setne al
or edi, eax
xchg edi, eax
test al, al
xchg edi, eax
je 0x46fb4e
mov eax, dword [esp + 0x14]
sub ebp, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x46fac0
cmp edx, ebx
jb 0x46fecf
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.00472e10
movzx eax, byte [esp + 8]
test al, al
je 0x46fb07
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], eax
movzx eax, byte [esp + 0x12]
mov byte [esp + 0x78], al
movzx eax, byte [esp + 0x11]
mov byte [esp + 0x79], al
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x7a], al
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x7c], eax
mov byte [esp + 0x80], 1
add esp, 0x60
ret
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], eax
movzx eax, byte [esp + 0x12]
mov byte [esp + 0x78], al
movzx eax, byte [esp + 0x11]
mov byte [esp + 0x79], al
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x7a], al
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x7c], eax
mov byte [esp + 0x80], 0
add esp, 0x60
ret
xor ebp, ebp
jmp 0x46fa91
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov byte [esp + 0x78], cl
movzx eax, byte [esp + 0x11]
mov byte [esp + 0x79], al
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x7a], al
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x80], 0
add esp, 0x60
ret
xchg esi, eax
cmp al, 0x2d
xchg esi, eax
jne 0x46fba7
lea ebx, [ebp + 2]
mov ebp, 0xffffffff
jmp 0x46f9cf
mov ebp, 1
jmp 0x46f9cf
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov byte [esp + 0x78], cl
movzx eax, byte [esp + 0x11]
mov byte [esp + 0x79], al
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x7a], al
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x80], 0
add esp, 0x60
ret
xchg esi, eax
test al, al
xchg esi, eax
jne 0x46fc05
movzx esi, byte [esp + 0xc]
mov ebx, ebp
mov ebp, dword [esp + 0x24]
jmp 0x46fa69
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov byte [esp + 0x78], cl
movzx eax, byte [esp + 0x11]
mov byte [esp + 0x79], al
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x7a], al
mov dword [esp + 0x7c], ebp
mov byte [esp + 0x80], 0
add esp, 0x60
ret
xchg esi, eax
test al, al
xchg esi, eax
jmp 0x46fbf3
cmp edx, ebp
mov edi, dword [esp + 0x14]
jmp 0x46f97a
mov ebx, dword [esp + 0x24]
jmp 0x46f957
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov byte [esp + 0x78], cl
movzx eax, byte [esp + 0x11]
mov byte [esp + 0x79], al
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x7a], al
mov dword [esp + 0x7c], ebp
mov byte [esp + 0x80], 0
add esp, 0x60
ret
mov dword [esp + 0x34], ebp
lea ebx, [edi - 0x30]
cmp bl, 9
ja 0x46fd89
mov byte [esp + 0x10], bl
xchg edi, eax
cmp al, 0x30
xchg edi, eax
jne 0x46fd80
mov ebx, dword [esp + 0x24]
test ebx, ebx
jne 0x46fce9
mov edi, dword [esp + 0x3c]
dec edi
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], edi
mov edi, 1
mov eax, dword [esp + 0x48]
jmp 0x46f8aa
mov ebp, dword [esp + 0x14]
cmp ebp, eax
jge 0x46fd5a
mov eax, dword [esp + 0x44]
mul esi
mov dword [esp + 0x44], eax
movzx edi, byte [esp + 0x10]
xchg edi, eax
movzx eax, al
xchg edi, eax
add eax, edi
mov ebx, dword [esp + 0x40]
imul ebx, esi
add ebx, edx
mov edx, esi
mov esi, dword [esp + 0x44]
add esi, edi
adc ebx, 0
inc ebp
movzx esi, byte [esp + 0x11]
mov edi, dword [esp + 0x24]
inc edi
mov edx, dword [esp + 0x68]
mov dword [esp + 0x18], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x14], ebp
xchg esi, eax
mov byte [esp + 0x11], al
xchg esi, eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
mov edi, 1
jmp 0x46f8aa
xchg edi, eax
cmp al, 0x30
xchg edi, eax
xchg edi, ebx
setne bl
xchg edi, ebx
movzx ecx, byte [esp + 0x11]
or edi, ecx
movzx ecx, byte [esp + 0x12]
mov edx, esi
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov esi, edi
jmp 0x46fd21
mov ebx, dword [esp + 0x24]
jmp 0x46fce9
cmp esi, 0x10
sete bl
and ebx, 1
test bl, bl
je 0x46fe3c
or edi, 0x20
xchg edi, eax
cmp al, 0x61
xchg edi, eax
jb 0x46fe3c
xchg edi, eax
cmp al, 0x66
xchg edi, eax
ja 0x46fe3c
mov ebx, dword [esp + 0x14]
cmp ebx, eax
jge 0x46fe2d
mov esi, dword [esp + 0x44]
shl esi, 4
mov dword [esp + 0x30], esi
add edi, 0xffffffa9
xchg edi, eax
movzx eax, al
xchg edi, eax
add esi, edi
mov dword [esp + 0x2c], esi
mov ebp, dword [esp + 0x40]
shl ebp, 4
mov esi, dword [esp + 0x44]
shr esi, 0x1c
or ebp, esi
mov esi, dword [esp + 0x30]
add esi, edi
adc ebp, 0
inc ebx
mov esi, dword [esp + 0x2c]
movzx edi, byte [esp + 0x11]
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x14], ebx
xchg edi, eax
mov byte [esp + 0x11], al
xchg edi, eax
movzx ecx, byte [esp + 0x12]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
mov edi, 1
jmp 0x46f8aa
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov edi, 1
jmp 0x46fdf7
mov ebx, dword [esp + 0x64]
movzx edi, byte [esp + 0xd]
jmp 0x46f93a
movzx edi, byte [esp + 0xd]
jmp 0x46f93a
mov ebp, eax
mov eax, 0x13
mov esi, 0xa
mov edi, 0x65
xor eax, eax
mov byte [esp + 0x13], al
mov eax, 0x13
jmp 0x46f858
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
jne 0x46fe8b
mov eax, 1
mov ecx, 1
jmp 0x46f7fe
xor eax, eax
xor ecx, ecx
jmp 0x46f7fe
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov byte [esp + 0x78], 0
mov byte [esp + 0x79], 0
mov byte [esp + 0x7a], 0
mov dword [esp + 0x7c], 0
mov byte [esp + 0x80], 0
add esp, 0x60
ret
mov ecx, ebx
call fcn.004661d0
mov eax, ebx
mov ecx, edx
call fcn.004661b0
mov eax, ebx
mov ecx, edx
call fcn.004661b0
mov eax, ebx
mov ecx, edx
call fcn.004661b0
mov eax, ebp
mov ecx, edx
call fcn.004661b0
mov eax, ebp
mov ecx, edx
call fcn.004661b0
mov eax, esi
mov ecx, edx
call fcn.004661b0
mov ecx, edx
call fcn.004661b0
nop
call fcn.00464bd0
jmp fcn.0046f7c0