Function at 0x405e50
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x44f00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
push ebx
mov ebx, edx
mov dword [ebp - 0x28], ebx
push esi
mov esi, ebx
mov dword [ebp - 8], esi
push edi
test ecx, ecx
je 0x406194
test ebx, ebx
je 0x406194
cmp ecx, ebx
je 0x406194
mov bl, byte [ecx]
xor edi, edi
xor edx, edx
mov dword [ebp - 0x1c], edi
inc ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], edi
mov eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], ecx
test bl, bl
je 0x406157
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], eax
nop word [eax + eax]
cmp edi, 0x1048
mov dword [ebp - 0x10], 0
cmove eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
cmp bl, 0x3a
jne 0x405f53
mov ecx, dword [ebp - 0x14]
test dl, dl
jns 0x406007
test ecx, ecx
jne 0x406007
test eax, eax
je 0x405f48
mov edx, dword [ebp - 0x28]
mov byte [esi], cl
mov ecx, esi
sub ecx, edi
cmp ecx, edx
jb 0x406194
lea eax, [edx + 0x1048]
cmp ecx, eax
ja 0x406194
sub eax, ecx
inc eax
push eax
push ecx
call fcn.004168d3
push eax
call fcn.00401650
add esp, 0xc
cmp edi, 4
jne 0x405f45
push edi
lea eax, [esi - 4]
push eax
push str.file
call fcn.00416930
mov ecx, dword [ebp - 0x24]
add esp, 0xc
test eax, eax
cmove ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x18]
lea ecx, [edi + 1]
mov dword [ebp - 0x14], ecx
jmp 0x406007
cmp bl, 0x25
jne 0x406036
test dl, 4
je 0x406004
mov cl, byte [ecx]
test cl, cl
je 0x406157
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x405f7f
movzx eax, cl
sub ax, 0x30
jmp 0x405fa1
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x405f8f
movzx eax, cl
sub ax, 0x37
jmp 0x405fa1
lea eax, [ecx - 0x61]
cmp al, 5
ja 0x406150
movzx eax, cl
sub ax, 0x57
movzx ebx, ax
test bx, bx
js 0x406150
mov eax, dword [ebp - 0x20]
shl bl, 4
mov cl, byte [eax + 1]
test cl, cl
je 0x406154
add eax, 2
mov dword [ebp - 0xc], eax
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x405fd4
movzx eax, cl
sub ax, 0x30
jmp 0x405ff6
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x405fe4
movzx eax, cl
sub ax, 0x37
jmp 0x405ff6
lea eax, [ecx - 0x61]
cmp al, 5
ja 0x406149
movzx eax, cl
sub ax, 0x57
movzx eax, ax
test ax, ax
js 0x406149
add bl, al
mov ecx, dword [ebp - 0x14]
mov eax, edx
and al, 0x82
cmp al, 0x80
jne 0x406088
cmp bl, 0x5c
jne 0x406050
test ecx, ecx
jne 0x406020
test edx, 0x100
je 0x406088
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x40608b
cmp dword [ebp - 0x24], 0
je 0x406032
cmp edi, 7
jae 0x40608b
mov bl, 0x2f
jmp 0x40608b
cmp bl, 0x3f
je 0x406040
cmp bl, 0x23
jne 0x406004
mov ecx, dword [ebp - 0x14]
test dl, 0x20
je 0x406007
or edx, 2
mov dword [ebp - 0x18], edx
jmp 0x406007
cmp bl, 0x2e
jne 0x406088
test edi, edi
je 0x406088
test dl, 8
jne 0x406088
push ecx
push edx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
lea edx, [esi - 1]
lea ecx, [ebp - 8]
call fcn.00405d50
mov edi, dword [ebp - 0x1c]
add esp, 0x14
mov esi, dword [ebp - 8]
test eax, eax
jne 0x40612e
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
movzx eax, bl
mov dword [ebp - 0x20], eax
add eax, 0xffffffe0
cmp eax, 0x5d
ja case.0x4060a0.33
movzx eax, byte [eax + 0x4061a8]
jmp dword [eax*4 + 0x4061a0]
lea eax, [ebx - 0x20]
cmp al, 0x5e
jbe 0x406120
test dl, 2
jne 0x406120
test dl, 0x10
je 0x4060bd
cmp bl, 0x20
jne 0x406120
test dl, 8
je 0x4060c7
cmp bl, 0x2e
je 0x406120
test dl, 0x40
jne 0x4060d1
cmp bl, 0x25
je 0x406120
cmp edi, 0x1045
jb 0x4060e3
xor edx, edx
add edi, 2
mov dword [ebp - 0x10], edx
jmp 0x40612a
test ecx, ecx
je 0x40611b
mov byte [esi], 0x25
lea ecx, [esi + 1]
cmp bl, 0x10
jae 0x4060f6
mov byte [ecx], 0x30
inc ecx
mov eax, dword [ebp - 0x28]
add eax, 0x1048
push 0x10
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x20]
call fcn.00416a7c
push eax
call fcn.00401650
add esp, 0x14
add esi, 3
mov dword [ebp - 8], esi
add edi, 2
jmp 0x40612a
test ecx, ecx
je 0x40612a
mov byte [esi], bl
inc esi
mov dword [ebp - 8], esi
inc edi
mov dword [ebp - 0x1c], edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bl, byte [ecx]
inc ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x20], ecx
test bl, bl
je 0x406157
mov edx, dword [ebp - 0x18]
jmp 0x405ec0
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x406157
xor edx, edx
jmp 0x406169
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
test eax, eax
je 0x406169
cmp edi, 0x1048
jae 0x406169
mov byte [esi], 0
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x406175
lea eax, [edi + 1]
mov dword [ecx], eax
lea ecx, [edi + 1]
xor eax, eax
cmp ecx, 0x1048
mov ecx, dword [ebp - 4]
pop edi
cmovbe eax, edx
xor ecx, ebp
pop esi
pop ebx
call fcn.00409076
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401630
nop
scasb al, byte es:[edi]
pushal
inc eax
add byte [edi + 0x4060], ah
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add dword [ecx], eax
add dword [ecx], eax
add byte [eax], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [eax], al
add ah, cl
int3