Function at 0x403cf0
Capabilities:
Parse credit card information

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x114
mov dword [ebp + 0x54], 0
cmp dword [ebp + 0x7c], 0
jbe 0x404602
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
test edx, edx
je 0x4045d9
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
cmp ecx, 0x7f
jge 0x4045d9
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x20
jle 0x4045d9
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
cmp edx, 0x25
jne 0x404001
cmp dword [ebp + 0x7c], 0x4f
jbe 0x404001
mov dword [ebp + 0x68], 0
mov eax, dword [ebp + 0x6c]
add eax, 1
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x6c]
mov dword [ebp + 0x5c], ecx
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
test eax, eax
jne 0x403da8
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x42
je 0x403d96
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
cmp edx, 0x62
jne 0x403da8
mov dword [ebp + 0x60], 1
mov eax, dword [ebp + 0x6c]
add eax, 2
mov dword [ebp + 0x6c], eax
jmp 0x403de7
mov ecx, dword [ebp + 0x5c]
movsx edx, byte [ecx]
cmp edx, 0x42
je 0x403dbe
mov eax, dword [ebp + 0x5c]
movsx ecx, byte [eax]
cmp ecx, 0x62
jne 0x403dd0
mov dword [ebp + 0x60], 0
mov edx, dword [ebp + 0x6c]
add edx, 1
mov dword [ebp + 0x6c], edx
jmp 0x403de7
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 0x403d02
mov edx, dword [ebp + 0x68]
add edx, 2
mov dword [ebp + 0x68], edx
mov dword [ebp + 0x58], 1
mov eax, dword [ebp + 0x58]
push eax
mov ecx, dword [ebp + 0x60]
push ecx
mov edx, dword [ebp + 0x6c]
push edx
call fcn.00404fd0
add esp, 0xc
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404001
push 0x14
push 0
lea eax, [ebp + 0x40]
push eax
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 1
jne 0x403e4c
push 0
push 0
push 0x14
lea ecx, [ebp + 0x40]
push ecx
mov edx, dword [ebp + 0x64]
push edx
mov eax, dword [ebp + 0x6c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x403e60
mov ecx, dword [ebp + 0x64]
push ecx
mov edx, dword [ebp + 0x6c]
push edx
lea eax, [ebp + 0x40]
push eax
call fcn.00401980
add esp, 0xc
mov ecx, dword [ebp + 0x68]
add ecx, dword [ebp + 0x64]
mov dword [ebp + 0x68], ecx
mov edx, dword [ebp + 0x64]
push edx
lea eax, [ebp + 0x40]
push eax
call fcn.00404eb0
add esp, 8
cmp eax, 1
jne 0x404001
cmp dword [ebp + 0x60], 0
jne 0x403e93
mov ecx, dword [ebp + 0x6c]
add ecx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], ecx
jmp 0x403e9f
mov edx, dword [ebp + 0x64]
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 0x404001
mov ecx, dword [ebp + 0x60]
push ecx
mov edx, dword [ebp + 0x6c]
push edx
call fcn.004050b0
add esp, 8
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404001
cmp dword [ebp + 0x60], 0
jne 0x403edc
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x64]
mov dword [ebp + 0x6c], eax
jmp 0x403ee8
mov ecx, dword [ebp + 0x64]
mov edx, dword [ebp + 0x6c]
lea eax, [edx + ecx*2]
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x68]
add ecx, dword [ebp + 0x64]
mov dword [ebp + 0x68], ecx
mov edx, 0x4f
sub edx, dword [ebp + 0x68]
push edx
mov eax, dword [ebp + 0x58]
push eax
mov ecx, dword [ebp + 0x60]
push ecx
mov edx, dword [ebp + 0x6c]
push edx
call fcn.00405120
add esp, 0x10
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404001
cmp dword [ebp + 0x60], 0
jne 0x403f2c
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x64]
mov dword [ebp + 0x6c], eax
jmp 0x403f38
mov ecx, dword [ebp + 0x64]
mov edx, dword [ebp + 0x6c]
lea eax, [edx + ecx*2]
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x68]
add ecx, dword [ebp + 0x64]
mov dword [ebp + 0x68], ecx
mov edx, dword [ebp + 0x5c]
sub edx, 1
mov dword [ebp + 0x5c], edx
push 0x4f
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 0
jne 0x403f76
mov ecx, dword [ebp + 0x68]
push ecx
mov edx, dword [ebp + 0x5c]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.00401980
add esp, 0xc
jmp 0x403f92
push 0
push 0
push 0x4f
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp + 0x68]
push edx
mov eax, dword [ebp + 0x5c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [0x407200]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x404001
mov eax, dword [ebp + 0x68]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.00404d20
add esp, 8
mov edx, dword [ebp + 0x68]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.00404cb0
add esp, 8
cmp dword [ebp + 0x60], 0
jne 0x403fe1
mov ecx, dword [ebp + 0x78]
add ecx, dword [ebp + 0x68]
mov dword [ebp + 0x78], ecx
mov edx, dword [ebp + 0x7c]
sub edx, dword [ebp + 0x68]
mov dword [ebp + 0x7c], edx
jmp 0x403ffa
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x78]
lea edx, [ecx + eax*2]
mov dword [ebp + 0x78], edx
mov eax, dword [ebp + 0x68]
shl eax, 1
mov ecx, dword [ebp + 0x7c]
sub ecx, eax
mov dword [ebp + 0x7c], ecx
mov dword [ebp + 0x54], 1
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x3b
jne 0x404299
cmp dword [ebp + 0x7c], 0x28
jbe 0x404299
mov dword [ebp + 0x68], 0
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
mov edx, dword [ebp + 0x6c]
mov dword [ebp + 0x5c], edx
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x404060
mov edx, dword [ebp + 0x6c]
add 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 0x404060
mov dword [ebp + 0x60], 1
jmp 0x404094
mov edx, dword [ebp + 0x5c]
movzx eax, byte [edx]
push eax
call fcn.00404fa0
add esp, 4
cmp eax, 1
jne 0x40407d
mov dword [ebp + 0x60], 0
jmp 0x404094
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 0x403d02
mov eax, dword [ebp + 0x68]
add eax, 1
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x58], 1
mov ecx, dword [ebp + 0x58]
push ecx
mov edx, dword [ebp + 0x60]
push edx
mov eax, dword [ebp + 0x6c]
push eax
call fcn.00404fd0
add esp, 0xc
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404299
push 0x14
push 0
lea ecx, [ebp + 0x40]
push ecx
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 1
jne 0x4040f9
push 0
push 0
push 0x14
lea edx, [ebp + 0x40]
push edx
mov eax, dword [ebp + 0x64]
push eax
mov ecx, dword [ebp + 0x6c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x40410d
mov edx, dword [ebp + 0x64]
push edx
mov eax, dword [ebp + 0x6c]
push eax
lea ecx, [ebp + 0x40]
push ecx
call fcn.00401980
add esp, 0xc
mov edx, dword [ebp + 0x68]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x68], edx
mov eax, dword [ebp + 0x64]
push eax
lea ecx, [ebp + 0x40]
push ecx
call fcn.00404eb0
add esp, 8
cmp eax, 1
jne 0x404299
cmp dword [ebp + 0x60], 0
jne 0x404140
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], edx
jmp 0x40414c
mov eax, dword [ebp + 0x64]
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 0x404166
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x44
jne 0x404299
cmp dword [ebp + 0x60], 0
jne 0x404177
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
jmp 0x404180
mov edx, dword [ebp + 0x6c]
add edx, 2
mov dword [ebp + 0x6c], edx
mov eax, dword [ebp + 0x68]
add eax, 1
mov dword [ebp + 0x68], eax
mov ecx, 0x28
sub ecx, dword [ebp + 0x68]
push ecx
mov edx, dword [ebp + 0x58]
push edx
mov eax, dword [ebp + 0x60]
push eax
mov ecx, dword [ebp + 0x6c]
push ecx
call fcn.00405120
add esp, 0x10
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404299
cmp dword [ebp + 0x60], 0
jne 0x4041c4
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], edx
jmp 0x4041d0
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x6c]
lea edx, [ecx + eax*2]
mov dword [ebp + 0x6c], edx
mov eax, dword [ebp + 0x68]
add eax, dword [ebp + 0x64]
mov dword [ebp + 0x68], eax
mov ecx, dword [ebp + 0x5c]
sub ecx, 1
mov dword [ebp + 0x5c], ecx
push 0x28
push 0
lea edx, [ebp + 0x18]
push edx
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 0
jne 0x40420e
mov eax, dword [ebp + 0x68]
push eax
mov ecx, dword [ebp + 0x5c]
push ecx
lea edx, [ebp + 0x18]
push edx
call fcn.00401980
add esp, 0xc
jmp 0x40422a
push 0
push 0
push 0x28
lea eax, [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x68]
push ecx
mov edx, dword [ebp + 0x5c]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp + 0x18]
push eax
mov ecx, dword [0x407200]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x404299
mov edx, dword [ebp + 0x68]
push edx
lea eax, [ebp + 0x18]
push eax
call fcn.00404d20
add esp, 8
mov ecx, dword [ebp + 0x68]
push ecx
lea edx, [ebp + 0x18]
push edx
call fcn.00404cb0
add esp, 8
cmp dword [ebp + 0x60], 0
jne 0x404279
mov eax, dword [ebp + 0x78]
add eax, dword [ebp + 0x68]
mov dword [ebp + 0x78], eax
mov ecx, dword [ebp + 0x7c]
sub ecx, dword [ebp + 0x68]
mov dword [ebp + 0x7c], ecx
jmp 0x404292
mov edx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x78]
lea ecx, [eax + edx*2]
mov dword [ebp + 0x78], ecx
mov edx, dword [ebp + 0x68]
shl edx, 1
mov eax, dword [ebp + 0x7c]
sub eax, edx
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x54], 1
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
cmp edx, 0x2b
je 0x4042be
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
cmp ecx, 0x21
je 0x4042be
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x23
jne 0x4045d9
cmp dword [ebp + 0x7c], 0x6b
jbe 0x4045d9
mov dword [ebp + 0x68], 0
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
mov edx, dword [ebp + 0x6c]
mov dword [ebp + 0x5c], edx
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x40430e
mov edx, dword [ebp + 0x6c]
add 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 0x40430e
mov dword [ebp + 0x60], 1
jmp 0x404342
mov edx, dword [ebp + 0x5c]
movzx eax, byte [edx]
push eax
call fcn.00404fa0
add esp, 4
cmp eax, 1
jne 0x40432b
mov dword [ebp + 0x60], 0
jmp 0x404342
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 0x403d02
cmp dword [ebp + 0x60], 1
jne 0x404386
mov eax, dword [ebp + 0x6c]
add eax, 2
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x6c]
movzx edx, byte [ecx]
push edx
call fcn.00404fa0
add esp, 4
test eax, eax
jne 0x40437b
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 0x403d02
mov edx, dword [ebp + 0x6c]
add edx, 2
mov dword [ebp + 0x6c], edx
jmp 0x4043c2
mov eax, dword [ebp + 0x6c]
add eax, 1
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x6c]
movzx edx, byte [ecx]
push edx
call fcn.00404fa0
add esp, 4
test eax, eax
jne 0x4043b9
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 0x403d02
mov edx, dword [ebp + 0x6c]
add edx, 1
mov dword [ebp + 0x6c], edx
mov eax, dword [ebp + 0x68]
add eax, 3
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x58], 1
mov ecx, dword [ebp + 0x58]
push ecx
mov edx, dword [ebp + 0x60]
push edx
mov eax, dword [ebp + 0x6c]
push eax
call fcn.00404fd0
add esp, 0xc
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x4045d9
push 0x14
push 0
lea ecx, [ebp + 0x40]
push ecx
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 1
jne 0x404427
push 0
push 0
push 0x14
lea edx, [ebp + 0x40]
push edx
mov eax, dword [ebp + 0x64]
push eax
mov ecx, dword [ebp + 0x6c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x40443b
mov edx, dword [ebp + 0x64]
push edx
mov eax, dword [ebp + 0x6c]
push eax
lea ecx, [ebp + 0x40]
push ecx
call fcn.00401980
add esp, 0xc
mov edx, dword [ebp + 0x68]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x68], edx
mov eax, dword [ebp + 0x64]
push eax
lea ecx, [ebp + 0x40]
push ecx
call fcn.00404eb0
add esp, 8
cmp eax, 1
jne 0x4045d9
cmp dword [ebp + 0x60], 0
jne 0x40446e
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], edx
jmp 0x40447a
mov eax, dword [ebp + 0x64]
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 0x404494
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x44
jne 0x4045d9
cmp dword [ebp + 0x60], 0
jne 0x4044a5
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
jmp 0x4044ae
mov edx, dword [ebp + 0x6c]
add edx, 2
mov dword [ebp + 0x6c], edx
mov eax, dword [ebp + 0x68]
add eax, 1
mov dword [ebp + 0x68], eax
mov ecx, 0x28
sub ecx, dword [ebp + 0x68]
push ecx
mov edx, dword [ebp + 0x58]
push edx
mov eax, dword [ebp + 0x60]
push eax
mov ecx, dword [ebp + 0x6c]
push ecx
call fcn.00405120
add esp, 0x10
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x4045d9
cmp dword [ebp + 0x60], 0
jne 0x4044f2
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], edx
jmp 0x4044fe
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x6c]
lea edx, [ecx + eax*2]
mov dword [ebp + 0x6c], edx
mov eax, dword [ebp + 0x68]
add eax, dword [ebp + 0x64]
mov dword [ebp + 0x68], eax
mov ecx, dword [ebp + 0x5c]
sub ecx, 1
mov dword [ebp + 0x5c], ecx
push 0x6b
push 0
lea edx, [ebp - 0xa4]
push edx
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 0
jne 0x404542
mov eax, dword [ebp + 0x68]
push eax
mov ecx, dword [ebp + 0x5c]
push ecx
lea edx, [ebp - 0xa4]
push edx
call fcn.00401980
add esp, 0xc
jmp 0x404561
push 0
push 0
push 0x6b
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp + 0x68]
push ecx
mov edx, dword [ebp + 0x5c]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [0x407200]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x4045d9
mov edx, dword [ebp + 0x68]
push edx
lea eax, [ebp - 0xa4]
push eax
call fcn.00404d20
add esp, 8
mov ecx, dword [ebp + 0x68]
push ecx
lea edx, [ebp - 0xa4]
push edx
call fcn.00404cb0
add esp, 8
cmp dword [ebp + 0x60], 0
jne 0x4045b9
mov eax, dword [ebp + 0x78]
add eax, dword [ebp + 0x68]
mov dword [ebp + 0x78], eax
mov ecx, dword [ebp + 0x7c]
sub ecx, dword [ebp + 0x68]
mov dword [ebp + 0x7c], ecx
jmp 0x4045d2
mov edx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x78]
lea ecx, [eax + edx*2]
mov dword [ebp + 0x78], ecx
mov edx, dword [ebp + 0x68]
shl edx, 1
mov eax, dword [ebp + 0x7c]
sub eax, edx
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x54], 1
cmp dword [ebp + 0x54], 1
jne 0x4045eb
mov dword [ebp + 0x54], 0
jmp 0x403d0c
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 0x403d02
add ebp, 0x70
mov esp, ebp
pop ebp
ret