Function at 0x404760
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 0x404df8
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
test edx, edx
je 0x404dc6
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
cmp ecx, 0x7f
jge 0x404dc6
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x20
jle 0x404dc6
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
cmp edx, 0x5e
jne 0x404aca
cmp dword [ebp + 0x4c], 0x19
jbe 0x404aca
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 0x404814
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.004050f0
add esp, 4
cmp eax, 1
jne 0x404814
mov dword [ebp + 0x5c], 1
jmp 0x404848
mov ecx, dword [ebp + 0x58]
movzx edx, byte [ecx]
push edx
call fcn.004050f0
add esp, 4
cmp eax, 1
jne 0x404831
mov dword [ebp + 0x5c], 0
jmp 0x404848
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 0x404779
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.00405120
add esp, 0xc
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404aca
cmp dword [ebp + 0x5c], 0
jne 0x404886
mov edx, dword [ebp + 0x68]
sub edx, 1
mov eax, dword [ebp + 0x6c]
sub eax, edx
mov dword [ebp + 0x6c], eax
jmp 0x404895
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 0x4048cf
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 0x4048e3
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.00405000
add esp, 8
cmp eax, 1
jne 0x404aca
cmp dword [ebp + 0x5c], 0
jne 0x40491c
mov ecx, dword [ebp + 0x6c]
add ecx, dword [ebp + 0x68]
mov dword [ebp + 0x6c], ecx
jmp 0x404928
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 0x404aca
mov ecx, dword [ebp + 0x5c]
push ecx
mov edx, dword [ebp + 0x6c]
push edx
call fcn.00405200
add esp, 8
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404aca
cmp dword [ebp + 0x5c], 0
jne 0x404965
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x68]
mov dword [ebp + 0x6c], eax
jmp 0x404971
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.00405270
add esp, 0x10
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404aca
cmp dword [ebp + 0x5c], 0
jne 0x4049b5
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x68]
mov dword [ebp + 0x6c], eax
jmp 0x4049c1
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 0x404a1a
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 0x404a36
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 [0x407200]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x404aca
mov eax, dword [ebp + 0x64]
add eax, 3
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.00404e70
add esp, 8
mov edx, dword [ebp + 0x64]
add edx, 3
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.00404e00
add esp, 8
mov ecx, dword [ebp + 0x64]
sub ecx, dword [ebp + 0x48]
mov dword [ebp + 0x64], ecx
cmp dword [ebp + 0x5c], 0
jne 0x404aaa
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 0x404ac3
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 0x404ae4
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x44
jne 0x404dc6
cmp dword [ebp + 0x4c], 0x19
jbe 0x404dc6
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 0x404b34
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.004050f0
add esp, 4
cmp eax, 1
jne 0x404b34
mov dword [ebp + 0x5c], 1
jmp 0x404b68
mov edx, dword [ebp + 0x58]
movzx eax, byte [edx]
push eax
call fcn.004050f0
add esp, 4
cmp eax, 1
jne 0x404b51
mov dword [ebp + 0x5c], 0
jmp 0x404b68
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 0x404779
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.00405120
add esp, 0xc
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404dc6
cmp dword [ebp + 0x5c], 0
jne 0x404ba6
mov eax, dword [ebp + 0x68]
sub eax, 1
mov ecx, dword [ebp + 0x6c]
sub ecx, eax
mov dword [ebp + 0x6c], ecx
jmp 0x404bb5
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 0x404bef
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 0x404c03
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.00405000
add esp, 8
cmp eax, 1
jne 0x404dc6
cmp dword [ebp + 0x5c], 0
jne 0x404c3c
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x68]
mov dword [ebp + 0x6c], edx
jmp 0x404c48
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 0x404c62
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x44
jne 0x404dc6
cmp dword [ebp + 0x5c], 0
jne 0x404c73
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
jmp 0x404c7c
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.00405270
add esp, 0x10
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404dc6
cmp dword [ebp + 0x5c], 0
jne 0x404cc0
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x68]
mov dword [ebp + 0x6c], edx
jmp 0x404ccc
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 0x404d16
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 0x404d32
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 [0x407200]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x404dc6
mov eax, dword [ebp + 0x64]
add eax, 2
push eax
lea ecx, [ebp + 0xc]
push ecx
call fcn.00404e70
add esp, 8
mov edx, dword [ebp + 0x64]
add edx, 2
push edx
lea eax, [ebp + 0xc]
push eax
call fcn.00404e00
add esp, 8
mov ecx, dword [ebp + 0x64]
sub ecx, dword [ebp + 0x48]
mov dword [ebp + 0x64], ecx
cmp dword [ebp + 0x5c], 0
jne 0x404da6
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 0x404dbf
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 0x404dd8
mov dword [ebp + 0x50], 0
jmp 0x404783
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 0x404779
add ebp, 0x70
mov esp, ebp
pop ebp
ret