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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46afc4
sub esp, 0x60
mov edx, dword [esp + 0x68]
test edx, edx
jle 0x46af44
mov ebx, dword [esp + 0x64]
movzx ebp, byte [ebx]
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x46af25
mov eax, 1
xor ecx, ecx
lea ebp, [eax + 2]
cmp edx, ebp
jle 0x46af04
cmp edx, eax
jbe 0x46afbc
lea esi, [ebx + eax]
cmp byte [esi], 0x30
jne 0x46af04
lea esi, [eax + 1]
cmp edx, esi
jbe 0x46afb3
movzx esi, byte [ebx + eax + 1]
or esi, 0x20
xchg esi, eax
cmp al, 0x78
xchg esi, eax
jne 0x46af04
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 0x46a976
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 0x46aefa
jbe 0x46afaa
movzx edi, byte [ebx + ebp]
xchg edi, eax
cmp al, 0x5f
xchg edi, eax
jne 0x46a9ae
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 0x46a95a
xchg edi, eax
cmp al, 0x2e
xchg edi, eax
jne 0x46ad4b
movzx edi, byte [esp + 0xd]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x46a9ea
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 0x46a95a
mov eax, ebx
movzx ebx, byte [esp + 0xe]
test bl, bl
je 0x46ad0d
xchg edi, eax
test al, al
xchg edi, eax
je 0x46ad04
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 0x46acf9
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 0x46acf3
cmp edx, ebp
jbe 0x46afa1
movzx edi, byte [eax + ebp]
or edi, 0x20
movzx ebx, byte [esp + 0xf]
xchg edi, eax
cmp al, bl
xchg edi, eax
jne 0x46ac9f
lea ebx, [ebp + 1]
cmp edx, ebx
jle 0x46ac61
jbe 0x46af98
movzx esi, byte [eax + ebp + 1]
xchg esi, eax
cmp al, 0x2b
xchg esi, eax
jne 0x46ac43
lea ebx, [ebp + 2]
mov ebp, 1
cmp edx, ebx
jle 0x46ac05
jbe 0x46af8f
movzx esi, byte [eax + ebx]
xchg esi, eax
cmp al, 0x30
xchg esi, eax
jb 0x46ac05
xchg esi, eax
cmp al, 0x39
xchg esi, eax
ja 0x46ac05
mov dword [esp + 0x20], ebp
movzx esi, byte [esp + 0xc]
xor edi, edi
jmp 0x46aabb
inc ebx
mov esi, ebp
mov ebp, dword [esp + 0x20]
cmp edx, ebx
jle 0x46ab0c
jbe 0x46af86
movzx ebp, byte [eax + ebx]
xchg ebp, eax
cmp al, 0x30
xchg ebp, eax
jb 0x46ab05
xchg ebp, eax
cmp al, 0x39
xchg ebp, eax
ja 0x46ab05
xchg ebp, eax
cmp al, 0x5f
xchg ebp, eax
jne 0x46aae5
mov ebp, 1
jmp 0x46aab4
mov dword [esp + 0x38], ebx
cmp edi, 0x2710
jge 0x46aafd
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 0x46aab4
xchg ebp, eax
cmp al, 0x5f
xchg ebp, eax
je 0x46aad7
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 0x46abfe
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 0x46ab70
cmp edx, ebx
jb 0x46af7f
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0046dc40
movzx eax, byte [esp + 8]
test al, al
je 0x46abb7
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 0x46ab41
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 0x46ac57
lea ebx, [ebp + 2]
mov ebp, 0xffffffff
jmp 0x46aa7f
mov ebp, 1
jmp 0x46aa7f
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 0x46acb5
movzx esi, byte [esp + 0xc]
mov ebx, ebp
mov ebp, dword [esp + 0x24]
jmp 0x46ab19
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 0x46aca3
cmp edx, ebp
mov edi, dword [esp + 0x14]
jmp 0x46aa2a
mov ebx, dword [esp + 0x24]
jmp 0x46aa07
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 0x46ae39
mov byte [esp + 0x10], bl
xchg edi, eax
cmp al, 0x30
xchg edi, eax
jne 0x46ae30
mov ebx, dword [esp + 0x24]
test ebx, ebx
jne 0x46ad99
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 0x46a95a
mov ebp, dword [esp + 0x14]
cmp ebp, eax
jge 0x46ae0a
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 0x46a95a
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 0x46add1
mov ebx, dword [esp + 0x24]
jmp 0x46ad99
cmp esi, 0x10
sete bl
and ebx, 1
test bl, bl
je 0x46aeec
or edi, 0x20
xchg edi, eax
cmp al, 0x61
xchg edi, eax
jb 0x46aeec
xchg edi, eax
cmp al, 0x66
xchg edi, eax
ja 0x46aeec
mov ebx, dword [esp + 0x14]
cmp ebx, eax
jge 0x46aedd
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 0x46a95a
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov edi, 1
jmp 0x46aea7
mov ebx, dword [esp + 0x64]
movzx edi, byte [esp + 0xd]
jmp 0x46a9ea
movzx edi, byte [esp + 0xd]
jmp 0x46a9ea
mov ebp, eax
mov eax, 0x13
mov esi, 0xa
mov edi, 0x65
xor eax, eax
mov byte [esp + 0x13], al
mov eax, 0x13
jmp 0x46a908
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
jne 0x46af3b
mov eax, 1
mov ecx, 1
jmp 0x46a8ae
xor eax, eax
xor ecx, ecx
jmp 0x46a8ae
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.0045e010
mov eax, ebx
mov ecx, edx
call fcn.0045dff0
mov eax, ebx
mov ecx, edx
call fcn.0045dff0
mov eax, ebx
mov ecx, edx
call fcn.0045dff0
mov eax, ebp
mov ecx, edx
call fcn.0045dff0
mov eax, ebp
mov ecx, edx
call fcn.0045dff0
mov eax, esi
mov ecx, edx
call fcn.0045dff0
mov ecx, edx
call fcn.0045dff0
nop
call fcn.0045ca10
jmp fcn.0046a870