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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, ecx
test edx, edx
je 0x100f9ed4
cmp dword [ebp + 8], 0
je 0x100f9ed4
cmp dword [edi + 0x188], 0xfffffffe
je 0x100f9ed4
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x100f8c41
cmp dword [0x1019182c], 0
je 0x100f8c41
mov eax, dword [ebx + 0x2c]
test eax, eax
jg 0x100f8c41
inc eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
cmp dword [edi + 0x12c], 0
movss xmm1, dword [edi + 0x120]
je 0x100f9d34
push ecx
movss dword [esp], xmm1
xor eax, eax
cmp byte [edi + 0xe9], al
mov ecx, 3
push 0xff
push dword [edi + 0x1e0]
cmovne eax, ecx
push dword [edi + 0x1dc]
push dword [edi + 0x1d8]
push dword [edi + 0x1d4]
push eax
push ebx
push dword [edi + 0x1b0]
call sym.ExuiKrnln_X32.dll_RexDrawSkin
mov eax, dword [edi + 0x190]
cmp eax, 0xb
ja 0x100f9dfc
mov ecx, dword [edi + 0x1ec]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x100f9dfc
cmp eax, 3
je 0x100f9134
cmp eax, 7
je 0x100f9134
cmp eax, 0xb
je 0x100f9134
cmp eax, 1
je 0x100f8fd4
cmp eax, 5
je 0x100f8fd4
cmp eax, 9
je 0x100f8fd4
test eax, eax
je 0x100f8e76
cmp eax, 4
je 0x100f8e76
cmp eax, 8
je 0x100f8e76
cmp eax, 2
je 0x100f8d19
cmp eax, 6
je 0x100f8d19
cmp eax, 0xa
jne 0x100f9329
mov eax, dword [edi + 0x1c0]
mov ecx, dword [edi + 0x188]
mov edx, dword [edi + 0x1d0]
movss xmm3, dword [edi + 0x120]
movss xmm4, dword [0x10179e90]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x128]
mov ecx, dword [eax + ecx*4]
lea eax, [edx + edx]
mov esi, dword [ecx + 0x28]
sub esi, dword [edi + 0x1f8]
add esi, dword [edi + 0x1e4]
mov ebx, dword [ecx + 0x30]
add esi, edx
mov ecx, dword [edi + 0x50]
sub ebx, eax
ucomiss xmm3, xmm4
mov dword [ebp + 8], ebx
lahf
test ah, 0x44
jp 0x100f8d79
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100f8daf
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
movss xmm3, dword [edi + 0x120]
add esp, 8
movss xmm4, dword [0x10179e90]
fstp qword [ebp - 0x24]
movsd xmm2, qword [ebp - 0x24]
mov ecx, dword [edi + 0x1bc]
lea eax, [ebx + esi]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm0
comisd xmm1, xmm2
jbe 0x100f8e43
mov ecx, dword [edi + 0x50]
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x100f8de8
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x100f8e0e
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
fstp qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x24]
add esp, 8
mov ecx, dword [edi + 0x1bc]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x1d0]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvttsd2si ebx, xmm1
mov dword [ebp + 8], ebx
cmp esi, ecx
jge 0x100f8e66
mov ecx, dword [edi + 0x1d0]
mov eax, esi
cdq
xor eax, edx
sub eax, edx
mov edx, dword [edi + 0x1bc]
add eax, ecx
add eax, edx
sub ebx, eax
mov dword [ebp + 8], ebx
lea esi, [ecx + edx]
mov ebx, dword [edi + 0x1e8]
mov ecx, dword [ebp - 0xc]
sub ebx, ecx
jmp 0x100f92aa
mov eax, dword [edi + 0x1c0]
mov ecx, dword [edi + 0x188]
mov edx, dword [edi + 0x1d0]
movss xmm2, dword [edi + 0x120]
movss xmm4, dword [0x10179e90]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x128]
mov ecx, dword [eax + ecx*4]
lea eax, [edx + edx]
mov esi, dword [ecx + 0x28]
sub esi, dword [edi + 0x1f8]
add esi, dword [edi + 0x1e4]
mov ebx, dword [ecx + 0x30]
add esi, edx
mov ecx, dword [edi + 0x50]
sub ebx, eax
ucomiss xmm2, xmm4
mov dword [ebp + 8], ebx
lahf
test ah, 0x44
jp 0x100f8ed6
movd xmm3, ecx
cvtdq2pd xmm3, xmm3
jmp 0x100f8f0c
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
movss xmm2, dword [edi + 0x120]
add esp, 8
movss xmm4, dword [0x10179e90]
fstp qword [ebp - 0x24]
movsd xmm3, qword [ebp - 0x24]
mov ecx, dword [edi + 0x1bc]
lea eax, [ebx + esi]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm3, xmm0
comisd xmm1, xmm3
jbe 0x100f8fa0
mov ecx, dword [edi + 0x50]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x100f8f45
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x100f8f6b
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
fstp qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x24]
add esp, 8
mov ecx, dword [edi + 0x1bc]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x1d0]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvttsd2si ebx, xmm1
mov dword [ebp + 8], ebx
cmp esi, ecx
jge 0x100f8fc3
mov ecx, dword [edi + 0x1d0]
mov eax, esi
cdq
xor eax, edx
sub eax, edx
mov edx, dword [edi + 0x1bc]
add eax, ecx
add eax, edx
sub ebx, eax
mov dword [ebp + 8], ebx
lea esi, [ecx + edx]
mov ebx, dword [edi + 0x1f0]
add ebx, dword [edi + 0x1e8]
jmp 0x100f92a7
mov eax, dword [edi + 0x1c0]
mov ecx, dword [edi + 0x188]
mov edx, dword [edi + 0x1d0]
movss xmm2, dword [edi + 0x120]
movss xmm4, dword [0x10179e90]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x128]
mov ecx, dword [eax + ecx*4]
lea eax, [edx + edx]
mov ebx, dword [ecx + 0x2c]
sub ebx, dword [edi + 0x1f8]
add ebx, dword [edi + 0x1e8]
mov esi, dword [ecx + 0x34]
add ebx, edx
mov ecx, dword [edi + 0x54]
sub esi, eax
ucomiss xmm2, xmm4
mov dword [ebp - 0xc], esi
lahf
test ah, 0x44
jp 0x100f9034
movd xmm3, ecx
cvtdq2pd xmm3, xmm3
jmp 0x100f906a
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
movss xmm2, dword [edi + 0x120]
add esp, 8
movss xmm4, dword [0x10179e90]
fstp qword [ebp - 0x24]
movsd xmm3, qword [ebp - 0x24]
mov ecx, dword [edi + 0x1bc]
lea eax, [esi + ebx]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm3, xmm0
comisd xmm1, xmm3
jbe 0x100f90fe
mov ecx, dword [edi + 0x54]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x100f90a3
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x100f90c9
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
fstp qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x24]
add esp, 8
mov ecx, dword [edi + 0x1bc]
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x1d0]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvttsd2si esi, xmm1
mov dword [ebp - 0xc], esi
cmp ebx, ecx
jge 0x100f9121
mov ecx, dword [edi + 0x1d0]
mov eax, ebx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [edi + 0x1bc]
add eax, ecx
add eax, edx
sub esi, eax
mov dword [ebp - 0xc], esi
lea ebx, [ecx + edx]
mov esi, dword [edi + 0x1e4]
mov eax, dword [ebp + 8]
sub esi, eax
mov ecx, dword [ebp - 0xc]
jmp 0x100f92ad
mov eax, dword [edi + 0x1c0]
mov ecx, dword [edi + 0x188]
mov edx, dword [edi + 0x1d0]
movss xmm3, dword [edi + 0x120]
movss xmm4, dword [0x10179e90]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x128]
mov ecx, dword [eax + ecx*4]
lea eax, [edx + edx]
mov ebx, dword [ecx + 0x2c]
sub ebx, dword [edi + 0x1f8]
add ebx, dword [edi + 0x1e8]
mov esi, dword [ecx + 0x34]
add ebx, edx
mov ecx, dword [edi + 0x54]
sub esi, eax
ucomiss xmm3, xmm4
mov dword [ebp - 0xc], esi
lahf
test ah, 0x44
jp 0x100f919a
movd xmm2, ecx
mov ecx, dword [edi + 0x1ec]
cvtdq2pd xmm2, xmm2
jmp 0x100f91d9
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
mov ecx, dword [edi + 0x1ec]
add esp, 8
movss xmm3, dword [edi + 0x120]
movss xmm4, dword [0x10179e90]
fstp qword [ebp - 0x24]
movsd xmm2, qword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov edx, dword [edi + 0x1bc]
lea eax, [esi + ebx]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movd xmm0, edx
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm0
comisd xmm1, xmm2
jbe 0x100f9278
mov ecx, dword [edi + 0x54]
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x100f9212
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x100f9241
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
mov eax, dword [edi + 0x1ec]
add esp, 8
fstp qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov edx, dword [edi + 0x1bc]
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x1d0]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvttsd2si esi, xmm1
mov dword [ebp - 0xc], esi
jmp 0x100f927b
mov dword [ebp - 0x14], ecx
cmp ebx, edx
jge 0x100f929e
mov ecx, dword [edi + 0x1d0]
mov eax, ebx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [edi + 0x1bc]
add eax, ecx
add eax, edx
sub esi, eax
mov dword [ebp - 0xc], esi
lea ebx, [ecx + edx]
mov esi, dword [edi + 0x1e4]
add esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
test eax, eax
jle 0x100f9329
test ecx, ecx
jle 0x100f9329
push ecx
push eax
push ebx
push esi
push 3
push edi
call sym.ExuiKrnln_X32.dll_ControlSetCanvasClip
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov ecx, ebx
call fcn.1002b250
movss xmm0, dword [edi + 0x120]
mov eax, 4
cmp byte [edi + 0xe9], 0
push ecx
movss dword [esp], xmm0
mov ecx, 7
push 0xff
push dword [edi + 0x1e0]
cmovne eax, ecx
push dword [edi + 0x1dc]
push dword [edi + 0x1d8]
push dword [edi + 0x1d4]
push eax
push ebx
push dword [edi + 0x1b0]
call sym.ExuiKrnln_X32.dll_RexDrawSkin
push 0
push 0
push 0
push 0
push 1
push edi
call sym.ExuiKrnln_X32.dll_ControlSetCanvasClip
xor ecx, ecx
mov dword [ebp - 8], ecx
cmp dword [edi + 0x12c], ecx
jle 0x100f9a31
nop word [eax + eax]
mov eax, dword [edi + 0x128]
mov ecx, dword [eax + ecx*4]
mov ebx, dword [ecx + 0x30]
mov dword [ebp + 8], ebx
cmp ebx, 1
jl 0x100f9a1e
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0xc], edx
cmp edx, 1
jl 0x100f9a1e
mov eax, dword [edi + 0x190]
test eax, eax
je 0x100f9684
cmp eax, 4
je 0x100f9684
cmp eax, 8
je 0x100f9684
cmp eax, 2
je 0x100f9684
cmp eax, 6
je 0x100f9684
cmp eax, 0xa
je 0x100f9684
mov ebx, dword [ecx + 0x2c]
sub ebx, dword [edi + 0x1f8]
cmp ebx, dword [edi + 0x1f0]
jg 0x100f9a31
lea eax, [edx + ebx]
cmp eax, 1
jl 0x100f9a1e
mov esi, dword [ecx + 0x28]
add ebx, dword [edi + 0x1e8]
add esi, dword [edi + 0x1e4]
push edx
mov edx, dword [ebp + 8]
push edx
push ebx
push esi
push 3
push edi
mov dword [ebp - 0x10], esi
call sym.ExuiKrnln_X32.dll_ControlSetCanvasClip
mov eax, dword [ebp + 8]
add eax, dword [edi + 0x1c4]
movss xmm2, dword [edi + 0x120]
movss xmm4, dword [0x10179e90]
mov ecx, dword [edi + 0x54]
ucomiss xmm2, xmm4
mov dword [ebp + 8], eax
lahf
test ah, 0x44
jp 0x100f9416
movd xmm3, ecx
cvtdq2pd xmm3, xmm3
jmp 0x100f944c
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
movss xmm2, dword [edi + 0x120]
add esp, 8
movss xmm4, dword [0x10179e90]
fstp qword [ebp - 0x24]
movsd xmm3, qword [ebp - 0x24]
mov ecx, dword [edi + 0x1bc]
mov eax, dword [ebp - 0xc]
add eax, ebx
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm3, xmm0
comisd xmm1, xmm3
jbe 0x100f94dc
mov ecx, dword [edi + 0x54]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x100f9487
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x100f94b5
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
movss xmm4, dword [0x10179e90]
add esp, 8
fstp qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x24]
mov ecx, dword [edi + 0x1bc]
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [ebp - 0xc], eax
jmp 0x100f94df
mov eax, dword [ebp - 0xc]
cmp ebx, ecx
jge 0x100f94ec
sub ebx, ecx
add eax, ebx
mov ebx, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x190]
cmp eax, 3
je 0x100f9563
cmp eax, 7
je 0x100f9563
cmp eax, 0xb
je 0x100f9563
cmp eax, 1
je 0x100f9514
cmp eax, 5
je 0x100f9514
cmp eax, 9
jne 0x100f95a4
sub esi, dword [edi + 0x1c4]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], esi
cmp dword [edi + 0x188], ecx
je 0x100f95a7
mov eax, dword [edi + 0x198]
cmp eax, 0xffffffff
je 0x100f95a7
jle 0x100f953f
mov edx, dword [ebp + 8]
sub edx, eax
mov dword [ebp + 8], edx
jmp 0x100f95aa
cdq
mov esi, eax
mov eax, 0x99999999
xor esi, edx
sub esi, edx
imul dword [edi + 0x18c]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul esi, ecx
add dword [ebp + 8], esi
jmp 0x100f95a1
mov ecx, dword [ebp - 8]
cmp dword [edi + 0x188], ecx
je 0x100f95a7
mov eax, dword [edi + 0x198]
cmp eax, 0xffffffff
je 0x100f95a7
jle 0x100f957f
add esi, eax
jmp 0x100f95a7
cdq
mov esi, eax
mov eax, 0x66666667
xor esi, edx
sub esi, edx
imul dword [edi + 0x18c]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul esi, ecx
add dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
cmp dword [edi + 0x194], 0xffffffff
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
jne 0x100f9959
mov edx, dword [edi + 0x188]
cmp edx, ecx
je 0x100f9956
lea eax, [ecx - 1]
cmp eax, edx
jne 0x100f95ee
mov eax, dword [edi + 0x1d0]
mov edx, ebx
sub edx, eax
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x12c]
dec eax
cmp ecx, eax
jge 0x100f9956
movss xmm1, dword [edi + 0x120]
mov ecx, dword [edi + 0x54]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100f961b
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100f9641
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
fstp qword [ebp - 0x2c]
movsd xmm2, qword [ebp - 0x2c]
add esp, 8
movd xmm1, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
subsd xmm2, xmm0
movd xmm0, dword [edi + 0x1bc]
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm0
comisd xmm2, xmm1
jbe 0x100f9959
mov eax, dword [ebp - 0x14]
add eax, dword [edi + 0x1d0]
mov dword [ebp - 0x14], eax
jmp 0x100f9959
mov esi, dword [ecx + 0x28]
sub esi, dword [edi + 0x1f8]
mov dword [ebp - 0x10], esi
cmp esi, dword [edi + 0x1ec]
jg 0x100f9a31
lea eax, [ebx + esi]
cmp eax, 1
jl 0x100f9a1e
mov ebx, dword [ecx + 0x2c]
add ebx, dword [edi + 0x1e8]
mov eax, dword [edi + 0x1e4]
push edx
push dword [ebp + 8]
add eax, esi
push ebx
push eax
push 3
push edi
call sym.ExuiKrnln_X32.dll_ControlSetCanvasClip
mov eax, dword [ebp - 0xc]
add eax, dword [edi + 0x1c4]
movss xmm3, dword [edi + 0x120]
movss xmm4, dword [0x10179e90]
mov ecx, dword [edi + 0x50]
ucomiss xmm3, xmm4
mov dword [ebp - 0xc], eax
lahf
test ah, 0x44
jp 0x100f96f9
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100f972f
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
movss xmm3, dword [edi + 0x120]
add esp, 8
movss xmm4, dword [0x10179e90]
fstp qword [ebp - 0x2c]
movsd xmm2, qword [ebp - 0x2c]
mov eax, dword [edi + 0x1bc]
mov ecx, dword [ebp + 8]
add ecx, esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
subsd xmm2, xmm0
comisd xmm1, xmm2
jbe 0x100f97bf
mov ecx, dword [edi + 0x50]
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x100f976a
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x100f9798
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
movss xmm4, dword [0x10179e90]
add esp, 8
fstp qword [ebp - 0x2c]
movsd xmm1, qword [ebp - 0x2c]
mov eax, dword [edi + 0x1bc]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvttsd2si ecx, xmm1
mov dword [ebp + 8], ecx
jmp 0x100f97c2
mov ecx, dword [ebp + 8]
cmp esi, eax
jge 0x100f97d2
sub esi, eax
mov dword [ebp - 0x10], eax
add ecx, esi
mov esi, eax
mov dword [ebp + 8], ecx
mov eax, dword [edi + 0x190]
test eax, eax
je 0x100f9840
cmp eax, 4
je 0x100f9840
cmp eax, 8
je 0x100f9840
cmp eax, 2
je 0x100f97f9
cmp eax, 6
je 0x100f97f9
cmp eax, 0xa
jne 0x100f9880
sub ebx, dword [edi + 0x1c4]
mov ecx, dword [ebp - 8]
cmp dword [edi + 0x188], ecx
je 0x100f9883
mov eax, dword [edi + 0x198]
cmp eax, 0xffffffff
je 0x100f9883
jle 0x100f981c
sub dword [ebp - 0xc], eax
jmp 0x100f9883
cdq
mov esi, eax
mov eax, 0x99999999
xor esi, edx
sub esi, edx
imul dword [edi + 0x18c]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul esi, ecx
add dword [ebp - 0xc], esi
jmp 0x100f987d
mov ecx, dword [ebp - 8]
cmp dword [edi + 0x188], ecx
je 0x100f9883
mov eax, dword [edi + 0x198]
cmp eax, 0xffffffff
je 0x100f9883
jle 0x100f985c
add ebx, eax
jmp 0x100f9883
cdq
mov esi, eax
mov eax, 0x66666667
xor esi, edx
sub esi, edx
imul dword [edi + 0x18c]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul esi, ecx
add ebx, esi
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
cmp dword [edi + 0x194], 0xffffffff
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
jne 0x100f9959
mov edx, dword [edi + 0x188]
cmp edx, ecx
je 0x100f9956
lea eax, [ecx - 1]
cmp eax, edx
jne 0x100f98ce
mov eax, dword [edi + 0x1d0]
mov edx, esi
sub edx, eax
mov dword [ebp - 0x20], edx
mov edx, dword [ebp + 8]
add edx, eax
mov dword [ebp - 0x10], edx
jmp 0x100f98d1
mov edx, dword [ebp - 0x10]
mov eax, dword [edi + 0x12c]
dec eax
cmp ecx, eax
jge 0x100f9959
movss xmm1, dword [edi + 0x120]
mov ecx, dword [edi + 0x50]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100f98fa
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100f9920
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
fstp qword [ebp - 0x2c]
movsd xmm2, qword [ebp - 0x2c]
add esp, 8
movd xmm1, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
subsd xmm2, xmm0
movd xmm0, dword [edi + 0x1bc]
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm0
comisd xmm2, xmm1
jbe 0x100f9959
add edx, dword [edi + 0x1d0]
jmp 0x100f9959
mov edx, dword [ebp - 0x10]
cmp byte [edi + 0x16d], 0
je 0x100f9969
mov ecx, 3
jmp 0x100f999c
mov eax, dword [ebp - 8]
cmp dword [0x101916b0], edi
jne 0x100f9983
cmp dword [0x1018f988], eax
jne 0x100f9983
mov ecx, 2
jmp 0x100f999c
cmp dword [0x101916a4], edi
jne 0x100f999a
cmp dword [0x1018f984], eax
jne 0x100f999a
mov ecx, 1
jmp 0x100f999c
xor ecx, ecx
movss xmm0, dword [edi + 0x120]
xor eax, eax
push ecx
movss dword [esp], xmm0
push 0xff
push dword [ebp - 0x14]
push edx
mov edx, dword [ebp - 8]
cmp dword [edi + 0x188], edx
push dword [ebp - 0x18]
sete al
push dword [ebp - 0x20]
lea eax, [eax*4 + 8]
add eax, ecx
push eax
push dword [ebp + 0x10]
push dword [edi + 0x1b0]
call sym.ExuiKrnln_X32.dll_RexDrawSkin
push 0
push dword [ebp - 0xc]
push dword [ebp + 8]
push ebx
push esi
push dword [ebp - 8]
push dword [ebp + 0x10]
push edi
call sym.ExuiKrnln_X32.dll_ElemOnDrawPro_L
push dword [ebp - 0xc]
push dword [ebp + 8]
push ebx
push esi
push dword [ebp - 8]
push ecx
mov ecx, edi
call fcn.100f8900
push 1
push dword [ebp - 0xc]
push dword [ebp + 8]
push ebx
push esi
push dword [ebp - 8]
push dword [ebp + 0x10]
push edi
call sym.ExuiKrnln_X32.dll_ElemOnDrawPro_L
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, dword [edi + 0x12c]
jl 0x100f9340
push 0
push 0
push 0
push 0
push 1
push edi
call sym.ExuiKrnln_X32.dll_ControlSetCanvasClip
mov eax, dword [edi + 0x190]
cmp eax, 7
je 0x100f9bd6
cmp eax, 5
je 0x100f9bd6
cmp eax, 0xb
je 0x100f9bd6
cmp eax, 9
je 0x100f9bd6
cmp eax, 3
je 0x100f9bd6
cmp eax, 1
je 0x100f9bd6
mov eax, dword [edi + 0x1f4]
cmp eax, dword [edi + 0x1dc]
jle 0x100f9d2c
cmp dword [edi + 0x1f8], 0
je 0x100f9b2b
cmp byte [edi + 0x16d], 0
je 0x100f9aac
mov esi, 0x13
jmp 0x100f9adf
cmp dword [0x101916b0], edi
jne 0x100f9ac4
cmp dword [edi + 0x208], 1
jne 0x100f9ac4
mov esi, 0x12
jmp 0x100f9adf
cmp dword [0x101916b8], edi
jne 0x100f9ada
cmp dword [edi + 0x204], 1
mov esi, 0x11
je 0x100f9adf
mov esi, 0x10
mov ecx, dword [edi + 0x210]
mov eax, dword [edi + 0x1f0]
movss xmm0, dword [edi + 0x120]
sub eax, ecx
mov ebx, dword [ebp + 0x10]
push ecx
movss dword [esp], xmm0
push 0xff
push ecx
push dword [edi + 0x20c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 0x1e8]
push eax
push dword [edi + 0x1e4]
push esi
push ebx
push dword [edi + 0x1b0]
call sym.ExuiKrnln_X32.dll_RexDrawSkin
jmp 0x100f9b2e
mov ebx, dword [ebp + 0x10]
mov eax, dword [edi + 0x1f4]
sub eax, dword [edi + 0x1dc]
cmp dword [edi + 0x1f8], eax
je 0x100f9dfc
cmp byte [edi + 0x16d], 0
je 0x100f9b56
mov ebx, 0x17
jmp 0x100f9b89
cmp dword [0x101916b0], edi
jne 0x100f9b6e
cmp dword [edi + 0x208], 1
jne 0x100f9b6e
mov ebx, 0x16
jmp 0x100f9b89
cmp dword [0x101916b8], edi
jne 0x100f9b84
cmp dword [edi + 0x204], 1
mov ebx, 0x15
je 0x100f9b89
mov ebx, 0x14
mov ecx, dword [edi + 0x210]
mov eax, dword [edi + 0x1f0]
movss xmm0, dword [edi + 0x120]
sub eax, ecx
mov esi, dword [edi + 0x20c]
push ecx
cdq
movss dword [esp], xmm0
sub eax, edx
push 0xff
push ecx
sar eax, 1
add eax, dword [edi + 0x1e8]
push esi
push eax
mov eax, dword [edi + 0x1ec]
add eax, dword [edi + 0x1e4]
sub eax, esi
push eax
push ebx
mov ebx, dword [ebp + 0x10]
jmp 0x100f9df0
mov eax, dword [edi + 0x1f4]
cmp eax, dword [edi + 0x1e0]
jle 0x100f9d2c
cmp dword [edi + 0x1f8], 0
je 0x100f9c84
cmp byte [edi + 0x16d], 0
je 0x100f9c05
mov esi, 0x1b
jmp 0x100f9c38
cmp dword [0x101916b0], edi
jne 0x100f9c1d
cmp dword [edi + 0x208], 0
jne 0x100f9c1d
mov esi, 0x1a
jmp 0x100f9c38
cmp dword [0x101916b8], edi
jne 0x100f9c33
cmp dword [edi + 0x204], 0
mov esi, 0x19
je 0x100f9c38
mov esi, 0x18
mov ecx, dword [edi + 0x20c]
movss xmm0, dword [edi + 0x120]
mov eax, dword [edi + 0x1ec]
mov ebx, dword [ebp + 0x10]
sub eax, ecx
push ecx
movss dword [esp], xmm0
push 0xff
push dword [edi + 0x210]
cdq
push ecx
push dword [edi + 0x1e8]
sub eax, edx
sar eax, 1
add eax, dword [edi + 0x1e4]
push eax
push esi
push ebx
push dword [edi + 0x1b0]
call sym.ExuiKrnln_X32.dll_RexDrawSkin
jmp 0x100f9c87
mov ebx, dword [ebp + 0x10]
mov eax, dword [edi + 0x1f4]
sub eax, dword [edi + 0x1e0]
cmp dword [edi + 0x1f8], eax
je 0x100f9dfc
cmp byte [edi + 0x16d], 0
je 0x100f9caf
mov esi, 0x1f
jmp 0x100f9ce2
cmp dword [0x101916b0], edi
jne 0x100f9cc7
cmp dword [edi + 0x208], 0
jne 0x100f9cc7
mov esi, 0x1e
jmp 0x100f9ce2
cmp dword [0x101916b8], edi
jne 0x100f9cdd
cmp dword [edi + 0x204], 0
mov esi, 0x1d
je 0x100f9ce2
mov esi, 0x1c
mov ecx, dword [edi + 0x210]
movss xmm0, dword [edi + 0x120]
mov eax, dword [edi + 0x1f0]
add eax, dword [edi + 0x1e8]
mov edx, dword [edi + 0x20c]
sub eax, ecx
push ecx
movss dword [esp], xmm0
push 0xff
push ecx
push edx
push eax
mov eax, dword [edi + 0x1ec]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 0x1e4]
push eax
push esi
jmp 0x100f9df0
mov ebx, dword [ebp + 0x10]
jmp 0x100f9dfc
ucomiss xmm1, dword [0x10179e90]
mov ecx, dword [edi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100f9d4e
cvtdq2pd xmm0, xmm0
jmp 0x100f9d70
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
fstp qword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x2c]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10179e90]
mov ecx, dword [edi + 0x50]
movsd qword [ebp - 0x24], xmm0
lahf
test ah, 0x44
jp 0x100f9d97
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x100f9dbd
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
fstp qword [ebp - 0x2c]
movsd xmm1, qword [ebp - 0x2c]
add esp, 8
cvttsd2si eax, qword [ebp - 0x24]
push ecx
mov ecx, 3
movss xmm0, dword [edi + 0x120]
movss dword [esp], xmm0
push 0xff
push eax
cvttsd2si eax, xmm1
push eax
xor eax, eax
cmp byte [edi + 0xe9], al
push 0
push 0
cmovne eax, ecx
push eax
push ebx
push dword [edi + 0x1b0]
call sym.ExuiKrnln_X32.dll_RexDrawSkin
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10179e90]
mov ecx, dword [edi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100f9e1e
cvtdq2pd xmm0, xmm0
jmp 0x100f9e40
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
fstp qword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x2c]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10179e90]
mov ecx, dword [edi + 0x50]
movsd qword [ebp - 0x24], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100f9e67
cvtdq2pd xmm0, xmm0
jmp 0x100f9e89
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
fstp qword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x2c]
add esp, 8
cvttsd2si eax, qword [ebp - 0x24]
push eax
cvttsd2si eax, xmm0
push eax
push 0
push 0
push ebx
push edi
call sym.ExuiKrnln_X32.dll_ElemOnDrawPro_A
test ebx, ebx
je 0x100f9ed4
cmp dword [0x1019182c], 0
je 0x100f9ed4
mov eax, dword [ebx + 0x2c]
cmp eax, 1
jl 0x100f9ed4
dec eax
mov ecx, ebx
mov dword [ebx + 0x2c], eax
call fcn.1002b2b0
mov eax, dword [ebx + 0x40]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov dword [0x10191988], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc