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

Disassembly:
push 0xffffffffffffffff
push 0x5aaeaa
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.004954a0
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 0x4979bf
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 0x497997
cmp al, 0xd
je 0x497997
cmp al, 0x1a
jne 0x49798d
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.004d15e0
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 0x496c4e
cmp eax, 2
jg 0x496c4e
test eax, eax
jne 0x496afd
lea edx, [esp + 0x10]
lea ecx, [ebx + 0xac]
push edx
jmp 0x496b1f
cmp eax, 1
jne 0x496b0f
lea eax, [esp + 0x10]
lea ecx, [ebx + 0xb0]
push eax
jmp 0x496b1f
cmp eax, 2
jne 0x496b24
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 0x496bf6
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 0x496bf6
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 0x496bf6
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 0x496bf6
mov bl, 1
jmp 0x496bf8
xor bl, bl
lea ecx, [esp + 0x88]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49796f
mov al, byte [esp + 0x23]
test al, al
jne 0x49796f
push 0x1d
push 0x1c
lea ecx, [esp + 0x20]
push 0x6151e0
push ecx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call fcn.00592f4a
mov byte [esp + 0x23], 1
jmp 0x4978ca
cmp eax, 3
jne 0x496d77
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 0x496d30
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 0x496d30
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 0x496d30
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 0x496d30
mov bl, 1
jmp 0x496d32
xor bl, bl
lea ecx, [esp + 0x90]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49796f
push 0x1d
push 0x1c
push 0x6151c4
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.00592f4a
jmp 0x4978ca
cmp eax, 4
jl 0x496dea
cmp eax, 0xf
jg 0x496dea
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 0x49796f
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
cmp eax, 2
je 0x49796f
test eax, eax
je 0x49796f
push 0x1d
push 0x1c
lea ecx, [esp + 0x20]
push 0x6151a8
push ecx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call fcn.00592f4a
mov byte [esp + 0x22], 1
jmp 0x4978ca
cmp eax, 0x10
jne 0x496eef
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 0x496ec6
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 0x496ec6
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 0x496ec6
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 0x496ec6
mov bl, 1
jmp 0x496ec8
xor bl, bl
lea ecx, [esp + 0x34]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49796f
push 0x1d
push 0x1c
push 0x61518c
jmp 0x496d57
cmp eax, 0x11
jl 0x496f62
cmp eax, 0x1c
jg 0x496f62
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 0x49796f
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
cmp eax, 3
je 0x49796f
test eax, eax
je 0x49796f
push 0x1d
push 0x1c
lea ecx, [esp + 0x18]
push 0x615170
push ecx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call fcn.00592f4a
mov byte [esp + 0x1d], 1
jmp 0x4978ca
cmp eax, 0x1d
jne 0x497070
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 0x497044
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 0x497044
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 0x497044
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 0x497044
mov bl, 1
jmp 0x497046
xor bl, bl
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49796f
push 0x1d
push 0x1c
push 0x615154
jmp 0x496d57
cmp eax, 0x1e
jl 0x4970e3
cmp eax, 0x29
jg 0x4970e3
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 0x49796f
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
cmp eax, 3
je 0x49796f
test eax, eax
je 0x49796f
push 0x1d
push 0x1c
lea ecx, [esp + 0x18]
push 0x615138
push ecx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call fcn.00592f4a
mov byte [esp + 0x1f], 1
jmp 0x4978ca
cmp eax, 0x2a
jne 0x4971f4
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 0x4971cb
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 0x4971cb
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 0x4971cb
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 0x4971cb
mov bl, 1
jmp 0x4971cd
xor bl, bl
lea ecx, [esp + 0x38]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49796f
push 0x1d
push 0x1c
push 0x61511c
jmp 0x496d57
cmp eax, 0x2b
jl 0x497267
cmp eax, 0x36
jg 0x497267
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 0x49796f
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
cmp eax, 3
je 0x49796f
test eax, eax
je 0x49796f
push 0x1d
push 0x1c
lea ecx, [esp + 0x18]
push 0x615100
push ecx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call fcn.00592f4a
mov byte [esp + 0x1e], 1
jmp 0x4978ca
cmp eax, 0x37
jne 0x497363
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 0x49733a
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 0x49733a
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 0x49733a
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 0x49733a
mov bl, 1
jmp 0x49733c
xor bl, bl
lea ecx, [esp + 0x54]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49796f
push 0x1d
push 0x1c
push 0x6150e4
jmp 0x496d57
cmp eax, 0x38
jl 0x4973d6
cmp eax, 0x3f
jg 0x4973d6
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 0x49796f
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
test eax, eax
je 0x49796f
cmp eax, 5
jge 0x49796f
push 0x1d
push 0x1c
lea ecx, [esp + 0x18]
push 0x6150c8
push ecx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call fcn.00592f4a
mov byte [esp + 0x21], 1
jmp 0x4978ca
cmp eax, 0x40
jne 0x4974d2
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 0x4974a9
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 0x4974a9
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 0x4974a9
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 0x4974a9
mov bl, 1
jmp 0x4974ab
xor bl, bl
lea ecx, [esp + 0x74]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49796f
push 0x1d
push 0x1c
push 0x6150b0
jmp 0x496d57
cmp eax, 0x41
jne 0x497543
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 0x49796f
mov al, byte [ecx + edx]
cmp al, 0x41
jl 0x49751a
cmp al, 0x5a
jg 0x49751a
inc ecx
cmp ecx, esi
jl 0x497505
jmp 0x49796f
push 0x1d
push 0x1c
lea ecx, [esp + 0x20]
push 0x615098
push ecx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call fcn.00592f4a
jmp 0x4978ca
cmp eax, 0x42
jne 0x49765d
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 0x497631
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 0x497631
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 0x497631
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 0x497631
mov bl, 1
jmp 0x497633
xor bl, bl
lea ecx, [esp + 0x94]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49796f
push 0x1d
push 0x1c
push 0x61507c
jmp 0x496d57
cmp eax, 0x43
je 0x4978e8
cmp eax, 0x44
je 0x4978f5
cmp eax, 0x45
jne 0x49778f
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 0x497763
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 0x497763
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 0x497763
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 0x497763
mov bl, 1
jmp 0x497765
xor bl, bl
lea ecx, [esp + 0xb4]
mov byte [esp + 0xd8], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49796f
push 0x1d
push 0x1c
push 0x615060
jmp 0x496d57
cmp eax, 0x46
je 0x497852
cmp eax, 0x47
je 0x49785f
cmp eax, 0x48
jne 0x4977b8
lea edx, [esp + 0x10]
lea ecx, [ebx + 0x3c]
push edx
call sub.MFC42.DLL_CString::operator_1
jmp 0x49796f
cmp eax, 0x49
jne 0x49796f
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 0x4977e4
mov dl, 1
xor esi, esi
test eax, eax
jle 0x49796f
mov edi, dword [esp + 0x14]
test dl, dl
jne 0x497845
mov al, byte [esi + ecx]
cmp al, 0x30
jge 0x497845
cmp al, 0x39
jle 0x497845
cmp al, 0x2e
je 0x497845
push 0x1d
push 0x1c
lea edx, [esp + 0x20]
push 0x615048
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.00592f4a
inc ebp
mov ecx, 5
mov eax, ebp
cdq
idiv ecx
test edx, edx
jne 0x49783f
push 0xd
mov ecx, edi
call fcn.00592cb0
mov ecx, dword [esp + 0x10]
mov dl, 1
mov eax, dword [ecx - 8]
inc esi
cmp esi, eax
jl 0x4977f2
jmp 0x49796f
lea edx, [esp + 0x10]
lea ecx, [ebx + 0xbc]
push edx
jmp 0x49786a
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 0x49796f
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov esi, dword [edx - 8]
test esi, esi
jle 0x49796f
mov al, byte [ecx + edx]
cmp al, 0x30
jl 0x4978a1
cmp al, 0x39
jg 0x4978a1
inc ecx
cmp ecx, esi
jl 0x49788c
jmp 0x49796f
push 0x1d
push 0x1c
lea ecx, [esp + 0x20]
push 0x61502c
push ecx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call fcn.00592f4a
mov byte [esp + 0x20], 1
inc ebp
mov ecx, 5
mov eax, ebp
cdq
idiv ecx
test edx, edx
jne 0x49796f
mov ecx, dword [esp + 0x14]
push 0xd
jmp 0x49796a
lea edx, [esp + 0x10]
lea ecx, [ebx + 0xc4]
push edx
jmp 0x497900
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 0x49796f
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov esi, dword [edx - 8]
test esi, esi
jle 0x49796f
mov al, byte [ecx + edx]
cmp al, 0x30
jl 0x49792c
cmp al, 0x39
jg 0x49792c
inc ecx
cmp ecx, esi
jl 0x49791a
jmp 0x49796f
push 0x1d
push 0x1c
lea ecx, [esp + 0x20]
push 0x615010
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.00592f4a
inc ebp
mov ecx, 5
mov eax, ebp
mov byte [esp + 0x1c], 1
cdq
idiv ecx
test edx, edx
jne 0x49796f
push 0xd
mov ecx, esi
call fcn.00592cb0
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 0x497997
push eax
lea ecx, [esp + 0x28]
call fcn.00592cb0
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 0x496a67
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
mov ecx, dword [eax - 4]
cmp byte [eax + ecx - 1], 0xd
je 0x4979d4
push 0xd
mov ecx, esi
call fcn.00592cb0
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