Function at 0x421302
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push edi
push eax
mov ebx, ecx
mov dword [ebp - 4], esi
call fcn.00408f31
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], edi
call fcn.00408f31
cmp word [esi], 0x5e
pop ecx
pop ecx
mov byte [ebp + 0xb], 0
je 0x421364
mov eax, dword [ebp - 4]
cmp word [eax], 0x2d
jne 0x42137f
mov cx, word [eax + 2]
or cx, 0x20
cmp cx, 0x6d
jne 0x42137f
push 5
lea eax, [ebp - 4]
push eax
push str._mode
call fcn.004485c7
add esp, 0xc
test al, al
je 0x42137c
push 0x26
push ebx
push dword [ebp - 4]
call fcn.004073ef
add esp, 0xc
neg al
sbb eax, eax
inc eax
jmp 0x42155d
mov eax, dword [ebp - 4]
mov cx, word [eax]
cmp cx, 0x3f
jne 0x42139e
push dword [ebp + 0xc]
add eax, 2
push dword [ebp + 0x14]
mov ecx, ebx
push eax
call fcn.00493bf2
jmp 0x42155d
cmp cx, 0x24
je 0x4213ec
cmp cx, 0x23
je 0x4213ec
cmp cx, 0x26
jne 0x4213cf
cmp word [eax + 2], cx
jne 0x4213cf
cmp word [eax + 4], cx
jne 0x4213cf
push 0
push ebx
push eax
call fcn.004073ef
add esp, 0xc
test al, al
jne 0x421407
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp word [ecx], 0x40
jne 0x4213f3
push dword [ebp + 0x14]
add ecx, 2
push edi
push ecx
mov ecx, ebx
call fcn.0049728f
jmp 0x42155d
mov cl, byte [eax]
mov byte [ebp + 0xb], cl
jmp 0x4213cf
cmp word [eax], 0x2a
jne 0x42140e
cmp word [eax + 2], 0
jne 0x42140e
push ebx
call fcn.00412528
pop ecx
xor eax, eax
jmp 0x42155d
mov di, word [esi]
and dword [ebp + 0x14], 0
xor cl, cl
cmp di, 0x2d
jne 0x42147a
mov dx, word [esi + 2]
cmp dx, 0x73
jne 0x421437
cmp word [esi + 4], 0x74
jne 0x42147a
cmp word [esi + 6], 0x64
je 0x4214af
jmp 0x42147a
cmp word [eax], 0x3b
jne 0x42147a
cmp word [eax + 2], 0x26
jne 0x42147a
push 0x20
pop ecx
or edx, ecx
cmp dx, 0x61
jne 0x42147a
mov dx, word [esi + 4]
or dx, cx
cmp dx, 0x64
jne 0x42147a
mov dx, word [esi + 6]
or dx, cx
cmp dx, 0x64
jne 0x42147a
mov dx, word [esi + 8]
or dx, cx
cmp dx, 0x72
je 0x421518
cmp byte [ebp + 0xb], 0
jne 0x421536
cmp byte [ebx + 9], 0
jne 0x421490
cmp di, 0x3f
jne 0x42150c
cmp di, 0x2d
jne 0x421506
cmp word [esi + 2], 0x65
jne 0x421506
cmp word [esi + 4], 0x6e
jne 0x421506
cmp word [esi + 6], 0x76
jne 0x421506
xor ecx, ecx
mov cl, 0x40
or ecx, 1
push ecx
push 0
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.00457f62
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00408f31
cmp byte [ebp + 0xb], 0
mov eax, dword [ebp - 4]
pop ecx
jne 0x4214e8
cmp byte [ebp + 0xc], 0
jne 0x421518
cmp word [eax], 0x26
je 0x421518
movsx ecx, byte [ebp + 0xb]
push dword [ebp + 0x10]
push ecx
push ecx
xor ecx, ecx
cmp byte [ebp + 0xb], cl
setne cl
lea eax, [eax + ecx*2]
push eax
mov ecx, ebx
call fcn.00420e4a
jmp 0x421528
cmp word [eax], 0x5e
jne 0x421518
cmp byte [ebp + 0xc], 0
jne 0x421518
cmp word [eax], 0x26
jne 0x421536
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 0x10]
push 0
push eax
call fcn.0045f9f2
lea ecx, [ebp + 0x14]
mov esi, eax
call fcn.0043fe25
mov eax, esi
jmp 0x42155d
lea ecx, [ebp + 0x14]
call fcn.0043fe25
movsx eax, byte [ebp + 0xb]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
push eax
push eax
xor eax, eax
cmp byte [ebp + 0xb], al
setne al
lea eax, [ecx + eax*2]
push eax
mov ecx, ebx
call fcn.00420e4a
pop edi
pop esi
pop ebx
leave
ret 0x10