Function at 0x40cf3b
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x4285b4]
movsx edx, byte [eax]
push ebx
xor ebx, ebx
mov ecx, 0xfffffe00
and dword [ebp - 4], ecx
and dword [ebp - 0xc], ecx
push esi
xor esi, esi
inc eax
cmp edx, 0x41
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [0x4285b4], eax
jg 0x40d092
je 0x40d3e1
cmp edx, ebx
je 0x40d085
cmp edx, 0x2f
jle 0x40d1f2
cmp edx, 0x31
jle 0x40cfa7
cmp edx, 0x39
jg 0x40d1f2
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x419350]
jmp 0x40d345
and dword [ebp - 0xc], ecx
cmp byte [ebp + 0xc], bl
mov dword [ebp - 0x10], ebx
je 0x40d01a
lea eax, [ebp - 0x88]
push eax
call fcn.0040cd81
push eax
lea eax, [ebp - 0x90]
push 0x3c
push eax
call fcn.0040c241
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
call fcn.0040be48
lea ecx, [ebp - 0x10]
call fcn.0040b6ef
cmp al, 0x3e
jne 0x40cfef
push 0x20
lea ecx, [ebp - 0x10]
call fcn.0040c028
push 0x3e
lea ecx, [ebp - 0x10]
call fcn.0040c028
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x40d003
mov byte [eax], 1
mov eax, dword [0x4285b4]
cmp byte [eax], bl
jne 0x40d014
lea eax, [ebp - 0x10]
jmp 0x40d37a
inc eax
mov dword [0x4285b4], eax
mov esi, eax
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.0040d567
pop ecx
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.0040b409
lea ecx, [ebp - 8]
mov dword [0x4285b4], esi
call fcn.0040b6a1
test eax, eax
jne 0x40d064
cmp byte [esi - 1], 0x31
jne 0x40d064
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x68]
push 0x7e
push eax
call fcn.0040c241
add esp, 0xc
push eax
lea ecx, [ebp - 8]
call fcn.0040b409
lea ecx, [ebp - 0x10]
call fcn.0040b6a1
test eax, eax
jne 0x40d377
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.0040be48
jmp 0x40d377
dec eax
mov dword [0x4285b4], eax
push 2
jmp 0x40d1f4
cmp edx, 0x42
je 0x40d3de
jle 0x40d1f2
cmp edx, 0x5a
jle 0x40d3e1
cmp edx, 0x5f
jne 0x40d1f2
movsx ecx, byte [eax]
inc eax
cmp ecx, 0x50
mov dword [0x4285b4], eax
jg 0x40d1c7
je 0x40d173
cmp ecx, 0x3f
jg 0x40d12f
je 0x40d10d
cmp ecx, ebx
je 0x40d085
cmp ecx, 0x2f
jle 0x40d1f2
cmp ecx, 0x36
jle 0x40d0fd
cmp ecx, 0x39
jg 0x40d1f2
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x4193e0]
jmp 0x40d3d4
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x4193e0]
jmp 0x40d345
movsx ecx, byte [eax]
inc eax
cmp ecx, ebx
mov dword [0x4285b4], eax
je 0x40d085
cmp ecx, 0x30
jne 0x40d1f2
push ebx
push str._anonymous_namespace
jmp 0x40d15b
cmp ecx, 0x41
jl 0x40d1f2
cmp ecx, 0x42
jle 0x40d3c9
cmp ecx, 0x43
je 0x40d154
jle 0x40d1f2
cmp ecx, 0x4f
jmp 0x40d1ec
push 1
push str._string
lea eax, [ebp - 0x18]
push eax
call fcn.0040c93a
add esp, 0xc
or byte [ebp - 0x13], 1
lea eax, [ebp - 0x18]
jmp 0x40d37a
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x4193c4]
lea ecx, [ebp - 8]
call fcn.0040bec5
push ebx
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.0040cf3b
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
call fcn.0040b409
lea ecx, [ebp - 0x10]
call fcn.0040b6a1
test eax, eax
jne 0x40d1b8
call fcn.0040b6a1
test eax, eax
jne 0x40d1b8
test byte [ebp - 0xc], 0x40
jne 0x40d1f2
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
lea ecx, [ebp - 8]
jmp 0x40d333
cmp ecx, 0x56
jg 0x40d38a
cmp ecx, 0x55
jge 0x40d33a
cmp ecx, 0x51
je 0x40d34d
cmp ecx, 0x52
je 0x40d201
jle 0x40d1f2
cmp ecx, 0x54
jle 0x40d3c9
push 1
mov ecx, dword [ebp + 8]
call fcn.0040b62a
jmp 0x40d383
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x4193c4]
lea ecx, [ebp - 8]
call fcn.0040bec5
mov eax, dword [0x4285b4]
movsx eax, byte [eax]
push dword [eax*4 + 0x419480]
lea ecx, [ebp - 0x10]
call fcn.0040bec5
mov eax, dword [0x4285b4]
movsx eax, byte [eax]
inc dword [0x4285b4]
cmp eax, 0x30
je 0x40d301
cmp eax, 0x31
je 0x40d25d
jle 0x40d252
cmp eax, 0x34
jle 0x40d1b8
dec dword [0x4285b4]
jmp 0x40d08b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
call fcn.0040bfc8
push 0x2c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040c9da
pop ecx
mov ecx, eax
call fcn.0040c2a7
push eax
lea ecx, [ebp - 0x18]
call fcn.0040be48
push 0x2c
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040c9da
pop ecx
mov ecx, eax
call fcn.0040c2a7
push eax
lea ecx, [ebp - 0x18]
call fcn.0040be48
push 0x2c
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0040c9da
pop ecx
mov ecx, eax
call fcn.0040c2a7
push eax
lea ecx, [ebp - 0x18]
call fcn.0040be48
push 0x29
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.0040c31f
pop ecx
pop ecx
mov ecx, eax
call fcn.0040c2a7
push eax
lea ecx, [ebp - 0x18]
call fcn.0040be48
push 0x27
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.0040c2a7
jmp 0x40d383
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040f8a1
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x20
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040c2a7
mov ecx, eax
call fcn.0040bfc8
mov ecx, eax
call fcn.0040bfc8
jmp 0x40d383
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x4193c4]
lea ecx, [ebp - 8]
call fcn.0040bec5
lea ecx, [ebp - 8]
call fcn.0040b6a1
test eax, eax
jne 0x40d377
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
push 0x419970
push eax
call fcn.0040c285
add esp, 0xc
push eax
lea ecx, [ebp - 8]
call fcn.0040b409
lea eax, [ebp - 8]
mov ecx, dword [ebp + 8]
push eax
call fcn.0040b3a0
mov eax, dword [ebp + 8]
pop esi
pop ebx
leave
ret
cmp ecx, 0x58
jl 0x40d1f2
cmp ecx, 0x59
jle 0x40d3c9
cmp ecx, 0x5f
jne 0x40d1f2
movsx ecx, byte [eax]
inc eax
cmp ecx, 0x41
mov dword [0x4285b4], eax
jl 0x40d1f2
cmp ecx, 0x44
jg 0x40d1f2
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x419428]
jmp 0x40d3d4
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x4193c4]
mov ecx, dword [ebp + 8]
call fcn.0040bc19
jmp 0x40d383
xor esi, esi
inc esi
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x419334]
lea ecx, [ebp - 8]
call fcn.0040bec5
cmp esi, ebx
je 0x40d34d
lea ecx, [ebp - 8]
call fcn.0040b6a1
test eax, eax
jne 0x40d377
or dword [ebp - 4], 0x20
jmp 0x40d377