Function at 0x40236b
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, edx
mov dword [ebp - 0xc], esi
push edi
test ecx, ecx
je 0x402637
test esi, esi
je 0x402637
cmp ecx, esi
je 0x402637
xor edi, edi
mov dword [ebp - 0x28], esi
and dword [ebp - 0x20], edi
lea ebx, [esi + 0x823]
and dword [ebp - 8], edi
xor eax, eax
push 0x20
mov dword [ebp - 0x24], ebx
inc eax
mov bl, byte [ecx]
mov dword [ebp - 0x18], edi
pop edx
mov dword [ebp - 0x1c], edx
test bl, bl
je 0x402613
and dword [ebp - 4], 0
inc ecx
cmp edi, 0x823
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
cmove eax, dword [ebp - 4]
mov dword [ebp - 4], eax
cmp bl, 0x3a
jne 0x402449
mov ecx, dword [ebp - 8]
test dl, dl
jns 0x4024a5
test ecx, ecx
jne 0x4024a5
test eax, eax
je 0x402441
mov byte [esi], cl
mov ecx, esi
sub ecx, edi
cmp ecx, dword [ebp - 0x28]
jb 0x402637
mov eax, dword [ebp - 0x24]
cmp ecx, eax
ja 0x402637
sub eax, ecx
inc eax
push eax
push ecx
call fcn.004050ab
push eax
call fcn.004029d0
add esp, 0xc
cmp edi, 4
jne 0x402441
push edi
lea eax, [esi - 4]
push eax
push 0x41979c
call fcn.00404ea0
mov ecx, dword [ebp - 0x20]
add esp, 0xc
test eax, eax
push 1
pop eax
cmove ecx, eax
mov dword [ebp - 0x20], ecx
lea ecx, [edi + 1]
mov dword [ebp - 8], ecx
jmp 0x4024a5
cmp bl, 0x25
jne 0x4024d6
test dl, 4
je 0x4024a2
mov dl, byte [ecx]
test dl, dl
je 0x402607
inc ecx
mov dword [ebp - 0x10], ecx
mov cl, dl
call fcn.0040225d
movzx ebx, ax
test bx, bx
js 0x402600
mov eax, dword [ebp - 0x10]
mov cl, byte [eax]
test cl, cl
je 0x402604
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
call fcn.0040225d
movzx eax, ax
test ax, ax
js 0x4025fc
shl bl, 4
add bl, al
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
test al, al
jns 0x402526
test al, 2
jne 0x402526
cmp bl, 0x5c
jne 0x4024f0
test ecx, ecx
jne 0x4024c0
test eax, 0x100
je 0x402526
mov edx, dword [ebp - 4]
test edx, edx
je 0x402529
cmp dword [ebp - 0x20], 0
je 0x4024d2
cmp edi, 7
jae 0x402529
mov bl, 0x2f
jmp 0x402529
cmp bl, 0x3f
je 0x4024e0
cmp bl, 0x23
jne 0x4024a2
mov ecx, dword [ebp - 8]
test dl, 0x20
je 0x4024a5
or edx, 2
mov dword [ebp - 0x1c], edx
jmp 0x4024a5
cmp bl, 0x2e
jne 0x402526
test edi, edi
je 0x402526
test al, 8
jne 0x402526
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
lea edx, [esi - 1]
lea ecx, [ebp - 0xc]
call fcn.0040228b
mov esi, dword [ebp - 0xc]
add esp, 0x14
mov edi, dword [ebp - 0x18]
test eax, eax
jne 0x402551
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 4]
movzx ecx, bl
cmp ecx, 0x40
jg 0x402559
cmp ecx, 0x3b
jge 0x402577
cmp ecx, 0x20
je 0x402577
cmp ecx, 0x21
jle 0x402570
cmp ecx, 0x26
jle 0x402577
cmp ecx, 0x2a
jle 0x402570
cmp ecx, 0x2c
jle 0x402577
jmp 0x402570
mov ecx, dword [ebp - 0x14]
jmp 0x4025eb
cmp ecx, 0x5b
jl 0x402570
cmp ecx, 0x5e
jle 0x402577
cmp ecx, 0x60
je 0x402577
lea eax, [ecx - 0x7b]
cmp eax, 2
jbe 0x402577
lea eax, [ebx - 0x20]
cmp al, 0x5e
jbe 0x4025da
mov eax, dword [ebp - 0x1c]
test al, 2
jne 0x4025da
test al, 0x10
je 0x402587
cmp bl, 0x20
jne 0x4025da
test al, 8
je 0x402590
cmp bl, 0x2e
je 0x4025da
test al, 0x40
jne 0x402599
cmp bl, 0x25
je 0x4025da
cmp edi, 0x820
sbb eax, eax
and edx, eax
mov dword [ebp - 4], edx
je 0x4025d5
mov byte [esi], 0x25
lea edx, [esi + 1]
cmp bl, 0x10
jae 0x4025b7
mov byte [edx], 0x30
inc edx
mov eax, dword [ebp - 0x24]
push 0x10
sub eax, edx
push eax
push edx
push ecx
call fcn.00404dae
push eax
call fcn.004029d0
add esp, 0x14
add esi, 3
mov dword [ebp - 0xc], esi
add edi, 2
jmp 0x4025e4
test edx, edx
je 0x4025e4
mov byte [esi], bl
inc esi
mov dword [ebp - 0xc], esi
mov ecx, dword [ebp - 0x10]
inc edi
mov dword [ebp - 0x18], edi
mov bl, byte [ecx]
mov eax, dword [ebp - 4]
test bl, bl
je 0x402607
mov edx, dword [ebp - 0x1c]
jmp 0x4023bb
xor eax, eax
jmp 0x402607
xor eax, eax
jmp 0x402616
mov eax, dword [ebp - 4]
test eax, eax
je 0x402616
cmp edi, 0x823
jae 0x402616
mov byte [esi], 0
mov edx, dword [ebp + 8]
test edx, edx
je 0x402622
lea ecx, [edi + 1]
mov dword [edx], ecx
lea ecx, [edi + 1]
xor edx, edx
pop edi
cmp ecx, 0x823
pop esi
cmova eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402f1d
int3