Function at 0x422359
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.00405444
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], edi
call fcn.00405444
cmp word [esi], 0x5e
pop ecx
pop ecx
mov byte [ebp + 0xb], 0
je 0x4223bb
mov eax, dword [ebp - 4]
cmp word [eax], 0x2d
jne 0x4223d6
mov cx, word [eax + 2]
or cx, 0x20
cmp cx, 0x6d
jne 0x4223d6
push 5
lea eax, [ebp - 4]
push eax
push str._mode
call fcn.00441bc4
add esp, 0xc
test al, al
je 0x4223d3
push 0x26
push ebx
push dword [ebp - 4]
call fcn.0040708b
add esp, 0xc
neg al
sbb eax, eax
inc eax
jmp 0x4225ae
mov eax, dword [ebp - 4]
mov cx, word [eax]
cmp cx, 0x3f
jne 0x4223f5
push dword [ebp + 0xc]
add eax, 2
push dword [ebp + 0x14]
mov ecx, ebx
push eax
call fcn.004560f7
jmp 0x4225ae
cmp cx, 0x24
je 0x422443
cmp cx, 0x23
je 0x422443
cmp cx, 0x26
jne 0x422426
cmp word [eax + 2], cx
jne 0x422426
cmp word [eax + 4], cx
jne 0x422426
push 0
push ebx
push eax
call fcn.0040708b
add esp, 0xc
test al, al
jne 0x42245e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp word [ecx], 0x40
jne 0x42244a
push dword [ebp + 0x14]
add ecx, 2
push edi
push ecx
mov ecx, ebx
call fcn.0047148c
jmp 0x4225ae
mov cl, byte [eax]
mov byte [ebp + 0xb], cl
jmp 0x422426
cmp word [eax], 0x2a
jne 0x422465
cmp word [eax + 2], 0
jne 0x422465
push ebx
call fcn.00410e0b
pop ecx
xor eax, eax
jmp 0x4225ae
mov di, word [esi]
and dword [ebp + 0x14], 0
xor cl, cl
cmp di, 0x2d
jne 0x4224d1
mov dx, word [esi + 2]
cmp dx, 0x73
jne 0x42248e
cmp word [esi + 4], 0x74
jne 0x4224d1
cmp word [esi + 6], 0x64
je 0x422500
jmp 0x4224d1
cmp word [eax], 0x3b
jne 0x4224d1
cmp word [eax + 2], 0x26
jne 0x4224d1
push 0x20
pop ecx
or edx, ecx
cmp dx, 0x61
jne 0x4224d1
mov dx, word [esi + 4]
or dx, cx
cmp dx, 0x64
jne 0x4224d1
mov dx, word [esi + 6]
or dx, cx
cmp dx, 0x64
jne 0x4224d1
mov dx, word [esi + 8]
or dx, cx
cmp dx, 0x72
je 0x422569
cmp byte [ebp + 0xb], 0
jne 0x422587
cmp byte [ebx + 9], 0
je 0x42255d
cmp di, 0x2d
jne 0x422557
cmp word [esi + 2], 0x65
jne 0x422557
cmp word [esi + 4], 0x6e
jne 0x422557
cmp word [esi + 6], 0x76
jne 0x422557
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.0044dca2
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00405444
cmp byte [ebp + 0xb], 0
mov eax, dword [ebp - 4]
pop ecx
jne 0x422539
cmp byte [ebp + 0xc], 0
jne 0x422569
cmp word [eax], 0x26
je 0x422569
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.00421ea1
jmp 0x422579
cmp word [eax], 0x5e
jne 0x422569
cmp byte [ebp + 0xc], 0
jne 0x422569
cmp word [eax], 0x26
jne 0x422587
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 0x10]
push 0
push eax
call fcn.00453859
lea ecx, [ebp + 0x14]
mov esi, eax
call fcn.00439cfd
mov eax, esi
jmp 0x4225ae
lea ecx, [ebp + 0x14]
call fcn.00439cfd
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.00421ea1
pop edi
pop esi
pop ebx
leave
ret 0x10