Function at 0x404b30
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x562494]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x30], edx
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x14], ebx
push esi
mov esi, ecx
mov dword [ebp - 8], esi
push edi
test eax, eax
je 0x404e84
test ecx, ecx
je 0x404e84
cmp eax, ecx
je 0x404e84
mov bl, byte [eax]
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], ecx
lea edx, [edi + 1]
test bl, bl
je 0x404e74
mov dword [ebp - 0x2c], edx
inc eax
mov dword [ebp - 0x10], 0
cmp edi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
cmove edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
cmp bl, 0x3a
jne 0x404c66
test byte [ebp + 0x18], 0x80
je 0x404c1d
test ecx, ecx
jne 0x404c1d
test edx, edx
je 0x404c17
mov byte [esi], cl
mov ecx, esi
sub ecx, edi
cmp ecx, dword [ebp - 0x24]
jb 0x404e84
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
mov esi, dword [ebp - 8]
cmp ecx, eax
ja 0x404e84
sub eax, ecx
inc eax
push eax
push ecx
call fcn.004f0e24
push eax
call fcn.00409fd0
add esp, 0xc
cmp edi, 4
jne 0x404c17
push edi
lea eax, [esi - 4]
push eax
push 0x54bab8
call fcn.004f0e80
mov ecx, dword [ebp - 0x20]
add esp, 0xc
test eax, eax
cmove ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
lea ecx, [edi + 1]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0x18]
mov eax, edx
and al, 0x82
cmp al, 0x80
jne 0x404d87
cmp bl, 0x5c
jne 0x404d47
test ecx, ecx
jne 0x404c45
test edx, 0x100
je 0x404d87
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x404d8a
cmp dword [ebp - 0x20], 0
je 0x404c5f
cmp edi, 7
jae 0x404d8a
mov bl, 0x2f
jmp 0x404d8a
cmp bl, 0x25
jne 0x404d22
mov edx, dword [ebp + 0x18]
test dl, 4
je 0x404c20
mov cl, byte [eax]
test cl, cl
je 0x404e71
inc eax
mov dword [ebp - 0x1c], eax
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x404c95
movzx eax, cl
sub ax, 0x30
jmp 0x404cb7
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x404ca5
movzx eax, cl
sub ax, 0x37
jmp 0x404cb7
lea eax, [ecx - 0x61]
cmp al, 5
ja 0x404e45
movzx eax, cl
sub ax, 0x57
movzx ebx, ax
test bx, bx
js 0x404e45
mov eax, dword [ebp - 0x1c]
shl bl, 4
mov cl, byte [eax]
test cl, cl
je 0x404e71
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], eax
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x404cea
movzx eax, cl
sub ax, 0x30
jmp 0x404d0c
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x404cfa
movzx eax, cl
sub ax, 0x37
jmp 0x404d0c
lea eax, [ecx - 0x61]
cmp al, 5
ja 0x404e41
movzx eax, cl
sub ax, 0x57
movzx eax, ax
test ax, ax
js 0x404e41
mov ecx, dword [ebp - 0x28]
add bl, al
jmp 0x404c20
cmp bl, 0x3f
je 0x404d30
cmp bl, 0x23
jne 0x404c1d
mov edx, dword [ebp + 0x18]
test dl, 0x20
je 0x404c20
or edx, 2
mov dword [ebp + 0x18], edx
jmp 0x404c20
cmp bl, 0x2e
jne 0x404d87
test edi, edi
je 0x404d87
test dl, 8
jne 0x404d87
push ecx
push edx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [esi - 1]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00404a30
mov edi, dword [ebp - 0x18]
add esp, 0x1c
mov esi, dword [ebp - 8]
test eax, eax
mov eax, dword [ebp - 0xc]
jne 0x404e30
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
movzx eax, bl
mov dword [ebp - 0x18], eax
add eax, 0xffffffe0
cmp eax, 0x5d
ja case.0x404d9f.33
movzx eax, byte [eax + 0x404e98]
jmp dword [eax*4 + 0x404e90]
lea eax, [ebx - 0x20]
cmp al, 0x5e
jbe 0x404e1f
test dl, 2
jne 0x404e1f
test dl, 0x10
je 0x404dbc
cmp bl, 0x20
jne 0x404e1f
test dl, 8
je 0x404dc6
cmp bl, 0x2e
je 0x404e1f
test dl, 0x40
jne 0x404dd0
cmp bl, 0x25
je 0x404e1f
mov edx, dword [ebp - 0x14]
lea eax, [edx - 3]
cmp edi, eax
jb 0x404de4
xor ecx, ecx
add edi, 2
mov dword [ebp - 0x10], ecx
jmp 0x404e29
test ecx, ecx
je 0x404e1a
mov byte [esi], 0x25
lea ecx, [esi + 1]
cmp bl, 0x10
jae 0x404df7
mov byte [ecx], 0x30
inc ecx
mov ebx, dword [ebp - 0x24]
push 0x10
lea eax, [ebx + edx]
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x18]
call fcn.004eba09
push eax
call fcn.00409fd0
add esp, 0x14
add esi, 3
mov dword [ebp - 8], esi
add edi, 2
jmp 0x404e29
test ecx, ecx
je 0x404e29
mov byte [esi], bl
inc esi
mov dword [ebp - 8], esi
mov eax, dword [ebp - 0x1c]
inc edi
mov dword [ebp - 0x18], edi
mov bl, byte [eax]
mov edx, dword [ebp - 0x10]
test bl, bl
je 0x404e74
mov ecx, dword [ebp - 0x28]
jmp 0x404b92
xor edx, edx
jmp 0x404e74
xor edx, edx
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x404e56
lea eax, [edi + 1]
mov dword [ecx], eax
lea ecx, [edi + 1]
xor eax, eax
cmp ecx, ebx
mov ecx, dword [ebp - 4]
pop edi
cmovbe eax, edx
xor ecx, ebp
pop esi
pop ebx
call fcn.004affa8
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x404e47
mov ebx, dword [ebp - 0x14]
cmp edi, ebx
jae 0x404e4a
mov byte [esi], 0
jmp 0x404e4a
push 0x80004005
call fcn.0040a130
nop
lodsd eax, dword [esi]
dec ebp
inc eax
add byte [esi + 0x404d], 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