Function at 0x4047e0
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 0x404e78
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
test edx, edx
je 0x404e46
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
cmp ecx, 0x7f
jge 0x404e46
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x20
jle 0x404e46
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
cmp edx, 0x5e
jne 0x404b4a
cmp dword [ebp + 0x4c], 0x19
jbe 0x404b4a
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 0x404894
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.00405170
add esp, 4
cmp eax, 1
jne 0x404894
mov dword [ebp + 0x5c], 1
jmp 0x4048c8
mov ecx, dword [ebp + 0x58]
movzx edx, byte [ecx]
push edx
call fcn.00405170
add esp, 4
cmp eax, 1
jne 0x4048b1
mov dword [ebp + 0x5c], 0
jmp 0x4048c8
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 0x4047f9
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.004051a0
add esp, 0xc
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404b4a
cmp dword [ebp + 0x5c], 0
jne 0x404906
mov edx, dword [ebp + 0x68]
sub edx, 1
mov eax, dword [ebp + 0x6c]
sub eax, edx
mov dword [ebp + 0x6c], eax
jmp 0x404915
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 0x40494f
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 0x404963
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.00405080
add esp, 8
cmp eax, 1
jne 0x404b4a
cmp dword [ebp + 0x5c], 0
jne 0x40499c
mov ecx, dword [ebp + 0x6c]
add ecx, dword [ebp + 0x68]
mov dword [ebp + 0x6c], ecx
jmp 0x4049a8
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 0x404b4a
mov ecx, dword [ebp + 0x5c]
push ecx
mov edx, dword [ebp + 0x6c]
push edx
call fcn.00405280
add esp, 8
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404b4a
cmp dword [ebp + 0x5c], 0
jne 0x4049e5
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x68]
mov dword [ebp + 0x6c], eax
jmp 0x4049f1
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.004052f0
add esp, 0x10
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404b4a
cmp dword [ebp + 0x5c], 0
jne 0x404a35
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x68]
mov dword [ebp + 0x6c], eax
jmp 0x404a41
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 0x404a9a
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 0x404ab6
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 [0x4071e0]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x404b4a
mov eax, dword [ebp + 0x64]
add eax, 3
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.00404ef0
add esp, 8
mov edx, dword [ebp + 0x64]
add edx, 3
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.00404e80
add esp, 8
mov ecx, dword [ebp + 0x64]
sub ecx, dword [ebp + 0x48]
mov dword [ebp + 0x64], ecx
cmp dword [ebp + 0x5c], 0
jne 0x404b2a
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 0x404b43
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 0x404b64
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x44
jne 0x404e46
cmp dword [ebp + 0x4c], 0x19
jbe 0x404e46
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 0x404bb4
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.00405170
add esp, 4
cmp eax, 1
jne 0x404bb4
mov dword [ebp + 0x5c], 1
jmp 0x404be8
mov edx, dword [ebp + 0x58]
movzx eax, byte [edx]
push eax
call fcn.00405170
add esp, 4
cmp eax, 1
jne 0x404bd1
mov dword [ebp + 0x5c], 0
jmp 0x404be8
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 0x4047f9
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.004051a0
add esp, 0xc
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404e46
cmp dword [ebp + 0x5c], 0
jne 0x404c26
mov eax, dword [ebp + 0x68]
sub eax, 1
mov ecx, dword [ebp + 0x6c]
sub ecx, eax
mov dword [ebp + 0x6c], ecx
jmp 0x404c35
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 0x404c6f
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 0x404c83
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.00405080
add esp, 8
cmp eax, 1
jne 0x404e46
cmp dword [ebp + 0x5c], 0
jne 0x404cbc
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x68]
mov dword [ebp + 0x6c], edx
jmp 0x404cc8
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 0x404ce2
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x44
jne 0x404e46
cmp dword [ebp + 0x5c], 0
jne 0x404cf3
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
jmp 0x404cfc
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.004052f0
add esp, 0x10
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0xffffffff
je 0x404e46
cmp dword [ebp + 0x5c], 0
jne 0x404d40
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x68]
mov dword [ebp + 0x6c], edx
jmp 0x404d4c
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 0x404d96
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 0x404db2
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 [0x4071e0]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x404e46
mov eax, dword [ebp + 0x64]
add eax, 2
push eax
lea ecx, [ebp + 0xc]
push ecx
call fcn.00404ef0
add esp, 8
mov edx, dword [ebp + 0x64]
add edx, 2
push edx
lea eax, [ebp + 0xc]
push eax
call fcn.00404e80
add esp, 8
mov ecx, dword [ebp + 0x64]
sub ecx, dword [ebp + 0x48]
mov dword [ebp + 0x64], ecx
cmp dword [ebp + 0x5c], 0
jne 0x404e26
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 0x404e3f
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 0x404e58
mov dword [ebp + 0x50], 0
jmp 0x404803
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 0x4047f9
add ebp, 0x70
mov esp, ebp
pop ebp
ret