Function at 0x404610
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 0x404ca8
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
test edx, edx
je 0x404c76
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
cmp ecx, 0x7f
jge 0x404c76
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x20
jle 0x404c76
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
cmp edx, 0x5e
jne 0x40497a
cmp dword [ebp + 0x4c], 0x19
jbe 0x40497a
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 0x4046c4
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.00404fa0
add esp, 4
cmp eax, 1
jne 0x4046c4
mov dword [ebp + 0x5c], 1
jmp 0x4046f8
mov ecx, dword [ebp + 0x58]
movzx edx, byte [ecx]
push edx
call fcn.00404fa0
add esp, 4
cmp eax, 1
jne 0x4046e1
mov dword [ebp + 0x5c], 0
jmp 0x4046f8
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 0x404629
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.00404fd0
add esp, 0xc
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x40497a
cmp dword [ebp + 0x5c], 0
jne 0x404736
mov edx, dword [ebp + 0x68]
sub edx, 1
mov eax, dword [ebp + 0x6c]
sub eax, edx
mov dword [ebp + 0x6c], eax
jmp 0x404745
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 0x40477f
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 0x404793
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.00404eb0
add esp, 8
cmp eax, 1
jne 0x40497a
cmp dword [ebp + 0x5c], 0
jne 0x4047cc
mov ecx, dword [ebp + 0x6c]
add ecx, dword [ebp + 0x68]
mov dword [ebp + 0x6c], ecx
jmp 0x4047d8
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 0x40497a
mov ecx, dword [ebp + 0x5c]
push ecx
mov edx, dword [ebp + 0x6c]
push edx
call fcn.004050b0
add esp, 8
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x40497a
cmp dword [ebp + 0x5c], 0
jne 0x404815
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x68]
mov dword [ebp + 0x6c], eax
jmp 0x404821
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.00405120
add esp, 0x10
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x40497a
cmp dword [ebp + 0x5c], 0
jne 0x404865
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x68]
mov dword [ebp + 0x6c], eax
jmp 0x404871
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 0x4048ca
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 0x4048e6
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 0x40497a
mov eax, dword [ebp + 0x64]
add eax, 3
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.00404d20
add esp, 8
mov edx, dword [ebp + 0x64]
add edx, 3
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.00404cb0
add esp, 8
mov ecx, dword [ebp + 0x64]
sub ecx, dword [ebp + 0x48]
mov dword [ebp + 0x64], ecx
cmp dword [ebp + 0x5c], 0
jne 0x40495a
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 0x404973
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 0x404994
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x44
jne 0x404c76
cmp dword [ebp + 0x4c], 0x19
jbe 0x404c76
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 0x4049e4
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.00404fa0
add esp, 4
cmp eax, 1
jne 0x4049e4
mov dword [ebp + 0x5c], 1
jmp 0x404a18
mov edx, dword [ebp + 0x58]
movzx eax, byte [edx]
push eax
call fcn.00404fa0
add esp, 4
cmp eax, 1
jne 0x404a01
mov dword [ebp + 0x5c], 0
jmp 0x404a18
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 0x404629
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.00404fd0
add esp, 0xc
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404c76
cmp dword [ebp + 0x5c], 0
jne 0x404a56
mov eax, dword [ebp + 0x68]
sub eax, 1
mov ecx, dword [ebp + 0x6c]
sub ecx, eax
mov dword [ebp + 0x6c], ecx
jmp 0x404a65
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 0x404a9f
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 0x404ab3
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.00404eb0
add esp, 8
cmp eax, 1
jne 0x404c76
cmp dword [ebp + 0x5c], 0
jne 0x404aec
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x68]
mov dword [ebp + 0x6c], edx
jmp 0x404af8
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 0x404b12
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x44
jne 0x404c76
cmp dword [ebp + 0x5c], 0
jne 0x404b23
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
jmp 0x404b2c
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.00405120
add esp, 0x10
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404c76
cmp dword [ebp + 0x5c], 0
jne 0x404b70
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x68]
mov dword [ebp + 0x6c], edx
jmp 0x404b7c
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 0x404bc6
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 0x404be2
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 0x404c76
mov eax, dword [ebp + 0x64]
add eax, 2
push eax
lea ecx, [ebp + 0xc]
push ecx
call fcn.00404d20
add esp, 8
mov edx, dword [ebp + 0x64]
add edx, 2
push edx
lea eax, [ebp + 0xc]
push eax
call fcn.00404cb0
add esp, 8
mov ecx, dword [ebp + 0x64]
sub ecx, dword [ebp + 0x48]
mov dword [ebp + 0x64], ecx
cmp dword [ebp + 0x5c], 0
jne 0x404c56
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 0x404c6f
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 0x404c88
mov dword [ebp + 0x50], 0
jmp 0x404633
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 0x404629
add ebp, 0x70
mov esp, ebp
pop ebp
ret