Function at 0x10015e06
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100722ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10015e37
push 0
call fcn.1001ce2a
pop ecx
jmp 0x10016031
lea eax, [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x10016018
mov dword [ebp - 0x24], 0x201d
cmp dword [ebp - 0x24], 0xb6d
jge 0x1001600e
call fcn.100597d7
push 0x20
pop ecx
imul ecx, ecx, 0
add eax, ecx
push eax
push 0x1000b514
push 0x1000b518
call fcn.10059cac
add esp, 0xc
call fcn.100597d7
push 0x20
pop ecx
shl ecx, 0
add eax, ecx
push eax
push 0x1000b520
push 0x1000b524
call fcn.10059cac
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x10665668
call fcn.100102eb
lea ecx, [ebp - 0x40]
call fcn.10010243
and dword [ebp - 4], 0
lea edx, [ebp - 0x40]
mov ecx, 0x10665668
call fcn.10037858
and dword [ebp - 0x1c], 0
jmp 0x10015ed3
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x28]
jge 0x10016002
push 0x5a
push 0
push 0x11396118
call fcn.1003e297
add esp, 0xc
push 0x5a
push 0
push 0x106670d8
call fcn.1003e297
add esp, 0xc
push 0x5a
push 0
push 0x10667078
call fcn.1003e297
add esp, 0xc
and dword [ebp - 0x18], 0
jmp 0x10015f1f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 9
jge 0x10015feb
lea edx, [ebp - 0x40]
mov ecx, 0x10665668
call fcn.10037858
and dword [ebp - 0x14], 0
jmp 0x10015f43
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 9
jge 0x10015fe6
push dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
call fcn.10011f97
movsx eax, byte [eax]
sub eax, 0x30
imul ecx, dword [ebp - 0x18], 0x24
mov edx, dword [ebp - 0x14]
mov dword [ecx + edx*4 + 0x106669d0], eax
imul eax, dword [ebp - 0x18], 0x24
mov ecx, dword [ebp - 0x14]
cmp dword [eax + ecx*4 + 0x106669d0], 0
je 0x10015fe1
imul eax, dword [ebp - 0x18], 0xa
imul ecx, dword [ebp - 0x18], 0x24
mov edx, dword [ebp - 0x14]
mov ecx, dword [ecx + edx*4 + 0x106669d0]
mov byte [eax + ecx + 0x11396118], 1
imul eax, dword [ebp - 0x14], 0xa
imul ecx, dword [ebp - 0x18], 0x24
mov edx, dword [ebp - 0x14]
mov ecx, dword [ecx + edx*4 + 0x106669d0]
mov byte [eax + ecx + 0x106670d8], 1
mov eax, dword [ebp - 0x18]
cdq
push 3
pop ecx
idiv ecx
imul ecx, eax, 3
mov eax, dword [ebp - 0x14]
cdq
push 3
pop esi
idiv esi
add ecx, eax
imul eax, ecx, 0xa
imul ecx, dword [ebp - 0x18], 0x24
mov edx, dword [ebp - 0x14]
mov ecx, dword [ecx + edx*4 + 0x106669d0]
mov byte [eax + ecx + 0x10667078], 1
jmp 0x10015f3c
jmp 0x10015f18
mov byte [0x106667fb], 0
push 0
push 0
call fcn.10015be0
pop ecx
pop ecx
jmp 0x10015ecc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100102cc
push 0
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x10016031
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10016031
push 0x41d
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret