Function at 0x101841cf
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor esi, esi
push edi
mov edi, ecx
sub eax, 1
je 0x10184764
sub eax, 1
je 0x10184295
sub eax, 1
jne 0x101848c9
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
sub eax, 0xf
je 0x10184243
sub eax, 0x1d
je 0x10184213
dec eax
sub eax, 1
jne 0x101848c9
call fcn.1018084a
test al, al
je 0x101848c9
push ebx
mov ecx, edi
call fcn.10183556
mov esi, eax
cmp esi, dword [ebx + 0x10]
jne 0x101848c9
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0xe0]
jmp 0x101848c7
cmp byte [ebp + 0x10], 0
je 0x1018428c
mov al, byte [edi + 0x7d]
mov cl, al
shr cl, 1
xor cl, al
and cl, 0x10
xor cl, al
mov byte [edi + 0x7d], cl
test cl, 0x10
je 0x1018428c
mov eax, dword [edi + 4]
test eax, eax
je 0x10184274
mov al, byte [eax + 0x7d]
xor al, cl
and al, 0x10
xor al, cl
mov byte [edi + 0x7d], al
jmp 0x1018428c
test byte [edi + 0x84], 4
je 0x10184286
test byte [edi + 0x82], 0x20
jne 0x1018428c
and cl, 0xef
mov byte [edi + 0x7d], cl
test byte [edi + 0x7d], 0x10
jmp 0x10184866
cmp byte [ebp + 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
jne 0x10184722
cmp eax, 0x3b
jg 0x1018455b
je 0x10184513
cmp eax, 0x1c
jg 0x10184388
je 0x10184377
cmp eax, 0x10
jg 0x10184337
je 0x10184332
dec eax
sub eax, 1
je 0x10184322
sub eax, 7
je 0x1018430b
sub eax, 5
je 0x101842f9
sub eax, 1
jne 0x101848c9
mov al, byte [edi + 0x7d]
shr al, 5
and al, 1
movzx eax, al
push eax
call fcn.1017752b
jmp 0x101848c7
movzx eax, byte [edi + 0x7e]
and eax, 7
push eax
call fcn.10178204
jmp 0x101848c7
test byte [edi + 0x32], 0x80
je 0x101848c9
mov eax, dword [0x104d0770]
mov esi, dword [eax + 0x10]
jmp 0x101848c9
cmp dword [edi + 8], esi
jne 0x101848c9
mov eax, dword [0x104d0754]
jmp 0x1018431a
mov al, byte [edi + 0x7e]
jmp 0x101842e6
sub eax, 0x11
je 0x10184371
sub eax, 1
je 0x10184360
sub eax, 6
je 0x10184358
dec eax
sub eax, 1
jne 0x101848c9
mov al, byte [edi + 0x7e]
shr al, 3
jmp 0x101842e9
mov al, byte [edi + 0x7d]
shr al, 7
jmp 0x101842eb
test byte [edi + 0x7f], 0x20
jne 0x101848c9
mov eax, dword [0x104d5c08]
jmp 0x1018431a
movzx eax, byte [edi + 0x7c]
jmp 0x10184300
test byte [edi + 0x7f], 0x40
je 0x101848c9
mov eax, dword [0x104d5c70]
jmp 0x1018431a
cmp eax, 0x25
jg 0x101843dd
je 0x101843d3
sub eax, 0x20
je 0x101843cb
sub eax, 1
je 0x101843c0
dec eax
sub eax, 1
je 0x101843b4
sub eax, 1
jne 0x101848c9
push 0x60
call fcn.102df0dc
jmp 0x10184300
call fcn.102c6959
test eax, eax
jmp 0x10184866
mov al, byte [edi + 0x84]
jmp 0x101842e9
mov al, byte [edi + 0x82]
jmp 0x1018435b
call fcn.10182f33
jmp 0x101842eb
sub eax, 0x34
je 0x1018446d
sub eax, 1
je 0x10184459
sub eax, 1
je 0x10184442
sub eax, 4
jne 0x101848c9
movzx eax, byte [edi + 0x80]
shr eax, 4
and eax, 3
sub eax, 1
je 0x1018442e
sub eax, 1
je 0x10184423
sub eax, 1
jne 0x101848c9
mov esi, 0x104d0ae0
jmp 0x101848c9
mov esi, dword [0x10419544]
jmp 0x101848c9
mov eax, dword [0x10669d94]
test eax, eax
je 0x101848c9
mov esi, eax
jmp 0x10184852
test byte [edi + 0x80], 1
je 0x101848c9
mov eax, dword [0x104d44fc]
jmp 0x1018431a
test byte [edi + 0x7f], 8
je 0x101848c9
mov eax, dword [0x104d42cc]
jmp 0x1018431a
test byte [edi + 0x7f], 6
jne 0x1018447d
mov eax, dword [0x104d4398]
jmp 0x1018431a
movzx ecx, word [edi + 0x14]
push 0x23
pop ebx
cmp cx, bx
jae 0x101844c2
mov edx, ecx
mov eax, esi
test edx, edx
jle 0x101844d8
mov ecx, dword [edi + 0x18]
mov esi, dword [0x104d43d0]
cmp esi, dword [ecx + eax*8]
push 0
pop esi
je 0x101844b7
mov ebx, dword [0x104d43d0]
cmp ebx, dword [ecx + eax*8]
push 0x23
pop ebx
jb 0x101844d8
inc eax
cmp eax, edx
jl 0x10184494
jmp 0x101844d8
lea eax, [eax*8 + 4]
add eax, ecx
jmp 0x101844d0
mov edx, dword [0x104d43d0]
lea ecx, [edi + 0x14]
call fcn.101a3637
test eax, eax
jne 0x10184850
movzx ecx, word [edi + 0x14]
cmp cx, bx
jae 0x1018483e
mov ebx, ecx
mov eax, esi
test ebx, ebx
jle 0x101848c9
mov ecx, dword [edi + 0x18]
mov edx, dword [0x104d4398]
cmp edx, dword [ecx + eax*8]
je 0x10184833
jb 0x101848c9
inc eax
cmp eax, ebx
jl 0x101844fa
jmp 0x101848c9
movzx eax, byte [edi + 0x80]
shr eax, 6
sub eax, 1
je 0x10184544
sub eax, 1
je 0x1018453a
sub eax, 1
jne 0x101848c9
mov esi, 0x103ab468
jmp 0x101848c9
mov eax, dword [0x10669d90]
jmp 0x10184433
cmp dword [0x10669d94], esi
je 0x101848c9
mov esi, dword [0x10669d98]
jmp 0x10184852
mov ecx, 0x89
cmp eax, ecx
jg 0x1018467a
je 0x1018466f
cmp eax, 0x42
jg 0x101845fb
je 0x101845e7
sub eax, 0x3c
je 0x101845d0
sub eax, 1
je 0x101845b9
sub eax, 3
je 0x101845a5
sub eax, 1
jne 0x101848c9
test byte [edi + 0x7e], 0x80
jne 0x101848c9
mov eax, dword [0x104d3f44]
jmp 0x1018431a
test byte [edi + 0x7e], 0x40
jne 0x101848c9
mov eax, dword [0x104d3ed8]
jmp 0x1018431a
test byte [edi + 0x80], 4
je 0x101848c9
mov eax, dword [0x104d5a88]
jmp 0x1018431a
test byte [edi + 0x80], 2
je 0x101848c9
mov eax, dword [0x104d4640]
jmp 0x1018431a
test byte [edi + 0x7f], 1
jne 0x101848c9
mov eax, dword [0x104d402c]
jmp 0x1018431a
sub eax, 0x44
je 0x1018465b
sub eax, 5
je 0x1018462f
sub eax, 6
je 0x10184623
dec eax
sub eax, 1
jne 0x101848c9
movzx eax, byte [edi + 0x7e]
shr eax, 4
and eax, 1
jmp 0x10184300
movzx eax, byte [edi + 0x7d]
and eax, 3
jmp 0x10184300
mov al, byte [edi + 0x82]
test al, 0xf
jne 0x10184643
mov eax, dword [0x104d3dc0]
jmp 0x1018431a
test byte [edi + 0x81], 0x10
je 0x101848c9
movzx eax, al
and eax, 0xf
jmp 0x10184300
test byte [edi + 0x7f], 0x80
je 0x101848c9
mov eax, dword [0x104d44c8]
jmp 0x1018431a
movzx eax, byte [edi + 0x84]
shr eax, 1
jmp 0x1018461b
mov ecx, 0x8e
cmp eax, ecx
jg 0x101846e1
je 0x101846d3
sub eax, 0x8a
je 0x101846c8
sub eax, 1
je 0x101846ba
sub eax, 1
je 0x101846ae
sub eax, 1
jne 0x101848c9
movzx eax, byte [edi + 0x85]
shr eax, 2
jmp 0x10184627
movzx eax, byte [edi + 0x85]
jmp 0x10184627
mov al, byte [edi + 0x84]
shr al, 6
jmp 0x101842e9
mov al, byte [edi + 0x84]
jmp 0x101842e6
mov al, byte [edi + 0x85]
shr al, 4
jmp 0x101842e9
sub eax, 0x9c
je 0x10184716
sub eax, 1
je 0x1018470a
sub eax, 8
jne 0x101848c9
test byte [edi + 0x7f], 4
jne 0x101848c9
mov eax, dword [0x104d43d0]
jmp 0x1018431a
test byte [edi + 0x85], 0x40
jmp 0x10184866
test byte [edi + 0x85], 0x20
jmp 0x10184866
sub eax, 0xe
je 0x101842f9
sub eax, 1
je 0x10184752
sub eax, 0x3a
jne 0x101848c9
test byte [edi + 0x81], 0x10
je 0x101848c9
movzx eax, byte [edi + 0x82]
jmp 0x10184653
test byte [edi + 0x84], 4
je 0x101848c9
jmp 0x101842e3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
cmp eax, 0x49
jg 0x10184875
je 0x10184739
sub eax, 0xe
je 0x101842f9
sub eax, 1
je 0x10184752
sub eax, 0xa
je 0x10184862
dec eax
sub eax, 1
je 0x1018485c
sub eax, 0x19
jne 0x101848c9
test byte [edi + 0x7f], 6
je 0x101848c9
movzx ecx, word [edi + 0x14]
push 0x23
pop ebx
cmp cx, bx
jae 0x101847ee
mov edx, ecx
mov eax, esi
test edx, edx
jle 0x10184800
mov ecx, dword [edi + 0x18]
mov esi, dword [0x104d43d0]
cmp esi, dword [ecx + eax*8]
push 0
pop esi
je 0x101847e3
mov ebx, dword [0x104d43d0]
cmp ebx, dword [ecx + eax*8]
push 0x23
pop ebx
jb 0x10184800
inc eax
cmp eax, edx
jl 0x101847c0
jmp 0x10184800
lea eax, [eax*8 + 4]
add eax, ecx
jmp 0x101847fc
mov edx, dword [0x104d43d0]
lea ecx, [edi + 0x14]
call fcn.101a3637
test eax, eax
jne 0x10184850
movzx ecx, word [edi + 0x14]
cmp cx, bx
jae 0x1018483e
mov ebx, ecx
mov eax, esi
test ebx, ebx
jle 0x101848c9
mov ecx, dword [edi + 0x18]
mov edx, dword [0x104d4398]
cmp edx, dword [ecx + eax*8]
je 0x10184833
jb 0x101848c9
inc eax
cmp eax, ebx
jl 0x1018481e
jmp 0x101848c9
lea eax, [eax*8 + 4]
add eax, ecx
jmp 0x1018484c
mov edx, dword [0x104d4398]
lea ecx, [edi + 0x14]
call fcn.101a3637
test eax, eax
je 0x101848c9
mov esi, dword [eax]
cmp dword [esi], 0xffffffff
je 0x101848c9
lock inc dword [esi]
jmp 0x101848c9
test byte [edi + 0x7d], 8
jmp 0x10184866
test byte [edi + 0x7d], 4
mov esi, dword [0x106583dc]
cmovne esi, dword [0x106583d8]
jmp 0x101848c9
sub eax, 0x4a
je 0x101848bc
sub eax, 1
je 0x101848b4
sub eax, 1
je 0x101848ac
sub eax, 1
je 0x1018489b
sub eax, 1
jne 0x101848c9
push dword [edi + 0x50]
push dword [edi + 0x4c]
call fcn.1017846f
jmp 0x101848c7
lea eax, [ebp - 8]
push eax
call fcn.101808d8
push dword [ebp - 4]
push dword [ebp - 8]
jmp 0x101848c2
push dword [edi + 0x58]
push dword [edi + 0x54]
jmp 0x10184894
push dword [edi + 0x60]
push dword [edi + 0x5c]
jmp 0x10184894
push dword [edi + 0x48]
push dword [edi + 0x44]
call fcn.10178393
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc