Function at 0x407bfe
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 0x407eca
test esi, esi
je 0x407eca
cmp ecx, esi
je 0x407eca
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 0x407ea6
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 0x407cdc
mov ecx, dword [ebp - 8]
test dl, dl
jns 0x407d38
test ecx, ecx
jne 0x407d38
test eax, eax
je 0x407cd4
mov byte [esi], cl
mov ecx, esi
sub ecx, edi
cmp ecx, dword [ebp - 0x28]
jb 0x407eca
mov eax, dword [ebp - 0x24]
cmp ecx, eax
ja 0x407eca
sub eax, ecx
inc eax
push eax
push ecx
call fcn.0041dc9d
push eax
call fcn.00404ba9
add esp, 0xc
cmp edi, 4
jne 0x407cd4
push edi
lea eax, [esi - 4]
push eax
push str.file
call fcn.0041da70
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 0x407d38
cmp bl, 0x25
jne 0x407d69
test dl, 4
je 0x407d35
mov dl, byte [ecx]
test dl, dl
je 0x407e9a
inc ecx
mov dword [ebp - 0x10], ecx
mov cl, dl
call fcn.00407af0
movzx ebx, ax
test bx, bx
js 0x407e93
mov eax, dword [ebp - 0x10]
mov cl, byte [eax]
test cl, cl
je 0x407e97
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
call fcn.00407af0
movzx eax, ax
test ax, ax
js 0x407e8f
shl bl, 4
add bl, al
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
test al, al
jns 0x407db9
test al, 2
jne 0x407db9
cmp bl, 0x5c
jne 0x407d83
test ecx, ecx
jne 0x407d53
test eax, 0x100
je 0x407db9
mov edx, dword [ebp - 4]
test edx, edx
je 0x407dbc
cmp dword [ebp - 0x20], 0
je 0x407d65
cmp edi, 7
jae 0x407dbc
mov bl, 0x2f
jmp 0x407dbc
cmp bl, 0x3f
je 0x407d73
cmp bl, 0x23
jne 0x407d35
mov ecx, dword [ebp - 8]
test dl, 0x20
je 0x407d38
or edx, 2
mov dword [ebp - 0x1c], edx
jmp 0x407d38
cmp bl, 0x2e
jne 0x407db9
test edi, edi
je 0x407db9
test al, 8
jne 0x407db9
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.00407b1e
mov esi, dword [ebp - 0xc]
add esp, 0x14
mov edi, dword [ebp - 0x18]
test eax, eax
jne 0x407de4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 4]
movzx ecx, bl
cmp ecx, 0x40
jg 0x407dec
cmp ecx, 0x3b
jge 0x407e0a
cmp ecx, 0x20
je 0x407e0a
cmp ecx, 0x21
jle 0x407e03
cmp ecx, 0x26
jle 0x407e0a
cmp ecx, 0x2a
jle 0x407e03
cmp ecx, 0x2c
jle 0x407e0a
jmp 0x407e03
mov ecx, dword [ebp - 0x14]
jmp 0x407e7e
cmp ecx, 0x5b
jl 0x407e03
cmp ecx, 0x5e
jle 0x407e0a
cmp ecx, 0x60
je 0x407e0a
lea eax, [ecx - 0x7b]
cmp eax, 2
jbe 0x407e0a
lea eax, [ebx - 0x20]
cmp al, 0x5e
jbe 0x407e6d
mov eax, dword [ebp - 0x1c]
test al, 2
jne 0x407e6d
test al, 0x10
je 0x407e1a
cmp bl, 0x20
jne 0x407e6d
test al, 8
je 0x407e23
cmp bl, 0x2e
je 0x407e6d
test al, 0x40
jne 0x407e2c
cmp bl, 0x25
je 0x407e6d
cmp edi, 0x1ffd
sbb eax, eax
and edx, eax
mov dword [ebp - 4], edx
je 0x407e68
mov byte [esi], 0x25
lea edx, [esi + 1]
cmp bl, 0x10
jae 0x407e4a
mov byte [edx], 0x30
inc edx
mov eax, dword [ebp - 0x24]
push 0x10
sub eax, edx
push eax
push edx
push ecx
call fcn.0041dd78
push eax
call fcn.00404ba9
add esp, 0x14
add esi, 3
mov dword [ebp - 0xc], esi
add edi, 2
jmp 0x407e77
test edx, edx
je 0x407e77
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 0x407e9a
mov edx, dword [ebp - 0x1c]
jmp 0x407c4e
xor eax, eax
jmp 0x407e9a
xor eax, eax
jmp 0x407ea9
mov eax, dword [ebp - 4]
test eax, eax
je 0x407ea9
cmp edi, 0x2000
jae 0x407ea9
mov byte [esi], 0
mov edx, dword [ebp + 8]
test edx, edx
je 0x407eb5
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.00404be4
int3