Function at 0x413741
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5ee10c]
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 0x413a20
test esi, esi
je 0x413a20
cmp eax, esi
je 0x413a20
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 0x4139ec
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 0x413833
test cl, cl
jns 0x41389d
cmp dword [ebp - 0x1c], 0
jne 0x41389d
test edx, edx
je 0x41382b
mov ecx, esi
mov byte [esi], 0
sub ecx, edi
cmp ecx, dword [ebp - 0x2c]
jb 0x413a20
mov eax, dword [ebp - 0x28]
cmp ecx, eax
ja 0x413a20
sub eax, ecx
inc eax
push eax
push ecx
call fcn.0055569e
push eax
call fcn.00403082
add esp, 0xc
cmp edi, 4
jne 0x413828
push edi
lea eax, [esi - 4]
push eax
push str.file
call fcn.005556f0
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 0x41389d
cmp bl, 0x25
jne 0x413888
test cl, 4
je 0x41389d
mov cl, byte [eax]
test cl, cl
je 0x4139e0
inc eax
mov dword [ebp - 0x18], eax
call fcn.00413631
movzx ebx, ax
test bx, bx
js 0x413a1c
mov eax, dword [ebp - 0x18]
mov cl, byte [eax]
test cl, cl
je 0x4139e0
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], eax
call fcn.00413631
movzx eax, ax
test ax, ax
js 0x4139de
shl bl, 4
add bl, al
jmp 0x41389d
cmp bl, 0x3f
je 0x413892
cmp bl, 0x23
jne 0x41389d
test cl, 0x20
je 0x41389d
or ecx, 2
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
mov eax, ecx
and al, 0x82
cmp al, 0x80
jne 0x41390e
cmp bl, 0x5c
jne 0x4138ce
cmp dword [ebp - 0x1c], 0
jne 0x4138bb
test ecx, 0x100
je 0x41390e
test edx, edx
je 0x41390e
cmp dword [ebp - 0x24], 0
je 0x4138ca
cmp edi, 7
jae 0x41390e
mov bl, 0x2f
jmp 0x41390e
cmp bl, 0x2e
jne 0x41390e
mov edx, dword [ebp - 0x10]
test edi, edi
je 0x413911
test dl, 8
jne 0x413911
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.0041365f
mov edi, dword [ebp - 0x20]
add esp, 0x14
mov esi, dword [ebp - 8]
test eax, eax
mov eax, dword [ebp - 0xc]
jne 0x4139cd
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x10]
movzx ecx, bl
cmp ecx, 0x40
jg 0x413939
cmp ecx, 0x3b
jge 0x413957
cmp ecx, 0x20
je 0x413957
cmp ecx, 0x21
jle 0x413950
cmp ecx, 0x26
jle 0x413957
cmp ecx, 0x2a
jle 0x413950
cmp ecx, 0x2c
jle 0x413957
jmp 0x413950
cmp ecx, 0x5b
jl 0x413950
cmp ecx, 0x5e
jle 0x413957
cmp ecx, 0x60
je 0x413957
lea eax, [ecx - 0x7b]
cmp eax, 2
jbe 0x413957
lea eax, [ebx - 0x20]
cmp al, 0x5e
jbe 0x4139b9
test dl, 2
jne 0x4139b9
test dl, 0x10
je 0x413966
cmp bl, 0x20
jne 0x4139b9
test dl, 8
je 0x413970
cmp bl, 0x2e
je 0x4139b9
test dl, 0x40
jne 0x41397a
cmp bl, 0x25
je 0x4139b9
cmp edi, 0xffd
sbb eax, eax
and dword [ebp - 0x14], eax
je 0x4139b4
mov byte [esi], 0x25
lea edx, [esi + 1]
cmp bl, 0x10
jae 0x413996
mov byte [edx], 0x30
inc edx
mov eax, dword [ebp - 0x28]
push 0x10
sub eax, edx
push eax
push edx
push ecx
call fcn.00554b26
push eax
call fcn.00403082
add esp, 0x14
add esi, 3
mov dword [ebp - 8], esi
add edi, 2
jmp 0x4139c6
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x4139c6
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 0x4139e0
mov ecx, dword [ebp - 0x10]
jmp 0x4137a2
xor edx, edx
test edx, edx
je 0x4139ef
cmp edi, 0x1000
jae 0x4139ef
mov byte [esi], 0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4139fb
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.00531192
mov esp, ebp
pop ebp
ret
xor edx, edx
jmp 0x4139ef
push 0x80004005
call fcn.00411760
int3