Function at 0x497490
Capabilities:
Check os version
Parse credit card information
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5af25a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x28], ebx
call fcn.00495f90
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
xor ebp, ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0xd8], ebp
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
mov byte [esp + 0xd8], 1
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0xe0]
lea esi, [ebx + 4]
mov ecx, esi
mov byte [esp + 0xd8], 2
lea edi, [eax + 0x15]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0xbc], edi
mov byte [esp + 0x23], 0
mov byte [esp + 0x22], 0
mov byte [esp + 0x1d], 0
mov byte [esp + 0x1f], 0
mov byte [esp + 0x1e], 0
mov byte [esp + 0x21], 0
mov byte [esp + 0x1c], 0
mov byte [esp + 0x20], 0
mov dword [esp + 0x14], esi
call sub.MFC42.DLL_CString::Empty
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
mov dword [esp + 0x30], ebp
test ecx, ecx
jle 0x4984af
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xbc]
mov al, byte [ecx + edx]
cmp al, 0x5f
je 0x498487
cmp al, 0xd
je 0x498487
cmp al, 0x1a
jne 0x49847d
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0xd0], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xcc]
push ecx
call fcn.004d22d0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xdc], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc8]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x2c]
test eax, eax
jl 0x49773e
cmp eax, 2
jg 0x49773e
test eax, eax
jne 0x4975ed
lea edx, [esp + 0x10]
lea ecx, [ebx + 0xac]
push edx
jmp 0x49760f
cmp eax, 1
jne 0x4975ff
lea eax, [esp + 0x10]
lea ecx, [ebx + 0xb0]
push eax
jmp 0x49760f
cmp eax, 2
jne 0x497614
lea ecx, [esp + 0x10]
push ecx
lea ecx, [ebx + 0xb4]
call sub.MFC42.DLL_CString::operator_1
push 1
push 0x59
lea ecx, [esp + 0x90]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x10]
push edx
push eax
mov byte [esp + 0xe0], 4
call esi
add esp, 8
test eax, eax
je 0x4976e6
push 1
push 0x4e
lea ecx, [esp + 0xa0]
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x10]
push ecx
push edx
call esi
add esp, 8
lea ecx, [esp + 0x98]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4976e6
push 1
push 0x79
lea ecx, [esp + 0xb0]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call esi
add esp, 8
lea ecx, [esp + 0xa8]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4976e6
push 1
push 0x6e
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
push edx
push eax
call esi
add esp, 8
lea ecx, [esp + 0x40]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4976e6
mov bl, 1
jmp 0x4976e8
xor bl, bl
lea ecx, [esp + 0x88]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49845f
mov al, byte [esp + 0x23]
test al, al
jne 0x49845f
push 0x1d
push 0x1c
lea ecx, [esp + 0x20]
push 0x61a140
push ecx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call fcn.0059716a
mov byte [esp + 0x23], 1
jmp 0x4983ba
cmp eax, 3
jne 0x497867
lea edx, [esp + 0x10]
lea ecx, [ebx + 0x88]
push edx
call sub.MFC42.DLL_CString::operator_1
push 1
push 0x59
lea ecx, [esp + 0x98]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov byte [esp + 0xe0], 5
call esi
add esp, 8
test eax, eax
je 0x497820
push 1
push 0x4e
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x10]
push edx
push eax
call esi
add esp, 8
lea ecx, [esp + 0x48]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x497820
push 1
push 0x79
lea ecx, [esp + 0xcc]
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0x10]
push ecx
push edx
call esi
add esp, 8
lea ecx, [esp + 0xc4]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x497820
push 1
push 0x6e
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call esi
add esp, 8
lea ecx, [esp + 0x50]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x497820
mov bl, 1
jmp 0x497822
xor bl, bl
lea ecx, [esp + 0x90]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49845f
push 0x1d
push 0x1c
push 0x61a124
lea edx, [esp + 0x24]
push edx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea eax, [esp + 0x18]
push eax
call fcn.0059716a
jmp 0x4983ba
cmp eax, 4
jl 0x4978da
cmp eax, 0xf
jg 0x4978da
mov eax, dword [ebx + 0xdc]
lea ecx, [ebx + 0xd4]
lea edx, [esp + 0x10]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov al, byte [esp + 0x22]
test al, al
jne 0x49845f
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
cmp eax, 2
je 0x49845f
test eax, eax
je 0x49845f
push 0x1d
push 0x1c
lea ecx, [esp + 0x20]
push 0x61a108
push ecx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call fcn.0059716a
mov byte [esp + 0x22], 1
jmp 0x4983ba
cmp eax, 0x10
jne 0x4979df
lea edx, [esp + 0x10]
lea ecx, [ebx + 0x8c]
push edx
call sub.MFC42.DLL_CString::operator_1
push 1
push 0x59
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov byte [esp + 0xe0], 6
call esi
add esp, 8
test eax, eax
je 0x4979b6
push 1
push 0x4e
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x10]
push edx
push eax
call esi
add esp, 8
lea ecx, [esp + 0x58]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4979b6
push 1
push 0x79
lea ecx, [esp + 0xb8]
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x10]
push ecx
push edx
call esi
add esp, 8
lea ecx, [esp + 0xb0]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4979b6
push 1
push 0x6e
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call esi
add esp, 8
lea ecx, [esp + 0x60]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4979b6
mov bl, 1
jmp 0x4979b8
xor bl, bl
lea ecx, [esp + 0x34]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49845f
push 0x1d
push 0x1c
push 0x61a0ec
jmp 0x497847
cmp eax, 0x11
jl 0x497a52
cmp eax, 0x1c
jg 0x497a52
mov eax, dword [ebx + 0xf0]
lea ecx, [ebx + 0xe8]
lea edx, [esp + 0x10]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov al, byte [esp + 0x1d]
test al, al
jne 0x49845f
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
cmp eax, 3
je 0x49845f
test eax, eax
je 0x49845f
push 0x1d
push 0x1c
lea ecx, [esp + 0x18]
push 0x61a0d0
push ecx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call fcn.0059716a
mov byte [esp + 0x1d], 1
jmp 0x4983ba
cmp eax, 0x1d
jne 0x497b60
lea edx, [esp + 0x10]
lea ecx, [ebx + 0x90]
push edx
call sub.MFC42.DLL_CString::operator_1
push 1
push 0x59
lea ecx, [esp + 0xa8]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov byte [esp + 0xe0], 7
call esi
add esp, 8
test eax, eax
je 0x497b34
push 1
push 0x4e
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
push edx
push eax
call esi
add esp, 8
lea ecx, [esp + 0x68]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x497b34
push 1
push 0x79
lea ecx, [esp + 0xc8]
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0x10]
push ecx
push edx
call esi
add esp, 8
lea ecx, [esp + 0xc0]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x497b34
push 1
push 0x6e
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call esi
add esp, 8
lea ecx, [esp + 0x70]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x497b34
mov bl, 1
jmp 0x497b36
xor bl, bl
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49845f
push 0x1d
push 0x1c
push 0x61a0b4
jmp 0x497847
cmp eax, 0x1e
jl 0x497bd3
cmp eax, 0x29
jg 0x497bd3
mov eax, dword [ebx + 0x104]
lea ecx, [ebx + 0xfc]
lea edx, [esp + 0x10]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov al, byte [esp + 0x1f]
test al, al
jne 0x49845f
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
cmp eax, 3
je 0x49845f
test eax, eax
je 0x49845f
push 0x1d
push 0x1c
lea ecx, [esp + 0x18]
push 0x61a098
push ecx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call fcn.0059716a
mov byte [esp + 0x1f], 1
jmp 0x4983ba
cmp eax, 0x2a
jne 0x497ce4
lea edx, [esp + 0x10]
lea ecx, [ebx + 0x94]
push edx
call sub.MFC42.DLL_CString::operator_1
push 1
push 0x59
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov byte [esp + 0xe0], 8
call esi
add esp, 8
test eax, eax
je 0x497cbb
push 1
push 0x4e
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x10]
push edx
push eax
call esi
add esp, 8
lea ecx, [esp + 0x78]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x497cbb
push 1
push 0x79
lea ecx, [esp + 0xc0]
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x10]
push ecx
push edx
call esi
add esp, 8
lea ecx, [esp + 0xb8]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x497cbb
push 1
push 0x6e
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call esi
add esp, 8
lea ecx, [esp + 0x80]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x497cbb
mov bl, 1
jmp 0x497cbd
xor bl, bl
lea ecx, [esp + 0x38]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49845f
push 0x1d
push 0x1c
push 0x61a07c
jmp 0x497847
cmp eax, 0x2b
jl 0x497d57
cmp eax, 0x36
jg 0x497d57
mov eax, dword [ebx + 0x118]
lea ecx, [ebx + 0x110]
lea edx, [esp + 0x10]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov al, byte [esp + 0x1e]
test al, al
jne 0x49845f
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
cmp eax, 3
je 0x49845f
test eax, eax
je 0x49845f
push 0x1d
push 0x1c
lea ecx, [esp + 0x18]
push 0x61a060
push ecx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call fcn.0059716a
mov byte [esp + 0x1e], 1
jmp 0x4983ba
cmp eax, 0x37
jne 0x497e53
lea edx, [esp + 0x10]
lea ecx, [ebx + 0x98]
push edx
call sub.MFC42.DLL_CString::operator_1
push 1
push 0x59
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov byte [esp + 0xe0], 9
call esi
add esp, 8
test eax, eax
je 0x497e2a
push 1
push 0x4e
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
push edx
push eax
call esi
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x497e2a
push 1
push 0x79
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
push ecx
push edx
call esi
add esp, 8
lea ecx, [esp + 0x44]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x497e2a
push 1
push 0x6e
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call esi
add esp, 8
lea ecx, [esp + 0x4c]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x497e2a
mov bl, 1
jmp 0x497e2c
xor bl, bl
lea ecx, [esp + 0x54]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49845f
push 0x1d
push 0x1c
push 0x61a044
jmp 0x497847
cmp eax, 0x38
jl 0x497ec6
cmp eax, 0x3f
jg 0x497ec6
mov eax, dword [ebx + 0x12c]
lea ecx, [ebx + 0x124]
lea edx, [esp + 0x10]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov al, byte [esp + 0x21]
test al, al
jne 0x49845f
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
test eax, eax
je 0x49845f
cmp eax, 5
jge 0x49845f
push 0x1d
push 0x1c
lea ecx, [esp + 0x18]
push 0x61a028
push ecx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call fcn.0059716a
mov byte [esp + 0x21], 1
jmp 0x4983ba
cmp eax, 0x40
jne 0x497fc2
lea edx, [esp + 0x10]
lea ecx, [ebx + 0x9c]
push edx
call sub.MFC42.DLL_CString::operator_1
push 1
push 0x59
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov byte [esp + 0xe0], 0xa
call esi
add esp, 8
test eax, eax
je 0x497f99
push 1
push 0x4e
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x10]
push edx
push eax
call esi
add esp, 8
lea ecx, [esp + 0x5c]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x497f99
push 1
push 0x79
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x10]
push ecx
push edx
call esi
add esp, 8
lea ecx, [esp + 0x64]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x497f99
push 1
push 0x6e
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call esi
add esp, 8
lea ecx, [esp + 0x6c]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x497f99
mov bl, 1
jmp 0x497f9b
xor bl, bl
lea ecx, [esp + 0x74]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49845f
push 0x1d
push 0x1c
push 0x61a010
jmp 0x497847
cmp eax, 0x41
jne 0x498033
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x10]
push edx
lea ecx, [eax + 0xb8]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov esi, dword [edx - 8]
test esi, esi
jle 0x49845f
mov al, byte [ecx + edx]
cmp al, 0x41
jl 0x49800a
cmp al, 0x5a
jg 0x49800a
inc ecx
cmp ecx, esi
jl 0x497ff5
jmp 0x49845f
push 0x1d
push 0x1c
lea ecx, [esp + 0x20]
push 0x619ff8
push ecx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call fcn.0059716a
jmp 0x4983ba
cmp eax, 0x42
jne 0x49814d
lea edx, [esp + 0x10]
lea ecx, [ebx + 0xa4]
push edx
call sub.MFC42.DLL_CString::operator_1
push 1
push 0x59
lea ecx, [esp + 0x9c]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov byte [esp + 0xe0], 0xb
call esi
add esp, 8
test eax, eax
je 0x498121
push 1
push 0x4e
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x10]
push edx
push eax
call esi
add esp, 8
lea ecx, [esp + 0x7c]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x498121
push 1
push 0x79
lea ecx, [esp + 0x8c]
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x10]
push ecx
push edx
call esi
add esp, 8
lea ecx, [esp + 0x84]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x498121
push 1
push 0x6e
lea ecx, [esp + 0x94]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call esi
add esp, 8
lea ecx, [esp + 0x8c]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x498121
mov bl, 1
jmp 0x498123
xor bl, bl
lea ecx, [esp + 0x94]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49845f
push 0x1d
push 0x1c
push 0x619fdc
jmp 0x497847
cmp eax, 0x43
je 0x4983d8
cmp eax, 0x44
je 0x4983e5
cmp eax, 0x45
jne 0x49827f
lea edx, [esp + 0x10]
lea ecx, [ebx + 0xa0]
push edx
call sub.MFC42.DLL_CString::operator_1
push 1
push 0x59
lea ecx, [esp + 0xbc]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov byte [esp + 0xe0], 0xc
call esi
add esp, 8
test eax, eax
je 0x498253
push 1
push 0x4e
lea ecx, [esp + 0xa4]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x10]
push edx
push eax
call esi
add esp, 8
lea ecx, [esp + 0x9c]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x498253
push 1
push 0x79
lea ecx, [esp + 0xac]
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x10]
push ecx
push edx
call esi
add esp, 8
lea ecx, [esp + 0xa4]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x498253
push 1
push 0x6e
lea ecx, [esp + 0xb4]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call esi
add esp, 8
lea ecx, [esp + 0xac]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x498253
mov bl, 1
jmp 0x498255
xor bl, bl
lea ecx, [esp + 0xb4]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49845f
push 0x1d
push 0x1c
push 0x619fc0
jmp 0x497847
cmp eax, 0x46
je 0x498342
cmp eax, 0x47
je 0x49834f
cmp eax, 0x48
jne 0x4982a8
lea edx, [esp + 0x10]
lea ecx, [ebx + 0x3c]
push edx
call sub.MFC42.DLL_CString::operator_1
jmp 0x49845f
cmp eax, 0x49
jne 0x49845f
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
add ecx, 0xa8
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x10]
xor dl, dl
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4982d4
mov dl, 1
xor esi, esi
test eax, eax
jle 0x49845f
mov edi, dword [esp + 0x14]
test dl, dl
jne 0x498335
mov al, byte [esi + ecx]
cmp al, 0x30
jge 0x498335
cmp al, 0x39
jle 0x498335
cmp al, 0x2e
je 0x498335
push 0x1d
push 0x1c
lea edx, [esp + 0x20]
push 0x619fa8
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.0059716a
inc ebp
mov ecx, 5
mov eax, ebp
cdq
idiv ecx
test edx, edx
jne 0x49832f
push 0xd
mov ecx, edi
call fcn.00596ed0
mov ecx, dword [esp + 0x10]
mov dl, 1
mov eax, dword [ecx - 8]
inc esi
cmp esi, eax
jl 0x4982e2
jmp 0x49845f
lea edx, [esp + 0x10]
lea ecx, [ebx + 0xbc]
push edx
jmp 0x49835a
lea eax, [esp + 0x10]
lea ecx, [ebx + 0xc0]
push eax
call sub.MFC42.DLL_CString::operator_1
mov al, byte [esp + 0x20]
test al, al
jne 0x49845f
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov esi, dword [edx - 8]
test esi, esi
jle 0x49845f
mov al, byte [ecx + edx]
cmp al, 0x30
jl 0x498391
cmp al, 0x39
jg 0x498391
inc ecx
cmp ecx, esi
jl 0x49837c
jmp 0x49845f
push 0x1d
push 0x1c
lea ecx, [esp + 0x20]
push 0x619f8c
push ecx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call fcn.0059716a
mov byte [esp + 0x20], 1
inc ebp
mov ecx, 5
mov eax, ebp
cdq
idiv ecx
test edx, edx
jne 0x49845f
mov ecx, dword [esp + 0x14]
push 0xd
jmp 0x49845a
lea edx, [esp + 0x10]
lea ecx, [ebx + 0xc4]
push edx
jmp 0x4983f0
lea eax, [esp + 0x10]
lea ecx, [ebx + 0xc8]
push eax
call sub.MFC42.DLL_CString::operator_1
mov al, byte [esp + 0x1c]
test al, al
jne 0x49845f
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov esi, dword [edx - 8]
test esi, esi
jle 0x49845f
mov al, byte [ecx + edx]
cmp al, 0x30
jl 0x49841c
cmp al, 0x39
jg 0x49841c
inc ecx
cmp ecx, esi
jl 0x49840a
jmp 0x49845f
push 0x1d
push 0x1c
lea ecx, [esp + 0x20]
push 0x619f70
push ecx
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x18]
mov ecx, esi
push edx
call fcn.0059716a
inc ebp
mov ecx, 5
mov eax, ebp
mov byte [esp + 0x1c], 1
cdq
idiv ecx
test edx, edx
jne 0x49845f
push 0xd
mov ecx, esi
call fcn.00596ed0
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Empty
mov eax, dword [esp + 0x2c]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov ebx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x2c], eax
jmp 0x498487
push eax
lea ecx, [esp + 0x28]
call fcn.00596ed0
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0xbc]
or ecx, 0xffffffff
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
mov dword [esp + 0x30], edx
cmp edx, ecx
jl 0x497557
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
mov ecx, dword [eax - 4]
cmp byte [eax + ecx - 1], 0xd
je 0x4984c4
push 0xd
mov ecx, esi
call fcn.00596ed0
mov edx, dword [esi]
lea ecx, [esp + 0x18]
mov byte [esp + 0xd8], 1
mov eax, dword [edx - 8]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0xd8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
mov al, bl
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xcc
ret 8