Function at 0x4183a0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x418885
lea edi, [esi + 8]
nop word [eax + eax]
cmp eax, 0x7c
je 0x418885
cmp eax, 0x29
jne 0x4183ea
cmp dword [esi + 0x10], 0
jne 0x418885
test dword [esi + 0x50], 0x10000000
je 0x418895
jmp 0x41881f
cmp eax, 0x2e
jne 0x418459
push 5
lea ecx, [esi + 0x24]
call fcn.004188b0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x418866
cmp byte [eax], 0x5c
jne 0x41865b
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x41844f
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x41842f
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x418444
cmp cl, 0x29
je 0x418444
mov ecx, eax
test bl, 0x10
jne 0x41844f
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x418444
mov edx, ecx
cmp bl, 0x7d
jne 0x41844f
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x418866
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x418866
cmp eax, 0x5c
jne 0x4185a8
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x4184ae
cmp byte [eax], 0x5c
jne 0x4184ab
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x4184a9
test byte [esi + 0x50], 8
jne 0x41848e
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x4184a4
cmp cl, 0x29
je 0x4184a4
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x4184a9
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x4184a4
mov edx, ecx
cmp bl, 0x7d
jne 0x4184a9
lea eax, [edx + 1]
jmp 0x4184ab
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004165d0
test byte [esi + 0x50], 0x80
je 0x41859c
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x418535
push 4
lea ecx, [esi + 0x24]
call fcn.004188b0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x418529
cmp byte [eax], 0x5c
jne 0x418526
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x418524
test byte [esi + 0x50], 8
jne 0x4184fc
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x418512
cmp cl, 0x29
je 0x418512
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x418524
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x418512
mov edx, ecx
cmp bl, 0x7d
jne 0x418524
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.004165d0
jmp 0x418877
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004165d0
jmp 0x418877
cmp al, 0x42
jne 0x41859c
push 4
lea ecx, [esi + 0x24]
call fcn.004188b0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x418590
cmp byte [eax], 0x5c
jne 0x41858d
lea ebx, [eax + 1]
cmp ebx, ecx
je 0x41858d
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x418577
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x28
je 0x41858a
cmp dl, 0x29
je 0x41858a
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x41858d
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x7b
je 0x41858a
cmp dl, 0x7d
jne 0x41858d
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004165d0
jmp 0x418877
mov ecx, esi
call fcn.0041a700
jmp 0x41886d
cmp eax, 0x5b
jne 0x418663
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4185f9
cmp byte [eax], 0x5c
jne 0x4185f6
lea edx, [eax + 1]
cmp edx, ecx
je 0x4185f6
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x4185e0
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x4185f3
cmp byte [ebp - 1], 0x29
je 0x4185f3
test bl, 0x10
jne 0x4185f6
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x4185f3
cmp dl, 0x7d
jne 0x4185f6
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004165d0
mov ecx, esi
call fcn.0041a5c0
cmp dword [esi + 0x4c], 0x5d
jne 0x4188a3
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x418866
cmp byte [eax], 0x5c
jne 0x41865b
lea edx, [eax + 1]
cmp edx, ecx
je 0x41865b
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x418645
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x418658
cmp byte [ebp - 1], 0x29
je 0x418658
test bl, 0x10
jne 0x41865b
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x418658
cmp dl, 0x7d
jne 0x41865b
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
jmp 0x418866
cmp eax, 0x28
jne 0x418727
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4186b2
cmp byte [eax], 0x5c
jne 0x4186af
lea edx, [eax + 1]
cmp edx, ecx
je 0x4186af
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x418699
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x4186ac
cmp bl, 0x29
je 0x4186ac
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x4186af
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x4186ac
cmp dl, 0x7d
jne 0x4186af
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004165d0
mov ecx, esi
call fcn.0041a850
cmp dword [esi + 0x4c], 0x29
mov bh, al
jne 0x418895
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x418713
cmp byte [eax], 0x5c
jne 0x418710
lea edx, [eax + 1]
cmp edx, ecx
je 0x418710
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4186fa
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x41870d
cmp bl, 0x29
je 0x41870d
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x418710
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x41870d
cmp dl, 0x7d
jne 0x418710
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004165d0
test bh, bh
je 0x418877
jmp 0x41886d
cmp eax, 0x5e
jne 0x41877e
push 2
lea ecx, [esi + 0x24]
call fcn.004188b0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x418772
cmp byte [eax], 0x5c
jne 0x418770
inc eax
cmp eax, ecx
je 0x418770
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x41875f
mov dl, byte [eax]
cmp dl, 0x28
je 0x41876e
cmp dl, 0x29
je 0x41876e
test cl, 0x10
jne 0x418770
mov al, byte [eax]
cmp al, 0x7b
je 0x41876e
cmp al, 0x7d
jne 0x418770
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.004165d0
jmp 0x418877
cmp eax, 0x24
jne 0x4187d5
push 3
lea ecx, [esi + 0x24]
call fcn.004188b0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4187c9
cmp byte [eax], 0x5c
jne 0x4187c7
inc eax
cmp eax, ecx
je 0x4187c7
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4187b6
mov dl, byte [eax]
cmp dl, 0x28
je 0x4187c5
cmp dl, 0x29
je 0x4187c5
test cl, 0x10
jne 0x4187c7
mov al, byte [eax]
cmp al, 0x7b
je 0x4187c5
cmp al, 0x7d
jne 0x4187c7
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.004165d0
jmp 0x418877
cmp eax, 0x2a
je 0x41888e
cmp eax, 0x2b
je 0x41888e
cmp eax, 0x3f
je 0x41888e
cmp eax, 0x7b
je 0x41888e
cmp eax, 0x7d
jne 0x41880d
test dword [esi + 0x50], 0x10000000
je 0x41889c
jmp 0x41881f
cmp eax, 0x5d
jne 0x41881f
test dword [esi + 0x50], 0x10000000
je 0x4188a3
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0041ac10
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x418866
cmp byte [eax], 0x5c
jne 0x418864
inc eax
cmp eax, ecx
je 0x418864
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x418853
mov dl, byte [eax]
cmp dl, 0x28
je 0x418862
cmp dl, 0x29
je 0x418862
test cl, 0x10
jne 0x418864
mov al, byte [eax]
cmp al, 0x7b
je 0x418862
cmp al, 0x7d
jne 0x418864
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.004165d0
mov ecx, esi
call fcn.0041a9e0
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x4183c0
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.004165c0
push 5
call fcn.004165c0
push 6
call fcn.004165c0
push 4
call fcn.004165c0
int3