Function at 0x407297
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, edx
mov dword [ebp - 0xc], esi
push edi
test ecx, ecx
je 0x407563
test esi, esi
je 0x407563
cmp ecx, esi
je 0x407563
xor edi, edi
mov dword [ebp - 0x28], esi
and dword [ebp - 0x20], edi
lea ebx, [esi + 0x2000]
and dword [ebp - 8], edi
xor eax, eax
push 0x20
mov dword [ebp - 0x24], ebx
inc eax
mov bl, byte [ecx]
mov dword [ebp - 0x18], edi
pop edx
mov dword [ebp - 0x1c], edx
test bl, bl
je 0x40753f
and dword [ebp - 4], 0
inc ecx
cmp edi, 0x2000
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
cmove eax, dword [ebp - 4]
mov dword [ebp - 4], eax
cmp bl, 0x3a
jne 0x407375
mov ecx, dword [ebp - 8]
test dl, dl
jns 0x4073d1
test ecx, ecx
jne 0x4073d1
test eax, eax
je 0x40736d
mov byte [esi], cl
mov ecx, esi
sub ecx, edi
cmp ecx, dword [ebp - 0x28]
jb 0x407563
mov eax, dword [ebp - 0x24]
cmp ecx, eax
ja 0x407563
sub eax, ecx
inc eax
push eax
push ecx
call fcn.0041ad6d
push eax
call fcn.004045dd
add esp, 0xc
cmp edi, 4
jne 0x40736d
push edi
lea eax, [esi - 4]
push eax
push str.file
call fcn.0041ab40
mov ecx, dword [ebp - 0x20]
add esp, 0xc
test eax, eax
push 1
pop eax
cmove ecx, eax
mov dword [ebp - 0x20], ecx
lea ecx, [edi + 1]
mov dword [ebp - 8], ecx
jmp 0x4073d1
cmp bl, 0x25
jne 0x407402
test dl, 4
je 0x4073ce
mov dl, byte [ecx]
test dl, dl
je 0x407533
inc ecx
mov dword [ebp - 0x10], ecx
mov cl, dl
call fcn.00407189
movzx ebx, ax
test bx, bx
js 0x40752c
mov eax, dword [ebp - 0x10]
mov cl, byte [eax]
test cl, cl
je 0x407530
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
call fcn.00407189
movzx eax, ax
test ax, ax
js 0x407528
shl bl, 4
add bl, al
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
test al, al
jns 0x407452
test al, 2
jne 0x407452
cmp bl, 0x5c
jne 0x40741c
test ecx, ecx
jne 0x4073ec
test eax, 0x100
je 0x407452
mov edx, dword [ebp - 4]
test edx, edx
je 0x407455
cmp dword [ebp - 0x20], 0
je 0x4073fe
cmp edi, 7
jae 0x407455
mov bl, 0x2f
jmp 0x407455
cmp bl, 0x3f
je 0x40740c
cmp bl, 0x23
jne 0x4073ce
mov ecx, dword [ebp - 8]
test dl, 0x20
je 0x4073d1
or edx, 2
mov dword [ebp - 0x1c], edx
jmp 0x4073d1
cmp bl, 0x2e
jne 0x407452
test edi, edi
je 0x407452
test al, 8
jne 0x407452
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
lea edx, [esi - 1]
lea ecx, [ebp - 0xc]
call fcn.004071b7
mov esi, dword [ebp - 0xc]
add esp, 0x14
mov edi, dword [ebp - 0x18]
test eax, eax
jne 0x40747d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 4]
movzx ecx, bl
cmp ecx, 0x40
jg 0x407485
cmp ecx, 0x3b
jge 0x4074a3
cmp ecx, 0x20
je 0x4074a3
cmp ecx, 0x21
jle 0x40749c
cmp ecx, 0x26
jle 0x4074a3
cmp ecx, 0x2a
jle 0x40749c
cmp ecx, 0x2c
jle 0x4074a3
jmp 0x40749c
mov ecx, dword [ebp - 0x14]
jmp 0x407517
cmp ecx, 0x5b
jl 0x40749c
cmp ecx, 0x5e
jle 0x4074a3
cmp ecx, 0x60
je 0x4074a3
lea eax, [ecx - 0x7b]
cmp eax, 2
jbe 0x4074a3
lea eax, [ebx - 0x20]
cmp al, 0x5e
jbe 0x407506
mov eax, dword [ebp - 0x1c]
test al, 2
jne 0x407506
test al, 0x10
je 0x4074b3
cmp bl, 0x20
jne 0x407506
test al, 8
je 0x4074bc
cmp bl, 0x2e
je 0x407506
test al, 0x40
jne 0x4074c5
cmp bl, 0x25
je 0x407506
cmp edi, 0x1ffd
sbb eax, eax
and edx, eax
mov dword [ebp - 4], edx
je 0x407501
mov byte [esi], 0x25
lea edx, [esi + 1]
cmp bl, 0x10
jae 0x4074e3
mov byte [edx], 0x30
inc edx
mov eax, dword [ebp - 0x24]
push 0x10
sub eax, edx
push eax
push edx
push ecx
call fcn.0041ae48
push eax
call fcn.004045dd
add esp, 0x14
add esi, 3
mov dword [ebp - 0xc], esi
add edi, 2
jmp 0x407510
test edx, edx
je 0x407510
mov byte [esi], bl
inc esi
mov dword [ebp - 0xc], esi
mov ecx, dword [ebp - 0x10]
inc edi
mov dword [ebp - 0x18], edi
mov bl, byte [ecx]
mov eax, dword [ebp - 4]
test bl, bl
je 0x407533
mov edx, dword [ebp - 0x1c]
jmp 0x4072e7
xor eax, eax
jmp 0x407533
xor eax, eax
jmp 0x407542
mov eax, dword [ebp - 4]
test eax, eax
je 0x407542
cmp edi, 0x2000
jae 0x407542
mov byte [esi], 0
mov edx, dword [ebp + 8]
test edx, edx
je 0x40754e
lea ecx, [edi + 1]
mov dword [edx], ecx
lea ecx, [edi + 1]
xor edx, edx
pop edi
cmp ecx, 0x2000
pop esi
cmova eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404618
int3