Function at 0x413d44
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5f1114]
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 0x414023
test esi, esi
je 0x414023
cmp eax, esi
je 0x414023
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 0x413fef
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 0x413e36
test cl, cl
jns 0x413ea0
cmp dword [ebp - 0x1c], 0
jne 0x413ea0
test edx, edx
je 0x413e2e
mov ecx, esi
mov byte [esi], 0
sub ecx, edi
cmp ecx, dword [ebp - 0x2c]
jb 0x414023
mov eax, dword [ebp - 0x28]
cmp ecx, eax
ja 0x414023
sub eax, ecx
inc eax
push eax
push ecx
call fcn.00555c14
push eax
call fcn.004030a2
add esp, 0xc
cmp edi, 4
jne 0x413e2b
push edi
lea eax, [esi - 4]
push eax
push str.file
call fcn.00555c70
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 0x413ea0
cmp bl, 0x25
jne 0x413e8b
test cl, 4
je 0x413ea0
mov cl, byte [eax]
test cl, cl
je 0x413fe3
inc eax
mov dword [ebp - 0x18], eax
call fcn.00413c34
movzx ebx, ax
test bx, bx
js 0x41401f
mov eax, dword [ebp - 0x18]
mov cl, byte [eax]
test cl, cl
je 0x413fe3
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], eax
call fcn.00413c34
movzx eax, ax
test ax, ax
js 0x413fe1
shl bl, 4
add bl, al
jmp 0x413ea0
cmp bl, 0x3f
je 0x413e95
cmp bl, 0x23
jne 0x413ea0
test cl, 0x20
je 0x413ea0
or ecx, 2
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
mov eax, ecx
and al, 0x82
cmp al, 0x80
jne 0x413f11
cmp bl, 0x5c
jne 0x413ed1
cmp dword [ebp - 0x1c], 0
jne 0x413ebe
test ecx, 0x100
je 0x413f11
test edx, edx
je 0x413f11
cmp dword [ebp - 0x24], 0
je 0x413ecd
cmp edi, 7
jae 0x413f11
mov bl, 0x2f
jmp 0x413f11
cmp bl, 0x2e
jne 0x413f11
mov edx, dword [ebp - 0x10]
test edi, edi
je 0x413f14
test dl, 8
jne 0x413f14
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.00413c62
mov edi, dword [ebp - 0x20]
add esp, 0x14
mov esi, dword [ebp - 8]
test eax, eax
mov eax, dword [ebp - 0xc]
jne 0x413fd0
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x10]
movzx ecx, bl
cmp ecx, 0x40
jg 0x413f3c
cmp ecx, 0x3b
jge 0x413f5a
cmp ecx, 0x20
je 0x413f5a
cmp ecx, 0x21
jle 0x413f53
cmp ecx, 0x26
jle 0x413f5a
cmp ecx, 0x2a
jle 0x413f53
cmp ecx, 0x2c
jle 0x413f5a
jmp 0x413f53
cmp ecx, 0x5b
jl 0x413f53
cmp ecx, 0x5e
jle 0x413f5a
cmp ecx, 0x60
je 0x413f5a
lea eax, [ecx - 0x7b]
cmp eax, 2
jbe 0x413f5a
lea eax, [ebx - 0x20]
cmp al, 0x5e
jbe 0x413fbc
test dl, 2
jne 0x413fbc
test dl, 0x10
je 0x413f69
cmp bl, 0x20
jne 0x413fbc
test dl, 8
je 0x413f73
cmp bl, 0x2e
je 0x413fbc
test dl, 0x40
jne 0x413f7d
cmp bl, 0x25
je 0x413fbc
cmp edi, 0xffd
sbb eax, eax
and dword [ebp - 0x14], eax
je 0x413fb7
mov byte [esi], 0x25
lea edx, [esi + 1]
cmp bl, 0x10
jae 0x413f99
mov byte [edx], 0x30
inc edx
mov eax, dword [ebp - 0x28]
push 0x10
sub eax, edx
push eax
push edx
push ecx
call fcn.00554eea
push eax
call fcn.004030a2
add esp, 0x14
add esi, 3
mov dword [ebp - 8], esi
add edi, 2
jmp 0x413fc9
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x413fc9
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 0x413fe3
mov ecx, dword [ebp - 0x10]
jmp 0x413da5
xor edx, edx
test edx, edx
je 0x413ff2
cmp edi, 0x1000
jae 0x413ff2
mov byte [esi], 0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x413ffe
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.00531526
mov esp, ebp
pop ebp
ret
xor edx, edx
jmp 0x413ff2
push 0x80004005
call fcn.004117a3
int3