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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x498a74
sub esp, 0x60
mov edx, dword [esp + 0x68]
test edx, edx
jle 0x4989f4
mov ebx, dword [esp + 0x64]
movzx ebp, byte [ebx]
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x4989d5
mov eax, 1
xor ecx, ecx
lea ebp, [eax + 2]
cmp edx, ebp
jle 0x4989b4
cmp edx, eax
jbe 0x498a6c
lea esi, [ebx + eax]
cmp byte [esi], 0x30
jne 0x4989b4
lea esi, [eax + 1]
cmp edx, esi
jbe 0x498a63
movzx esi, byte [ebx + eax + 1]
or esi, 0x20
xchg esi, eax
cmp al, 0x78
xchg esi, eax
jne 0x4989b4
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 0x498426
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 0x4989aa
jbe 0x498a5a
movzx edi, byte [ebx + ebp]
xchg edi, eax
cmp al, 0x5f
xchg edi, eax
jne 0x49845e
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 0x49840a
xchg edi, eax
cmp al, 0x2e
xchg edi, eax
jne 0x4987fb
movzx edi, byte [esp + 0xd]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x49849a
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 0x49840a
mov eax, ebx
movzx ebx, byte [esp + 0xe]
test bl, bl
je 0x4987bd
xchg edi, eax
test al, al
xchg edi, eax
je 0x4987b4
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 0x4987a9
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 0x4987a3
cmp edx, ebp
jbe 0x498a51
movzx edi, byte [eax + ebp]
or edi, 0x20
movzx ebx, byte [esp + 0xf]
xchg edi, eax
cmp al, bl
xchg edi, eax
jne 0x49874f
lea ebx, [ebp + 1]
cmp edx, ebx
jle 0x498711
jbe 0x498a48
movzx esi, byte [eax + ebp + 1]
xchg esi, eax
cmp al, 0x2b
xchg esi, eax
jne 0x4986f3
lea ebx, [ebp + 2]
mov ebp, 1
cmp edx, ebx
jle 0x4986b5
jbe 0x498a3f
movzx esi, byte [eax + ebx]
xchg esi, eax
cmp al, 0x30
xchg esi, eax
jb 0x4986b5
xchg esi, eax
cmp al, 0x39
xchg esi, eax
ja 0x4986b5
mov dword [esp + 0x20], ebp
movzx esi, byte [esp + 0xc]
xor edi, edi
jmp 0x49856b
inc ebx
mov esi, ebp
mov ebp, dword [esp + 0x20]
cmp edx, ebx
jle 0x4985bc
jbe 0x498a36
movzx ebp, byte [eax + ebx]
xchg ebp, eax
cmp al, 0x30
xchg ebp, eax
jb 0x4985b5
xchg ebp, eax
cmp al, 0x39
xchg ebp, eax
ja 0x4985b5
xchg ebp, eax
cmp al, 0x5f
xchg ebp, eax
jne 0x498595
mov ebp, 1
jmp 0x498564
mov dword [esp + 0x38], ebx
cmp edi, 0x2710
jge 0x4985ad
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 0x498564
xchg ebp, eax
cmp al, 0x5f
xchg ebp, eax
je 0x498587
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 0x4986ae
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 0x498620
cmp edx, ebx
jb 0x498a2f
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0049b940
movzx eax, byte [esp + 8]
test al, al
je 0x498667
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 0x4985f1
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 0x498707
lea ebx, [ebp + 2]
mov ebp, 0xffffffff
jmp 0x49852f
mov ebp, 1
jmp 0x49852f
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 0x498765
movzx esi, byte [esp + 0xc]
mov ebx, ebp
mov ebp, dword [esp + 0x24]
jmp 0x4985c9
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 0x498753
cmp edx, ebp
mov edi, dword [esp + 0x14]
jmp 0x4984da
mov ebx, dword [esp + 0x24]
jmp 0x4984b7
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 0x4988e9
mov byte [esp + 0x10], bl
xchg edi, eax
cmp al, 0x30
xchg edi, eax
jne 0x4988e0
mov ebx, dword [esp + 0x24]
test ebx, ebx
jne 0x498849
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 0x49840a
mov ebp, dword [esp + 0x14]
cmp ebp, eax
jge 0x4988ba
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 0x49840a
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 0x498881
mov ebx, dword [esp + 0x24]
jmp 0x498849
cmp esi, 0x10
sete bl
and ebx, 1
test bl, bl
je 0x49899c
or edi, 0x20
xchg edi, eax
cmp al, 0x61
xchg edi, eax
jb 0x49899c
xchg edi, eax
cmp al, 0x66
xchg edi, eax
ja 0x49899c
mov ebx, dword [esp + 0x14]
cmp ebx, eax
jge 0x49898d
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 0x49840a
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov edi, 1
jmp 0x498957
mov ebx, dword [esp + 0x64]
movzx edi, byte [esp + 0xd]
jmp 0x49849a
movzx edi, byte [esp + 0xd]
jmp 0x49849a
mov ebp, eax
mov eax, 0x13
mov esi, 0xa
mov edi, 0x65
xor eax, eax
mov byte [esp + 0x13], al
mov eax, 0x13
jmp 0x4983b8
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
jne 0x4989eb
mov eax, 1
mov ecx, 1
jmp 0x49835e
xor eax, eax
xor ecx, ecx
jmp 0x49835e
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.0045e2c0
mov eax, ebx
mov ecx, edx
call fcn.0045e2a0
mov eax, ebx
mov ecx, edx
call fcn.0045e2a0
mov eax, ebx
mov ecx, edx
call fcn.0045e2a0
mov eax, ebp
mov ecx, edx
call fcn.0045e2a0
mov eax, ebp
mov ecx, edx
call fcn.0045e2a0
mov eax, esi
mov ecx, edx
call fcn.0045e2a0
mov ecx, edx
call fcn.0045e2a0
nop
call fcn.0045ccc0
jmp fcn.00498320