Function at 0x414ca0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
push 0x49fabc
call fcn.0041ab20
mov ebx, dword [ebp + 8]
mov edx, ebx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x414cc1
sub edx, esi
lea edi, [edx + 0x100]
push edi
mov dword [ebp - 0x14], edi
call fcn.0042c0b7
push edi
mov esi, eax
push 0
push esi
mov dword [ebp + 8], esi
call fcn.00431580
mov cl, byte [ebx]
add esp, 0x10
xor edi, edi
test cl, cl
je 0x415121
cmp cl, 0x3d
jne 0x415111
cmp byte [ebx + 1], 0x3f
jne 0x415111
lea ecx, [ebx + 2]
mov esi, ecx
cmp byte [esi], 0
je 0x414d5b
mov al, byte [esi]
cmp al, 0x20
jle 0x414d5b
cmp al, 0x28
je 0x414d5b
cmp al, 0x29
je 0x414d5b
cmp al, 0x3c
je 0x414d5b
cmp al, 0x3e
je 0x414d5b
cmp al, 0x40
je 0x414d5b
cmp al, 0x2c
je 0x414d5b
cmp al, 0x3b
je 0x414d5b
cmp al, 0x3a
je 0x414d5b
cmp al, 0x22
je 0x414d5b
cmp al, 0x2f
je 0x414d5b
cmp al, 0x5b
je 0x414d5b
cmp al, 0x5d
je 0x414d5b
cmp al, 0x3f
je 0x414d5b
cmp al, 0x2e
je 0x414d5b
cmp al, 0x3d
je 0x414d5b
inc esi
cmp byte [esi], 0
jne 0x414d13
cmp byte [esi], 0x3f
jne 0x415108
mov al, byte [esi + 1]
cmp al, 0x51
je 0x414d73
cmp al, 0x71
jne 0x414f33
cmp byte [esi + 2], 0x3f
jne 0x414f33
push ecx
mov ecx, dword [ebp - 0xc]
mov byte [esi], 0
call fcn.00415a90
mov byte [esi], 0x3f
mov edx, eax
mov cl, byte [esi + 3]
add esi, 3
mov dword [ebp - 8], edx
mov ebx, edi
mov dword [ebp - 4], ebx
test cl, cl
je 0x414e6a
cmp cl, 0x3f
je 0x414e71
cmp cl, 0x20
jle 0x414e64
cmp cl, 0x3d
jne 0x414e43
movsx eax, byte [esi + 1]
push eax
call fcn.0043f00f
add esp, 4
test eax, eax
je 0x414dd8
mov bl, byte [esi + 1]
sub bl, 0x30
jmp 0x414df4
movsx eax, byte [esi + 1]
push eax
call fcn.0043f03c
mov bl, byte [esi + 1]
add esp, 4
test eax, eax
je 0x414df1
sub bl, 0x57
jmp 0x414df4
sub bl, 0x37
movsx eax, byte [esi + 2]
add esi, 2
push eax
shl bl, 4
call fcn.0043f00f
add esp, 4
test eax, eax
je 0x414e19
mov al, byte [esi]
sub al, 0x30
add bl, al
mov eax, dword [ebp + 8]
mov byte [edi + eax], bl
jmp 0x414e57
movsx eax, byte [esi]
push eax
call fcn.0043f03c
add esp, 4
test eax, eax
mov al, byte [esi]
je 0x414e37
sub al, 0x57
add bl, al
mov eax, dword [ebp + 8]
mov byte [edi + eax], bl
jmp 0x414e57
sub al, 0x37
add bl, al
mov eax, dword [ebp + 8]
mov byte [edi + eax], bl
jmp 0x414e57
movzx eax, cl
cmp cl, 0x5f
mov ecx, 0x20
cmove eax, ecx
mov ecx, dword [ebp + 8]
mov byte [edi + ecx], al
mov cl, byte [esi + 1]
inc esi
inc edi
test cl, cl
jne 0x414da4
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
cmp byte [esi], 0x3f
jne 0x414e80
jmp 0x414e77
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
cmp byte [esi + 1], 0x3d
jne 0x414e80
add esi, 2
mov eax, dword [ebp + 8]
push 0
push 0
push 0xffffffffffffffff
add eax, ebx
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov edx, 2
lea edi, [eax + 1]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042c0b7
lea ecx, [edi + edi]
mov ebx, eax
push ecx
push 0
push ebx
call fcn.00431580
add esp, 0x10
push edi
mov edi, dword [ebp - 4]
add edi, dword [ebp + 8]
push ebx
push 0xffffffffffffffff
push edi
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push dword [ebp - 0x14]
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.0042c0c0
add esp, 4
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x414ef8
mov eax, dword [ebp - 4]
sub edi, ecx
add edi, eax
mov al, byte [esi]
cmp al, 0x20
je 0x414f14
cmp al, 9
jne 0x415100
cmp byte [esi + 1], 0x3d
lea eax, [esi + 1]
jne 0x415100
cmp byte [esi + 2], 0x3f
cmove esi, eax
lea ebx, [esi - 1]
mov esi, dword [ebp + 8]
jmp 0x415115
cmp al, 0x42
je 0x414f3f
cmp al, 0x62
jne 0x415108
cmp byte [esi + 2], 0x3f
jne 0x415108
push ecx
mov ecx, dword [ebp - 0xc]
mov byte [esi], 0
call fcn.00415a90
mov byte [esi], 0x3f
xor ebx, ebx
add esi, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], edi
cmp byte [esi], bl
je 0x414f7e
mov cl, byte [esi]
nop dword [eax]
cmp cl, 0x3f
je 0x414f7e
mov cl, byte [ebx + esi + 1]
inc ebx
test cl, cl
jne 0x414f70
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push esi
call fcn.004146d0
mov edx, eax
add esi, ebx
add esp, 8
mov dword [ebp - 0x18], esi
test edx, edx
je 0x414fc6
mov ebx, dword [ebp - 0x10]
xor ecx, ecx
test ebx, ebx
je 0x414fb4
mov esi, dword [ebp + 8]
mov al, byte [edx + ecx]
inc ecx
mov byte [edi + esi], al
inc edi
cmp ecx, ebx
jb 0x414fa5
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp + 8]
push edx
mov byte [edi + ebx], 0
call fcn.0042c0c0
add esp, 4
jmp 0x414fc9
mov ebx, dword [ebp + 8]
cmp byte [esi], 0x3f
jne 0x414fd7
cmp byte [esi + 1], 0x3d
jne 0x414fd7
add esi, 2
cmp dword [ebp - 4], 0xc42c
jne 0x41505d
mov edx, dword [ebp - 8]
add edx, ebx
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414ff0
sub ecx, edi
cmp ecx, 6
jb 0x41505d
cmp dword [edx], 0x1b42241b
jne 0x41501e
cmp word [edx + 4], 0x4224
je 0x41503e
cmp dword [edx], 0x1b42241b
jne 0x41501e
cmp word [edx + 4], 0x4024
je 0x41503e
cmp dword [edx], 0x1b40241b
jne 0x41505d
cmp word [edx + 4], 0x4224
je 0x41503e
cmp dword [edx], 0x1b40241b
jne 0x41505d
cmp word [edx + 4], 0x4024
jne 0x41505d
lea edi, [edx + 3]
mov ecx, edi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415046
sub ecx, ebx
lea eax, [ecx + 1]
push eax
push edi
push edx
call fcn.00431760
add esp, 0xc
mov eax, dword [ebp - 8]
add eax, dword [ebp + 8]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov edx, 2
lea edi, [eax + 1]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042c0b7
lea ecx, [edi + edi]
mov ebx, eax
push ecx
push 0
push ebx
call fcn.00431580
add esp, 0x10
push edi
mov edi, dword [ebp - 8]
add edi, dword [ebp + 8]
push ebx
push 0xffffffffffffffff
push edi
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push dword [ebp - 0x14]
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.0042c0c0
add esp, 4
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4150d8
mov eax, dword [ebp - 8]
sub edi, ecx
add edi, eax
mov al, byte [esi]
cmp al, 0x20
je 0x4150f0
cmp al, 9
jne 0x415100
cmp byte [esi + 1], 0x3d
lea eax, [esi + 1]
jne 0x415100
cmp byte [esi + 2], 0x3f
cmove esi, eax
lea ebx, [esi - 1]
mov esi, dword [ebp + 8]
jmp 0x415115
mov esi, dword [ebp + 8]
mov byte [edi + esi], 0x3d
jmp 0x415114
mov byte [edi + esi], cl
inc edi
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
jne 0x414cf6
mov ecx, dword [ebp + 0xc]
push esi
mov byte [edi + esi], 0
call fcn.0041ab20
push esi
call fcn.0042c0c0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8