Function at 0x4046e0
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 0x404d78
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
test edx, edx
je 0x404d46
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
cmp ecx, 0x7f
jge 0x404d46
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x20
jle 0x404d46
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
cmp edx, 0x5e
jne 0x404a4a
cmp dword [ebp + 0x4c], 0x19
jbe 0x404a4a
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 0x404794
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.00405070
add esp, 4
cmp eax, 1
jne 0x404794
mov dword [ebp + 0x5c], 1
jmp 0x4047c8
mov ecx, dword [ebp + 0x58]
movzx edx, byte [ecx]
push edx
call fcn.00405070
add esp, 4
cmp eax, 1
jne 0x4047b1
mov dword [ebp + 0x5c], 0
jmp 0x4047c8
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 0x4046f9
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.004050a0
add esp, 0xc
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404a4a
cmp dword [ebp + 0x5c], 0
jne 0x404806
mov edx, dword [ebp + 0x68]
sub edx, 1
mov eax, dword [ebp + 0x6c]
sub eax, edx
mov dword [ebp + 0x6c], eax
jmp 0x404815
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 0x40484f
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 0x404863
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.00404f80
add esp, 8
cmp eax, 1
jne 0x404a4a
cmp dword [ebp + 0x5c], 0
jne 0x40489c
mov ecx, dword [ebp + 0x6c]
add ecx, dword [ebp + 0x68]
mov dword [ebp + 0x6c], ecx
jmp 0x4048a8
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 0x404a4a
mov ecx, dword [ebp + 0x5c]
push ecx
mov edx, dword [ebp + 0x6c]
push edx
call fcn.00405180
add esp, 8
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404a4a
cmp dword [ebp + 0x5c], 0
jne 0x4048e5
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x68]
mov dword [ebp + 0x6c], eax
jmp 0x4048f1
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.004051f0
add esp, 0x10
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404a4a
cmp dword [ebp + 0x5c], 0
jne 0x404935
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x68]
mov dword [ebp + 0x6c], eax
jmp 0x404941
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 0x40499a
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 0x4049b6
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 [0x4072c0]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x404a4a
mov eax, dword [ebp + 0x64]
add eax, 3
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.00404df0
add esp, 8
mov edx, dword [ebp + 0x64]
add edx, 3
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.00404d80
add esp, 8
mov ecx, dword [ebp + 0x64]
sub ecx, dword [ebp + 0x48]
mov dword [ebp + 0x64], ecx
cmp dword [ebp + 0x5c], 0
jne 0x404a2a
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 0x404a43
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 0x404a64
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x44
jne 0x404d46
cmp dword [ebp + 0x4c], 0x19
jbe 0x404d46
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 0x404ab4
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.00405070
add esp, 4
cmp eax, 1
jne 0x404ab4
mov dword [ebp + 0x5c], 1
jmp 0x404ae8
mov edx, dword [ebp + 0x58]
movzx eax, byte [edx]
push eax
call fcn.00405070
add esp, 4
cmp eax, 1
jne 0x404ad1
mov dword [ebp + 0x5c], 0
jmp 0x404ae8
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 0x4046f9
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.004050a0
add esp, 0xc
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404d46
cmp dword [ebp + 0x5c], 0
jne 0x404b26
mov eax, dword [ebp + 0x68]
sub eax, 1
mov ecx, dword [ebp + 0x6c]
sub ecx, eax
mov dword [ebp + 0x6c], ecx
jmp 0x404b35
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 0x404b6f
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 0x404b83
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.00404f80
add esp, 8
cmp eax, 1
jne 0x404d46
cmp dword [ebp + 0x5c], 0
jne 0x404bbc
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x68]
mov dword [ebp + 0x6c], edx
jmp 0x404bc8
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 0x404be2
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x44
jne 0x404d46
cmp dword [ebp + 0x5c], 0
jne 0x404bf3
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
jmp 0x404bfc
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.004051f0
add esp, 0x10
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404d46
cmp dword [ebp + 0x5c], 0
jne 0x404c40
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x68]
mov dword [ebp + 0x6c], edx
jmp 0x404c4c
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 0x404c96
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 0x404cb2
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 [0x4072c0]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x404d46
mov eax, dword [ebp + 0x64]
add eax, 2
push eax
lea ecx, [ebp + 0xc]
push ecx
call fcn.00404df0
add esp, 8
mov edx, dword [ebp + 0x64]
add edx, 2
push edx
lea eax, [ebp + 0xc]
push eax
call fcn.00404d80
add esp, 8
mov ecx, dword [ebp + 0x64]
sub ecx, dword [ebp + 0x48]
mov dword [ebp + 0x64], ecx
cmp dword [ebp + 0x5c], 0
jne 0x404d26
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 0x404d3f
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 0x404d58
mov dword [ebp + 0x50], 0
jmp 0x404703
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 0x4046f9
add ebp, 0x70
mov esp, ebp
pop ebp
ret