Function at 0x404880
Capabilities:
Parse credit card information

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xb4
mov dword [ebp + 0x50], 0
mov dword [ebp + 0x4c], 0
cmp dword [ebp + 0x7c], 0
jbe 0x404f18
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
test edx, edx
je 0x404ee6
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
cmp ecx, 0x7f
jge 0x404ee6
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x20
jle 0x404ee6
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
cmp edx, 0x5e
jne 0x404bea
cmp dword [ebp + 0x4c], 0x19
jbe 0x404bea
mov dword [ebp + 0x64], 0
mov eax, dword [ebp + 0x6c]
sub eax, 1
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x6c]
mov dword [ebp + 0x58], ecx
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
test eax, eax
jne 0x404934
mov ecx, dword [ebp + 0x6c]
sub ecx, 1
mov dword [ebp + 0x6c], ecx
mov edx, dword [ebp + 0x6c]
movzx eax, byte [edx]
push eax
call fcn.00405210
add esp, 4
cmp eax, 1
jne 0x404934
mov dword [ebp + 0x5c], 1
jmp 0x404968
mov ecx, dword [ebp + 0x58]
movzx edx, byte [ecx]
push edx
call fcn.00405210
add esp, 4
cmp eax, 1
jne 0x404951
mov dword [ebp + 0x5c], 0
jmp 0x404968
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 0x404899
mov dword [ebp + 0x54], 0
mov edx, dword [ebp + 0x54]
push edx
mov eax, dword [ebp + 0x5c]
push eax
mov ecx, dword [ebp + 0x6c]
push ecx
call fcn.00405240
add esp, 0xc
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404bea
cmp dword [ebp + 0x5c], 0
jne 0x4049a6
mov edx, dword [ebp + 0x68]
sub edx, 1
mov eax, dword [ebp + 0x6c]
sub eax, edx
mov dword [ebp + 0x6c], eax
jmp 0x4049b5
mov ecx, dword [ebp + 0x68]
lea edx, [ecx + ecx - 2]
mov eax, dword [ebp + 0x6c]
sub eax, edx
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x6c]
mov dword [ebp + 0x58], ecx
push 0x14
push 0
lea edx, [ebp + 0x34]
push edx
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x5c], 1
jne 0x4049ef
push 0
push 0
push 0x14
lea eax, [ebp + 0x34]
push eax
mov ecx, dword [ebp + 0x68]
push ecx
mov edx, dword [ebp + 0x6c]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x404a03
mov eax, dword [ebp + 0x68]
push eax
mov ecx, dword [ebp + 0x6c]
push ecx
lea edx, [ebp + 0x34]
push edx
call fcn.00401980
add esp, 0xc
mov eax, dword [ebp + 0x64]
add eax, dword [ebp + 0x68]
mov dword [ebp + 0x64], eax
mov ecx, dword [ebp + 0x68]
mov dword [ebp + 0x48], ecx
mov edx, dword [ebp + 0x68]
push edx
lea eax, [ebp + 0x34]
push eax
call fcn.00405120
add esp, 8
cmp eax, 1
jne 0x404bea
cmp dword [ebp + 0x5c], 0
jne 0x404a3c
mov ecx, dword [ebp + 0x6c]
add ecx, dword [ebp + 0x68]
mov dword [ebp + 0x6c], ecx
jmp 0x404a48
mov edx, dword [ebp + 0x68]
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 0x404bea
mov ecx, dword [ebp + 0x5c]
push ecx
mov edx, dword [ebp + 0x6c]
push edx
call fcn.00405320
add esp, 8
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404bea
cmp dword [ebp + 0x5c], 0
jne 0x404a85
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x68]
mov dword [ebp + 0x6c], eax
jmp 0x404a91
mov ecx, dword [ebp + 0x68]
mov edx, dword [ebp + 0x6c]
lea eax, [edx + ecx*2]
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x64]
add ecx, dword [ebp + 0x68]
mov dword [ebp + 0x64], ecx
mov edx, 0x4f
sub edx, dword [ebp + 0x64]
push edx
mov eax, dword [ebp + 0x54]
push eax
mov ecx, dword [ebp + 0x5c]
push ecx
mov edx, dword [ebp + 0x6c]
push edx
call fcn.00405390
add esp, 0x10
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404bea
cmp dword [ebp + 0x5c], 0
jne 0x404ad5
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x68]
mov dword [ebp + 0x6c], eax
jmp 0x404ae1
mov ecx, dword [ebp + 0x68]
mov edx, dword [ebp + 0x6c]
lea eax, [edx + ecx*2]
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x64]
add ecx, dword [ebp + 0x68]
mov dword [ebp + 0x64], ecx
push 0x4f
push 0
lea edx, [ebp - 0x44]
push edx
call fcn.00401940
add esp, 0xc
lea eax, [ebp - 0x44]
mov dword [ebp + 0x60], eax
mov ecx, dword [ebp + 0x60]
mov byte [ecx], 0x25
mov edx, dword [ebp + 0x60]
add edx, 1
mov dword [ebp + 0x60], edx
mov eax, dword [ebp + 0x60]
mov byte [eax], 0x42
mov ecx, dword [ebp + 0x60]
add ecx, 1
mov dword [ebp + 0x60], ecx
cmp dword [ebp + 0x5c], 0
jne 0x404b3a
mov edx, dword [ebp + 0x64]
push edx
mov eax, dword [ebp + 0x58]
push eax
mov ecx, dword [ebp + 0x60]
push ecx
call fcn.00401980
add esp, 0xc
jmp 0x404b56
push 0
push 0
push 0x4f
mov edx, dword [ebp + 0x60]
push edx
mov eax, dword [ebp + 0x64]
push eax
mov ecx, dword [ebp + 0x58]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [ebp + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, dword [ebp + 0x60]
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x60]
mov byte [eax], 0x3f
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [0x407300]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x404bea
mov eax, dword [ebp + 0x64]
add eax, 3
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.00404f90
add esp, 8
mov edx, dword [ebp + 0x64]
add edx, 3
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.00404f20
add esp, 8
mov ecx, dword [ebp + 0x64]
sub ecx, dword [ebp + 0x48]
mov dword [ebp + 0x64], ecx
cmp dword [ebp + 0x5c], 0
jne 0x404bca
mov edx, dword [ebp + 0x78]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x78], edx
mov eax, dword [ebp + 0x7c]
sub eax, dword [ebp + 0x64]
mov dword [ebp + 0x7c], eax
jmp 0x404be3
mov ecx, dword [ebp + 0x64]
mov edx, dword [ebp + 0x78]
lea eax, [edx + ecx*2]
mov dword [ebp + 0x78], eax
mov ecx, dword [ebp + 0x64]
shl ecx, 1
mov edx, dword [ebp + 0x7c]
sub edx, ecx
mov dword [ebp + 0x7c], edx
mov dword [ebp + 0x50], 1
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
cmp ecx, 0x3d
je 0x404c04
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x44
jne 0x404ee6
cmp dword [ebp + 0x4c], 0x19
jbe 0x404ee6
mov dword [ebp + 0x64], 0
mov ecx, dword [ebp + 0x6c]
sub ecx, 1
mov dword [ebp + 0x6c], ecx
mov edx, dword [ebp + 0x6c]
mov dword [ebp + 0x58], edx
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x404c54
mov edx, dword [ebp + 0x6c]
sub 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 0x404c54
mov dword [ebp + 0x5c], 1
jmp 0x404c88
mov edx, dword [ebp + 0x58]
movzx eax, byte [edx]
push eax
call fcn.00405210
add esp, 4
cmp eax, 1
jne 0x404c71
mov dword [ebp + 0x5c], 0
jmp 0x404c88
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 0x404899
mov dword [ebp + 0x54], 0
mov eax, dword [ebp + 0x54]
push eax
mov ecx, dword [ebp + 0x5c]
push ecx
mov edx, dword [ebp + 0x6c]
push edx
call fcn.00405240
add esp, 0xc
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404ee6
cmp dword [ebp + 0x5c], 0
jne 0x404cc6
mov eax, dword [ebp + 0x68]
sub eax, 1
mov ecx, dword [ebp + 0x6c]
sub ecx, eax
mov dword [ebp + 0x6c], ecx
jmp 0x404cd5
mov edx, dword [ebp + 0x68]
lea eax, [edx + edx - 2]
mov ecx, dword [ebp + 0x6c]
sub ecx, eax
mov dword [ebp + 0x6c], ecx
mov edx, dword [ebp + 0x6c]
mov dword [ebp + 0x58], edx
push 0x14
push 0
lea eax, [ebp + 0x34]
push eax
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x5c], 1
jne 0x404d0f
push 0
push 0
push 0x14
lea ecx, [ebp + 0x34]
push ecx
mov edx, dword [ebp + 0x68]
push edx
mov eax, dword [ebp + 0x6c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x404d23
mov ecx, dword [ebp + 0x68]
push ecx
mov edx, dword [ebp + 0x6c]
push edx
lea eax, [ebp + 0x34]
push eax
call fcn.00401980
add esp, 0xc
mov ecx, dword [ebp + 0x64]
add ecx, dword [ebp + 0x68]
mov dword [ebp + 0x64], ecx
mov edx, dword [ebp + 0x68]
mov dword [ebp + 0x48], edx
mov eax, dword [ebp + 0x68]
push eax
lea ecx, [ebp + 0x34]
push ecx
call fcn.00405120
add esp, 8
cmp eax, 1
jne 0x404ee6
cmp dword [ebp + 0x5c], 0
jne 0x404d5c
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x68]
mov dword [ebp + 0x6c], edx
jmp 0x404d68
mov eax, dword [ebp + 0x68]
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 0x404d82
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x44
jne 0x404ee6
cmp dword [ebp + 0x5c], 0
jne 0x404d93
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
jmp 0x404d9c
mov edx, dword [ebp + 0x6c]
add edx, 2
mov dword [ebp + 0x6c], edx
mov eax, dword [ebp + 0x64]
add eax, 1
mov dword [ebp + 0x64], eax
mov ecx, 0x28
sub ecx, dword [ebp + 0x64]
push ecx
mov edx, dword [ebp + 0x54]
push edx
mov eax, dword [ebp + 0x5c]
push eax
mov ecx, dword [ebp + 0x6c]
push ecx
call fcn.00405390
add esp, 0x10
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404ee6
cmp dword [ebp + 0x5c], 0
jne 0x404de0
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x68]
mov dword [ebp + 0x6c], edx
jmp 0x404dec
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x6c]
lea edx, [ecx + eax*2]
mov dword [ebp + 0x6c], edx
mov eax, dword [ebp + 0x64]
add eax, dword [ebp + 0x68]
mov dword [ebp + 0x64], eax
push 0x28
push 0
lea ecx, [ebp + 0xc]
push ecx
call fcn.00401940
add esp, 0xc
lea edx, [ebp + 0xc]
mov dword [ebp + 0x60], edx
mov eax, dword [ebp + 0x60]
mov byte [eax], 0x3b
mov ecx, dword [ebp + 0x60]
add ecx, 1
mov dword [ebp + 0x60], ecx
cmp dword [ebp + 0x5c], 0
jne 0x404e36
mov edx, dword [ebp + 0x64]
push edx
mov eax, dword [ebp + 0x58]
push eax
mov ecx, dword [ebp + 0x60]
push ecx
call fcn.00401980
add esp, 0xc
jmp 0x404e52
push 0
push 0
push 0x28
mov edx, dword [ebp + 0x60]
push edx
mov eax, dword [ebp + 0x64]
push eax
mov ecx, dword [ebp + 0x58]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [ebp + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, dword [ebp + 0x60]
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x60]
mov byte [eax], 0x3f
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [0x407300]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x404ee6
mov eax, dword [ebp + 0x64]
add eax, 2
push eax
lea ecx, [ebp + 0xc]
push ecx
call fcn.00404f90
add esp, 8
mov edx, dword [ebp + 0x64]
add edx, 2
push edx
lea eax, [ebp + 0xc]
push eax
call fcn.00404f20
add esp, 8
mov ecx, dword [ebp + 0x64]
sub ecx, dword [ebp + 0x48]
mov dword [ebp + 0x64], ecx
cmp dword [ebp + 0x5c], 0
jne 0x404ec6
mov edx, dword [ebp + 0x78]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x78], edx
mov eax, dword [ebp + 0x7c]
sub eax, dword [ebp + 0x64]
mov dword [ebp + 0x7c], eax
jmp 0x404edf
mov ecx, dword [ebp + 0x64]
mov edx, dword [ebp + 0x78]
lea eax, [edx + ecx*2]
mov dword [ebp + 0x78], eax
mov ecx, dword [ebp + 0x64]
shl ecx, 1
mov edx, dword [ebp + 0x7c]
sub edx, ecx
mov dword [ebp + 0x7c], edx
mov dword [ebp + 0x50], 1
cmp dword [ebp + 0x50], 1
jne 0x404ef8
mov dword [ebp + 0x50], 0
jmp 0x4048a3
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
mov edx, dword [ebp + 0x4c]
add edx, 1
mov dword [ebp + 0x4c], edx
jmp 0x404899
add ebp, 0x70
mov esp, ebp
pop ebp
ret