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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101563f6
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x10200c9c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x118], edi
mov ebx, dword [ebp + 0x10]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [edi + 0xc], 0
mov dword [edi + 0x10], 0
cmp dword [ebx], 0
mov dword [ebp - 0x120], ebx
jg 0x100642c2
push 0xfc
call fcn.1002ec20
mov esi, eax
add esp, 4
mov dword [ebp - 0x138], esi
test esi, esi
je 0x10063db2
push 0xfc
push 0
push esi
call fcn.1010ca00
lea eax, [esi + 0xc]
mov dword [esi + 4], 0x14
add esp, 0xc
mov dword [esi], eax
mov byte [esi + 8], 0
jmp 0x10063db4
xor esi, esi
mov dword [edi], esi
test esi, esi
jne 0x10063dc5
mov dword [ebx], 7
jmp 0x100642c2
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
add ebx, edi
mov dword [ebp - 0x128], ebx
mov eax, edi
cmp edi, ebx
jae 0x10063dea
nop dword [eax]
cmp byte [eax], 0x20
jne 0x10063dea
inc eax
cmp eax, ebx
jb 0x10063de0
cmp eax, ebx
je 0x100642f8
cmp byte [eax], 0x2c
jne 0x10063dfc
lea edi, [eax + 1]
jmp 0x10063dd3
mov edi, eax
cmp eax, ebx
jae 0x10063e18
mov cl, byte [edi]
cmp cl, 0x20
je 0x10063e18
cmp cl, 0x2c
je 0x10063e18
cmp cl, 0x3b
je 0x10063e18
inc edi
cmp edi, ebx
jb 0x10063e02
mov ecx, edi
sub ecx, eax
je 0x1006433d
lea edx, [ebp - 0x3f]
mov dword [ebp - 0x44], 0x28
mov dword [ebp - 0x48], edx
mov word [ebp - 0x40], 0
mov esi, dword [ebp - 0x120]
push esi
push ecx
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.1002ec20
cmp dword [esi], 0
mov dword [ebp - 4], 1
jg 0x100642ab
push 0
push 0
push 0
push dword [ebp - 0x48]
lea ecx, [ebp - 0x114]
call fcn.1002ec20
cmp byte [ebp - 0x4c], 0
mov byte [ebp - 4], 2
jne 0x1006429a
mov eax, 0x3e8
mov dword [ebp - 0x12c], eax
cmp edi, ebx
jae 0x10063ea1
cmp byte [edi], 0x20
jne 0x10063e9f
inc edi
cmp edi, ebx
jb 0x10063e95
cmp edi, ebx
je 0x10063fbd
cmp byte [edi], 0x3b
jne 0x10063fb0
inc edi
cmp edi, ebx
jae 0x10063ec1
cmp byte [edi], 0x20
jne 0x10063ebf
inc edi
cmp edi, ebx
jb 0x10063eb5
cmp edi, ebx
je 0x1006429a
cmp byte [edi], 0x71
jne 0x1006429a
inc edi
cmp edi, ebx
jae 0x10063ee1
cmp byte [edi], 0x20
jne 0x10063edf
inc edi
cmp edi, ebx
jb 0x10063ed5
cmp edi, ebx
je 0x1006429a
cmp byte [edi], 0x3d
jne 0x1006429a
inc edi
cmp edi, ebx
jae 0x10063f01
cmp byte [edi], 0x20
jne 0x10063eff
inc edi
cmp edi, ebx
jb 0x10063ef5
cmp edi, ebx
je 0x1006429a
mov al, byte [edi]
cmp al, 0x30
je 0x10063f15
cmp al, 0x31
jne 0x1006429a
movsx eax, al
inc edi
sub eax, 0x30
imul esi, eax, 0x3e8
cmp edi, ebx
je 0x10063f87
cmp byte [edi], 0x2e
jne 0x10063f87
inc edi
mov ecx, 0x64
cmp edi, ebx
je 0x10063f73
mov dl, byte [edi]
sub dl, 0x30
cmp dl, 9
ja 0x10063f73
test ecx, ecx
jle 0x10063f5e
movsx eax, dl
imul eax, ecx
add esi, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jmp 0x10063f6e
jne 0x10063f6e
or ecx, 0xffffffff
lea eax, [esi + 1]
cmp dl, 5
cmovl eax, esi
mov esi, eax
inc edi
cmp edi, ebx
jne 0x10063f35
or eax, 0xffffffff
cmp esi, 0x3e8
cmovle eax, esi
mov dword [ebp - 0x12c], eax
jmp 0x10063f8f
mov eax, esi
mov dword [ebp - 0x12c], esi
test eax, eax
js 0x10064294
cmp edi, ebx
jae 0x10063faa
nop dword [eax + eax]
cmp byte [edi], 0x20
jne 0x10063faa
inc edi
cmp edi, ebx
jb 0x10063fa0
mov esi, dword [ebp - 0x120]
cmp edi, ebx
je 0x10063fbd
cmp byte [edi], 0x2c
jne 0x1006429a
cmp dword [esi], 0
jg 0x10064263
mov esi, dword [ebp - 0x118]
cmp dword [esi + 0x10], 0
jne 0x10064009
test eax, eax
je 0x10064263
push dword [ebp - 0x120]
push sym.icuuc69.dll_uhash_compareLong_69
push 0x10064670
push 0x10064680
call fcn.1002ec20
mov dword [esi + 0x10], eax
add esp, 0x10
mov eax, dword [ebp - 0x120]
cmp dword [eax], 0
jg 0x10064263
xor esi, esi
mov dword [ebp - 0x130], esi
lea eax, [ebp - 0x119]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 0x119], 0
push eax
mov eax, dword [ebp - 0x118]
push dword [eax + 0x10]
call fcn.1002ec20
mov cl, byte [ebp - 0x119]
add esp, 0xc
mov edx, dword [ebp - 0x118]
test cl, cl
je 0x10064073
lea ecx, [eax + eax*2]
mov eax, dword [edx]
mov eax, dword [eax]
mov esi, dword [eax + ecx*4]
mov dword [eax + ecx*4], 0
mov dword [eax + ecx*4 + 4], 0
inc dword [edx + 8]
mov cl, byte [ebp - 0x119]
mov dword [ebp - 0x130], esi
cmp dword [ebp - 0x12c], 0
ja 0x100640bb
test cl, cl
je 0x10064092
lea eax, [ebp - 0x114]
push eax
push dword [edx + 0x10]
call fcn.1002ec20
add esp, 8
mov byte [ebp - 4], 2
test esi, esi
je 0x10064263
mov eax, dword [esi]
push 1
mov ebx, dword [eax]
mov ecx, ebx
call dword [0x1015d234]
mov ecx, esi
call ebx
mov ebx, dword [ebp - 0x128]
jmp 0x10064263
test esi, esi
jne 0x10064114
lea ecx, [ebp - 0x114]
call fcn.1002ec20
mov esi, eax
test esi, esi
je 0x100640df
cmp byte [esi + 0xc8], 0
je 0x10064114
cmp byte [ebp - 0x4c], 0
jne 0x10064114
mov eax, dword [ebp - 0x120]
mov byte [ebp - 4], 2
mov dword [eax], 7
test esi, esi
je 0x10064263
mov eax, dword [esi]
push 1
mov ebx, dword [eax]
mov ecx, ebx
call dword [0x1015d234]
mov ecx, esi
call ebx
mov ebx, dword [ebp - 0x128]
jmp 0x10064263
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
cmp eax, dword [ecx + 4]
jne 0x100641de
cmp eax, 0x32
jge 0x10064140
mov eax, 0x64
jmp 0x10064143
shl eax, 2
mov dword [ebp - 0x124], eax
test eax, eax
jle 0x100640df
lea eax, [eax + eax*2]
shl eax, 2
push eax
call fcn.1002ec20
add esp, 4
mov dword [ebp - 0x130], eax
test eax, eax
je 0x100640df
mov eax, dword [ebp - 0x138]
test eax, eax
jle 0x100641a4
mov edx, dword [ebp - 0x134]
mov ecx, dword [edx + 4]
cmp eax, ecx
cmovle ecx, eax
mov eax, dword [ebp - 0x124]
cmp ecx, eax
cmovle eax, ecx
lea eax, [eax + eax*2]
shl eax, 2
push eax
push dword [edx]
push dword [ebp - 0x130]
call fcn.1010cb60
add esp, 0xc
mov eax, dword [ebp - 0x134]
cmp byte [eax + 8], 0
je 0x100641c0
push dword [eax]
call fcn.1002ec20
mov eax, dword [ebp - 0x134]
add esp, 4
mov ecx, dword [ebp - 0x130]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x124]
mov dword [eax + 4], ecx
mov byte [eax + 8], 1
mov eax, dword [ebp - 0x118]
mov eax, dword [eax + 4]
push dword [ebp - 0x120]
push eax
mov eax, dword [ebp - 0x118]
push esi
push dword [eax + 0x10]
call fcn.1002ec20
mov eax, dword [ebp - 0x120]
add esp, 0x10
cmp dword [eax], 0
jle 0x10064224
mov byte [ebp - 4], 2
test esi, esi
je 0x10064263
mov eax, dword [esi]
push 1
mov ebx, dword [eax]
mov ecx, ebx
call dword [0x1015d234]
mov ecx, esi
call ebx
mov ebx, dword [ebp - 0x128]
jmp 0x10064263
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*2]
mov eax, dword [edx]
mov edx, dword [ebp - 0x12c]
mov eax, dword [eax]
mov dword [eax + ecx*4], esi
mov esi, dword [ebp - 0x118]
mov dword [eax + ecx*4 + 4], edx
lea ecx, [eax + ecx*4]
mov eax, dword [esi + 4]
mov dword [ecx + 8], eax
inc dword [esi + 4]
cmp edx, 0x3e8
jae 0x1006425f
mov byte [esi + 0xc], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x114]
cmp edi, ebx
je 0x100642e2
inc edi
call sym.icuuc69.dll_public_virtual:_void___thiscall_icu_69::Locale::destructor_void_
cmp byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
je 0x10063dd3
push dword [ebp - 0x48]
call fcn.1002ec20
add esp, 4
jmp 0x10063dd3
mov esi, dword [ebp - 0x120]
lea ecx, [ebp - 0x114]
mov dword [esi], 1
call sym.icuuc69.dll_public_virtual:_void___thiscall_icu_69::Locale::destructor_void_
cmp byte [ebp - 0x40], 0
je 0x100642bc
push dword [ebp - 0x48]
call fcn.1002ec20
add esp, 4
mov edi, dword [ebp - 0x118]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e9efb
mov esp, ebp
pop ebp
ret 0xc
call sym.icuuc69.dll_public_virtual:_void___thiscall_icu_69::Locale::destructor_void_
cmp byte [ebp - 0x40], 0
je 0x100642f8
push dword [ebp - 0x48]
call fcn.1002ec20
add esp, 4
mov edx, dword [ebp - 0x120]
cmp dword [edx], 0
jg 0x100642bc
mov eax, dword [ebp - 0x118]
mov edi, dword [ebp - 0x118]
mov ecx, dword [eax + 4]
mov eax, ecx
sub eax, dword [edi + 8]
cmp eax, 1
jle 0x100642c2
cmp byte [edi + 0xc], 0
je 0x100642c2
push edx
push 0
push 0
push 0x10064650
push 0xc
push ecx
mov ecx, dword [edi]
push dword [ecx]
call fcn.1002ec20
add esp, 0x1c
jmp 0x100642c2
mov eax, dword [ebp - 0x120]
mov dword [eax], 1
jmp 0x100642bc