Function at 0x42047e
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.00405b6e
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], edi
call fcn.00405b6e
cmp word [esi], 0x5e
pop ecx
pop ecx
mov byte [ebp + 0xb], 0
je 0x4204e0
mov eax, dword [ebp - 4]
cmp word [eax], 0x2d
jne 0x4204fb
mov cx, word [eax + 2]
or cx, 0x20
cmp cx, 0x6d
jne 0x4204fb
push 5
lea eax, [ebp - 4]
push eax
push str._mode
call fcn.00446de5
add esp, 0xc
test al, al
je 0x4204f8
push 0x26
push ebx
push dword [ebp - 4]
call fcn.0040788c
add esp, 0xc
neg al
sbb eax, eax
inc eax
jmp 0x4206d9
mov eax, dword [ebp - 4]
mov cx, word [eax]
cmp cx, 0x3f
jne 0x42051a
push dword [ebp + 0xc]
add eax, 2
push dword [ebp + 0x14]
mov ecx, ebx
push eax
call fcn.0048f159
jmp 0x4206d9
cmp cx, 0x24
je 0x420568
cmp cx, 0x23
je 0x420568
cmp cx, 0x26
jne 0x42054b
cmp word [eax + 2], cx
jne 0x42054b
cmp word [eax + 4], cx
jne 0x42054b
push 0
push ebx
push eax
call fcn.0040788c
add esp, 0xc
test al, al
jne 0x420583
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp word [ecx], 0x40
jne 0x42056f
push dword [ebp + 0x14]
add ecx, 2
push edi
push ecx
mov ecx, ebx
call fcn.004924bd
jmp 0x4206d9
mov cl, byte [eax]
mov byte [ebp + 0xb], cl
jmp 0x42054b
cmp word [eax], 0x2a
jne 0x42058a
cmp word [eax + 2], 0
jne 0x42058a
push ebx
call fcn.004120ae
pop ecx
xor eax, eax
jmp 0x4206d9
mov di, word [esi]
and dword [ebp + 0x14], 0
xor cl, cl
cmp di, 0x2d
jne 0x4205f6
mov dx, word [esi + 2]
cmp dx, 0x73
jne 0x4205b3
cmp word [esi + 4], 0x74
jne 0x4205f6
cmp word [esi + 6], 0x64
je 0x42062b
jmp 0x4205f6
cmp word [eax], 0x3b
jne 0x4205f6
cmp word [eax + 2], 0x26
jne 0x4205f6
push 0x20
pop ecx
or edx, ecx
cmp dx, 0x61
jne 0x4205f6
mov dx, word [esi + 4]
or dx, cx
cmp dx, 0x64
jne 0x4205f6
mov dx, word [esi + 6]
or dx, cx
cmp dx, 0x64
jne 0x4205f6
mov dx, word [esi + 8]
or dx, cx
cmp dx, 0x72
je 0x420694
cmp byte [ebp + 0xb], 0
jne 0x4206b2
cmp byte [ebx + 9], 0
jne 0x42060c
cmp di, 0x3f
jne 0x420688
cmp di, 0x2d
jne 0x420682
cmp word [esi + 2], 0x65
jne 0x420682
cmp word [esi + 4], 0x6e
jne 0x420682
cmp word [esi + 6], 0x76
jne 0x420682
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.0045522d
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00405b6e
cmp byte [ebp + 0xb], 0
mov eax, dword [ebp - 4]
pop ecx
jne 0x420664
cmp byte [ebp + 0xc], 0
jne 0x420694
cmp word [eax], 0x26
je 0x420694
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.0041ffc6
jmp 0x4206a4
cmp word [eax], 0x5e
jne 0x420694
cmp byte [ebp + 0xc], 0
jne 0x420694
cmp word [eax], 0x26
jne 0x4206b2
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 0x10]
push 0
push eax
call fcn.0045c7b6
lea ecx, [ebp + 0x14]
mov esi, eax
call fcn.0043e679
mov eax, esi
jmp 0x4206d9
lea ecx, [ebp + 0x14]
call fcn.0043e679
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.0041ffc6
pop edi
pop esi
pop ebx
leave
ret 0x10