Function at 0x413dae
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5f2114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov esi, edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x30], ecx
push edi
test eax, eax
je 0x41408d
test esi, esi
je 0x41408d
cmp eax, esi
je 0x41408d
xor ecx, ecx
mov dword [ebp - 0x2c], esi
and dword [ebp - 0x24], ecx
lea ebx, [esi + 0x1000]
and dword [ebp - 0x1c], ecx
xor edi, edi
mov dword [ebp - 0x28], ebx
mov bl, byte [eax]
lea edx, [ecx + 1]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], ecx
test bl, bl
je 0x414059
and dword [ebp - 0x14], 0
inc eax
cmp edi, 0x1000
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], eax
cmove edx, dword [ebp - 0x14]
mov dword [ebp - 0x14], edx
cmp bl, 0x3a
jne 0x413ea0
test cl, cl
jns 0x413f0a
cmp dword [ebp - 0x1c], 0
jne 0x413f0a
test edx, edx
je 0x413e98
mov ecx, esi
mov byte [esi], 0
sub ecx, edi
cmp ecx, dword [ebp - 0x2c]
jb 0x41408d
mov eax, dword [ebp - 0x28]
cmp ecx, eax
ja 0x41408d
sub eax, ecx
inc eax
push eax
push ecx
call fcn.005562cf
push eax
call fcn.004030a2
add esp, 0xc
cmp edi, 4
jne 0x413e95
push edi
lea eax, [esi - 4]
push eax
push str.file
call fcn.00556320
mov ecx, dword [ebp - 0x24]
add esp, 0xc
test eax, eax
push 1
pop eax
cmove ecx, eax
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x14]
lea eax, [edi + 1]
mov dword [ebp - 0x1c], eax
jmp 0x413f0a
cmp bl, 0x25
jne 0x413ef5
test cl, 4
je 0x413f0a
mov cl, byte [eax]
test cl, cl
je 0x41404d
inc eax
mov dword [ebp - 0x18], eax
call fcn.00413c9e
movzx ebx, ax
test bx, bx
js 0x414089
mov eax, dword [ebp - 0x18]
mov cl, byte [eax]
test cl, cl
je 0x41404d
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], eax
call fcn.00413c9e
movzx eax, ax
test ax, ax
js 0x41404b
shl bl, 4
add bl, al
jmp 0x413f0a
cmp bl, 0x3f
je 0x413eff
cmp bl, 0x23
jne 0x413f0a
test cl, 0x20
je 0x413f0a
or ecx, 2
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
mov eax, ecx
and al, 0x82
cmp al, 0x80
jne 0x413f7b
cmp bl, 0x5c
jne 0x413f3b
cmp dword [ebp - 0x1c], 0
jne 0x413f28
test ecx, 0x100
je 0x413f7b
test edx, edx
je 0x413f7b
cmp dword [ebp - 0x24], 0
je 0x413f37
cmp edi, 7
jae 0x413f7b
mov bl, 0x2f
jmp 0x413f7b
cmp bl, 0x2e
jne 0x413f7b
mov edx, dword [ebp - 0x10]
test edi, edi
je 0x413f7e
test dl, 8
jne 0x413f7e
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push edx
push eax
lea eax, [ebp - 0xc]
push eax
push edi
lea edx, [esi - 1]
lea ecx, [ebp - 8]
call fcn.00413ccc
mov edi, dword [ebp - 0x20]
add esp, 0x14
mov esi, dword [ebp - 8]
test eax, eax
mov eax, dword [ebp - 0xc]
jne 0x41403a
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x10]
movzx ecx, bl
cmp ecx, 0x40
jg 0x413fa6
cmp ecx, 0x3b
jge 0x413fc4
cmp ecx, 0x20
je 0x413fc4
cmp ecx, 0x21
jle 0x413fbd
cmp ecx, 0x26
jle 0x413fc4
cmp ecx, 0x2a
jle 0x413fbd
cmp ecx, 0x2c
jle 0x413fc4
jmp 0x413fbd
cmp ecx, 0x5b
jl 0x413fbd
cmp ecx, 0x5e
jle 0x413fc4
cmp ecx, 0x60
je 0x413fc4
lea eax, [ecx - 0x7b]
cmp eax, 2
jbe 0x413fc4
lea eax, [ebx - 0x20]
cmp al, 0x5e
jbe 0x414026
test dl, 2
jne 0x414026
test dl, 0x10
je 0x413fd3
cmp bl, 0x20
jne 0x414026
test dl, 8
je 0x413fdd
cmp bl, 0x2e
je 0x414026
test dl, 0x40
jne 0x413fe7
cmp bl, 0x25
je 0x414026
cmp edi, 0xffd
sbb eax, eax
and dword [ebp - 0x14], eax
je 0x414021
mov byte [esi], 0x25
lea edx, [esi + 1]
cmp bl, 0x10
jae 0x414003
mov byte [edx], 0x30
inc edx
mov eax, dword [ebp - 0x28]
push 0x10
sub eax, edx
push eax
push edx
push ecx
call fcn.00554ff6
push eax
call fcn.004030a2
add esp, 0x14
add esi, 3
mov dword [ebp - 8], esi
add edi, 2
jmp 0x414033
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x414033
mov byte [esi], bl
inc esi
mov dword [ebp - 8], esi
mov eax, dword [ebp - 0x18]
inc edi
mov dword [ebp - 0x20], edi
mov bl, byte [eax]
mov edx, dword [ebp - 0x14]
test bl, bl
je 0x41404d
mov ecx, dword [ebp - 0x10]
jmp 0x413e0f
xor edx, edx
test edx, edx
je 0x41405c
cmp edi, 0x1000
jae 0x41405c
mov byte [esi], 0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x414068
lea ecx, [edi + 1]
mov dword [eax], ecx
lea ecx, [edi + 1]
xor eax, eax
cmp ecx, 0x1000
mov ecx, dword [ebp - 4]
pop edi
cmova edx, eax
xor ecx, ebp
pop esi
mov eax, edx
pop ebx
call fcn.00531668
mov esp, ebp
pop ebp
ret
xor edx, edx
jmp 0x41405c
push 0x80004005
call fcn.004117a3
int3