Function at 0x100e6ef0
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 0x100e7e21
cmp dword [ebp + 8], 0
je 0x100e7e21
cmp dword [edi + 0x17c], 0xfffffffe
je 0x100e7e21
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x100e6f41
cmp dword [0x10178598], 0
je 0x100e6f41
mov eax, dword [esi + 0x2c]
test eax, eax
jg 0x100e6f41
inc eax
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
cmp dword [edi + 0x12c], 0
movss xmm1, dword [edi + 0x120]
je 0x100e7c81
push ecx
movss dword [esp], xmm1
xor eax, eax
cmp byte [edi + 0xe9], al
mov ecx, 3
push 0xff
push dword [edi + 0x1d4]
cmovne eax, ecx
push dword [edi + 0x1d0]
push dword [edi + 0x1cc]
push dword [edi + 0x1c8]
push eax
push esi
push dword [edi + 0x1a4]
call sym.ExuiKrnln_X32.dll_RexDrawSkin
mov eax, dword [edi + 0x184]
cmp eax, 0xb
ja 0x100e7d49
cmp dword [edi + 0x1e0], 0
je 0x100e7d49
xor esi, esi
xor ebx, ebx
xor ecx, ecx
xor edx, edx
cmp eax, 3
je 0x100e73dd
cmp eax, 7
je 0x100e73dd
cmp eax, 0xb
je 0x100e73dd
cmp eax, 1
je 0x100e72a1
cmp eax, 5
je 0x100e72a1
cmp eax, 9
je 0x100e72a1
test eax, eax
je 0x100e7159
cmp eax, 4
je 0x100e7159
cmp eax, 8
je 0x100e7159
cmp eax, 2
je 0x100e701d
cmp eax, 6
je 0x100e701d
cmp eax, 0xa
jne 0x100e7512
mov eax, dword [edi + 0x1b4]
mov ecx, dword [edi + 0x17c]
movss xmm3, dword [edi + 0x120]
movss xmm4, dword [0x10162660]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x128]
mov edx, dword [eax + ecx*4]
mov ecx, dword [edi + 0x1c4]
mov esi, dword [edx + 0x28]
add esi, dword [edi + 0x1d8]
lea eax, [ecx + ecx]
mov ebx, dword [edx + 0x30]
add esi, ecx
mov ecx, dword [edi + 0x50]
sub ebx, eax
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x100e7074
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100e70aa
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
movss xmm3, dword [edi + 0x120]
add esp, 8
movss xmm4, dword [0x10162660]
fstp qword [ebp - 0x24]
movsd xmm2, qword [ebp - 0x24]
movd xmm0, dword [edi + 0x1b0]
lea eax, [ebx + esi]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm2, xmm0
comisd xmm1, xmm2
jbe 0x100e7147
mov ecx, dword [edi + 0x50]
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x100e70e1
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x100e7107
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
fstp qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x24]
add esp, 8
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mov ebx, dword [edi + 0x1dc]
mov edx, dword [ebp + 8]
sub ebx, edx
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x1b0]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x1c4]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvttsd2si ecx, xmm1
jmp 0x100e7512
mov edx, dword [ebp + 8]
mov ecx, ebx
mov ebx, dword [edi + 0x1dc]
sub ebx, edx
jmp 0x100e7512
mov eax, dword [edi + 0x1b4]
mov ecx, dword [edi + 0x17c]
movss xmm3, dword [edi + 0x120]
movss xmm4, dword [0x10162660]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x128]
mov edx, dword [eax + ecx*4]
mov ecx, dword [edi + 0x1c4]
mov esi, dword [edx + 0x28]
add esi, dword [edi + 0x1d8]
lea eax, [ecx + ecx]
mov ebx, dword [edx + 0x30]
add esi, ecx
mov ecx, dword [edi + 0x50]
sub ebx, eax
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x100e71b0
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100e71e6
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
movss xmm3, dword [edi + 0x120]
add esp, 8
movss xmm4, dword [0x10162660]
fstp qword [ebp - 0x24]
movsd xmm2, qword [ebp - 0x24]
movd xmm0, dword [edi + 0x1b0]
lea eax, [ebx + esi]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm2, xmm0
comisd xmm1, xmm2
jbe 0x100e728b
mov ecx, dword [edi + 0x50]
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x100e7221
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x100e7247
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
fstp qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x24]
add esp, 8
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mov ebx, dword [edi + 0x1e4]
add ebx, dword [edi + 0x1dc]
mov edx, dword [ebp + 8]
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x1b0]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x1c4]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvttsd2si ecx, xmm1
jmp 0x100e7512
mov edx, dword [ebp + 8]
mov ecx, ebx
mov ebx, dword [edi + 0x1e4]
add ebx, dword [edi + 0x1dc]
jmp 0x100e7512
mov eax, dword [edi + 0x1b4]
mov ecx, dword [edi + 0x17c]
movss xmm3, dword [edi + 0x120]
movss xmm4, dword [0x10162660]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x128]
mov edx, dword [eax + ecx*4]
mov ecx, dword [edi + 0x1c4]
mov ebx, dword [edx + 0x2c]
add ebx, dword [edi + 0x1dc]
lea eax, [ecx + ecx]
mov esi, dword [edx + 0x34]
add ebx, ecx
mov ecx, dword [edi + 0x54]
sub esi, eax
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x100e72f8
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100e732e
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
movss xmm3, dword [edi + 0x120]
add esp, 8
movss xmm4, dword [0x10162660]
fstp qword [ebp - 0x24]
movsd xmm2, qword [ebp - 0x24]
movd xmm0, dword [edi + 0x1b0]
lea eax, [esi + ebx]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm2, xmm0
comisd xmm1, xmm2
jbe 0x100e73cb
mov ecx, dword [edi + 0x54]
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x100e7365
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x100e738b
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
fstp qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x24]
add esp, 8
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
mov esi, dword [edi + 0x1d8]
mov ecx, dword [ebp - 0x10]
sub esi, ecx
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x1b0]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x1c4]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvttsd2si edx, xmm1
jmp 0x100e7512
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov esi, dword [edi + 0x1d8]
sub esi, ecx
jmp 0x100e7512
mov eax, dword [edi + 0x1b4]
mov ecx, dword [edi + 0x17c]
movss xmm3, dword [edi + 0x120]
movss xmm4, dword [0x10162660]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x128]
mov edx, dword [eax + ecx*4]
mov ecx, dword [edi + 0x1c4]
mov ebx, dword [edx + 0x2c]
add ebx, dword [edi + 0x1dc]
lea eax, [ecx + ecx]
mov esi, dword [edx + 0x34]
add ebx, ecx
mov ecx, dword [edi + 0x54]
sub esi, eax
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x100e7434
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100e746a
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
movss xmm3, dword [edi + 0x120]
add esp, 8
movss xmm4, dword [0x10162660]
fstp qword [ebp - 0x24]
movsd xmm2, qword [ebp - 0x24]
movd xmm0, dword [edi + 0x1b0]
lea eax, [esi + ebx]
mov ecx, dword [edi + 0x1e0]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm2, xmm0
comisd xmm1, xmm2
jbe 0x100e7505
mov edx, dword [edi + 0x54]
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x100e74a7
movd xmm1, edx
cvtdq2pd xmm1, xmm1
jmp 0x100e74d3
movd xmm0, edx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
mov ecx, dword [edi + 0x1e0]
add esp, 8
fstp qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x24]
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x1b0]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x1c4]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvttsd2si edx, xmm1
jmp 0x100e7507
mov edx, esi
mov esi, dword [edi + 0x1d8]
add esi, ecx
mov ecx, dword [ebp - 0x10]
push edx
push ecx
push ebx
push esi
push 3
push edi
call sym.ExuiKrnln_X32.dll_ControlSetCanvasClip
mov esi, dword [ebp + 0x10]
xor edx, edx
mov ecx, esi
call fcn.1002b340
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 + 0x1d4]
cmovne eax, ecx
push dword [edi + 0x1d0]
push dword [edi + 0x1cc]
push dword [edi + 0x1c8]
push eax
push esi
push dword [edi + 0x1a4]
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 ebx, ebx
cmp dword [edi + 0x12c], ebx
jle 0x100e7c6c
mov eax, dword [edi + 0x128]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax + 0x30]
mov dword [ebp + 8], ecx
cmp ecx, 1
jl 0x100e7c5c
mov edx, dword [eax + 0x34]
mov dword [ebp - 0xc], edx
cmp edx, 1
jl 0x100e7c5c
mov ecx, dword [eax + 0x2c]
mov esi, dword [eax + 0x28]
mov eax, dword [edi + 0x1dc]
push edx
mov edx, dword [ebp + 8]
add eax, ecx
push edx
push eax
mov eax, dword [edi + 0x1d8]
add eax, esi
mov dword [ebp - 8], ecx
push eax
push 3
push edi
call sym.ExuiKrnln_X32.dll_ControlSetCanvasClip
mov ecx, dword [edi + 0x184]
test ecx, ecx
je 0x100e78e3
cmp ecx, 4
je 0x100e78e3
cmp ecx, 8
je 0x100e78e3
cmp ecx, 2
je 0x100e78e3
cmp ecx, 6
je 0x100e78e3
cmp ecx, 0xa
je 0x100e78e3
mov eax, dword [edi + 0x128]
mov eax, dword [eax + ebx*4]
mov edx, dword [eax + 0x2c]
cmp edx, dword [edi + 0x1e4]
jg 0x100e7c69
mov eax, dword [eax + 0x34]
add eax, edx
cmp eax, 1
jl 0x100e7c69
mov eax, dword [ebp + 8]
add eax, dword [edi + 0x1b8]
movss xmm2, dword [edi + 0x120]
movss xmm4, dword [0x10162660]
mov edx, dword [edi + 0x54]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
add eax, dword [edi + 0x1dc]
ucomiss xmm2, xmm4
mov dword [ebp - 8], eax
lahf
test ah, 0x44
jp 0x100e7682
movd xmm3, edx
cvtdq2pd xmm3, xmm3
jmp 0x100e76be
movd xmm0, edx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
movss xmm2, dword [edi + 0x120]
add esp, 8
mov ecx, dword [edi + 0x184]
movss xmm4, dword [0x10162660]
fstp qword [ebp - 0x24]
movsd xmm3, qword [ebp - 0x24]
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
movd xmm0, dword [edi + 0x1b0]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm3, xmm0
comisd xmm1, xmm3
jbe 0x100e7750
mov edx, dword [edi + 0x54]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x100e76f8
movd xmm1, edx
cvtdq2pd xmm1, xmm1
jmp 0x100e772c
movd xmm0, edx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
mov ecx, dword [edi + 0x184]
add esp, 8
movss xmm4, dword [0x10162660]
fstp qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x24]
movd xmm0, dword [ebp - 8]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x1b0]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [ebp - 0xc], eax
add esi, dword [edi + 0x1d8]
mov dword [ebp - 0x10], esi
cmp ecx, 3
je 0x100e77c2
cmp ecx, 7
je 0x100e77c2
cmp ecx, 0xb
je 0x100e77c2
cmp ecx, 1
je 0x100e777b
cmp ecx, 5
je 0x100e777b
cmp ecx, 9
jne 0x100e7800
sub esi, dword [edi + 0x1b8]
mov dword [ebp - 0x10], esi
cmp dword [edi + 0x17c], ebx
je 0x100e7800
mov eax, dword [edi + 0x18c]
cmp eax, 0xffffffff
je 0x100e7800
jle 0x100e779e
sub dword [ebp + 8], eax
jmp 0x100e7800
cdq
mov esi, eax
mov eax, 0x99999999
xor esi, edx
sub esi, edx
imul dword [edi + 0x180]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul esi, ecx
add dword [ebp + 8], esi
jmp 0x100e77fd
cmp dword [edi + 0x17c], ebx
je 0x100e7800
mov eax, dword [edi + 0x18c]
cmp eax, 0xffffffff
je 0x100e7800
jle 0x100e77db
add esi, eax
jmp 0x100e7800
cdq
mov esi, eax
mov eax, 0x66666667
xor esi, edx
sub esi, edx
imul dword [edi + 0x180]
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]
cmp dword [edi + 0x188], 0xffffffff
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
jne 0x100e7ba4
mov ecx, dword [edi + 0x17c]
cmp ecx, ebx
je 0x100e7ba4
lea eax, [ebx - 1]
cmp eax, ecx
jne 0x100e784a
mov eax, dword [edi + 0x1c4]
mov ecx, edx
sub ecx, eax
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x12c]
dec eax
cmp ebx, eax
jge 0x100e7ba1
movss xmm1, dword [edi + 0x120]
mov ecx, dword [edi + 0x54]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100e7877
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100e78a0
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
mov edx, dword [ebp - 8]
add esp, 8
fstp qword [ebp - 0x2c]
movsd xmm2, qword [ebp - 0x2c]
movd xmm1, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
movd xmm0, edx
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
subsd xmm2, xmm0
movd xmm0, dword [edi + 0x1b0]
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm0
comisd xmm2, xmm1
jbe 0x100e7ba4
mov ecx, dword [ebp - 0x14]
add ecx, dword [edi + 0x1c4]
mov dword [ebp - 0x14], ecx
jmp 0x100e7ba4
mov eax, dword [edi + 0x128]
mov eax, dword [eax + ebx*4]
mov edx, dword [eax + 0x28]
cmp edx, dword [edi + 0x1e0]
jg 0x100e7c69
mov eax, dword [eax + 0x30]
add eax, edx
cmp eax, 1
jl 0x100e7c69
mov eax, dword [ebp - 0xc]
add eax, dword [edi + 0x1b8]
add esi, dword [edi + 0x1d8]
movss xmm2, dword [edi + 0x120]
movss xmm4, dword [0x10162660]
mov edx, dword [edi + 0x50]
ucomiss xmm2, xmm4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
lahf
test ah, 0x44
jp 0x100e7944
movd xmm3, edx
cvtdq2pd xmm3, xmm3
jmp 0x100e7980
movd xmm0, edx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
movss xmm2, dword [edi + 0x120]
add esp, 8
mov ecx, dword [edi + 0x184]
movss xmm4, dword [0x10162660]
fstp qword [ebp - 0x2c]
movsd xmm3, qword [ebp - 0x2c]
mov eax, dword [ebp + 8]
movd xmm0, dword [edi + 0x1b0]
add eax, esi
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm3, xmm0
comisd xmm1, xmm3
jbe 0x100e7a10
mov edx, dword [edi + 0x50]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x100e79b9
movd xmm1, edx
cvtdq2pd xmm1, xmm1
jmp 0x100e79ed
movd xmm0, edx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
mov ecx, dword [edi + 0x184]
add esp, 8
movss xmm4, dword [0x10162660]
fstp qword [ebp - 0x2c]
movsd xmm1, qword [ebp - 0x2c]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x1b0]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [ebp + 8], eax
mov edx, dword [ebp - 8]
add edx, dword [edi + 0x1dc]
mov dword [ebp - 8], edx
test ecx, ecx
je 0x100e7a8b
cmp ecx, 4
je 0x100e7a8b
cmp ecx, 8
je 0x100e7a8b
cmp ecx, 2
je 0x100e7a3d
cmp ecx, 6
je 0x100e7a3d
cmp ecx, 0xa
jne 0x100e7ad1
sub edx, dword [edi + 0x1b8]
mov dword [ebp - 8], edx
cmp dword [edi + 0x17c], ebx
je 0x100e7ad1
mov eax, dword [edi + 0x18c]
cmp eax, 0xffffffff
je 0x100e7ad1
jle 0x100e7a64
sub dword [ebp - 0xc], eax
jmp 0x100e7ad1
cdq
mov esi, eax
mov eax, 0x99999999
xor esi, edx
sub esi, edx
imul dword [edi + 0x180]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 8]
imul esi, ecx
add dword [ebp - 0xc], esi
jmp 0x100e7ace
cmp dword [edi + 0x17c], ebx
je 0x100e7ad1
mov eax, dword [edi + 0x18c]
cmp eax, 0xffffffff
je 0x100e7ad1
jle 0x100e7aa7
add edx, eax
mov dword [ebp - 8], edx
jmp 0x100e7ad1
cdq
mov esi, eax
mov eax, 0x66666667
xor esi, edx
sub esi, edx
imul dword [edi + 0x180]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 8]
imul esi, ecx
add edx, esi
mov dword [ebp - 8], edx
mov esi, dword [ebp - 0x10]
cmp dword [edi + 0x188], 0xffffffff
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
jne 0x100e7ba4
mov ecx, dword [edi + 0x17c]
cmp ecx, ebx
je 0x100e7ba4
lea eax, [ebx - 1]
cmp eax, ecx
jne 0x100e7b18
mov eax, dword [edi + 0x1c4]
mov ecx, esi
sub ecx, eax
add eax, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x12c]
dec eax
cmp ebx, eax
jge 0x100e7ba1
movss xmm1, dword [edi + 0x120]
mov ecx, dword [edi + 0x50]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100e7b45
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100e7b6b
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
fstp qword [ebp - 0x2c]
movsd xmm2, qword [ebp - 0x2c]
add esp, 8
movd xmm1, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
subsd xmm2, xmm0
movd xmm0, dword [edi + 0x1b0]
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm0
comisd xmm2, xmm1
jbe 0x100e7ba4
add eax, dword [edi + 0x1c4]
jmp 0x100e7ba4
mov eax, dword [ebp - 0x10]
cmp byte [edi + 0x161], 0
je 0x100e7bb4
mov ecx, 3
jmp 0x100e7be4
cmp dword [0x10178420], edi
jne 0x100e7bcb
cmp dword [0x10176958], ebx
jne 0x100e7bcb
mov ecx, 2
jmp 0x100e7be4
cmp dword [0x10178414], edi
jne 0x100e7be2
cmp dword [0x10176954], ebx
jne 0x100e7be2
mov ecx, 1
jmp 0x100e7be4
xor ecx, ecx
movss xmm0, dword [edi + 0x120]
push ecx
movss dword [esp], xmm0
push 0xff
push dword [ebp - 0x14]
push eax
push dword [ebp - 0x18]
xor eax, eax
cmp dword [edi + 0x17c], ebx
push dword [ebp - 0x20]
sete al
lea eax, [eax*4 + 8]
add eax, ecx
push eax
push dword [ebp + 0x10]
push dword [edi + 0x1a4]
call sym.ExuiKrnln_X32.dll_RexDrawSkin
push 0
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 8]
push esi
push ebx
push dword [ebp + 0x10]
push edi
call sym.ExuiKrnln_X32.dll_ElemOnDrawPro_L
sub esp, 0x10
push ebx
push ecx
mov ecx, edi
call fcn.100e6be0
push 1
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 8]
push esi
push ebx
push dword [ebp + 0x10]
push edi
call sym.ExuiKrnln_X32.dll_ElemOnDrawPro_L
inc ebx
cmp ebx, dword [edi + 0x12c]
jl 0x100e7594
mov esi, dword [ebp + 0x10]
push 0
push 0
push 0
push 0
push 1
push edi
call sym.ExuiKrnln_X32.dll_ControlSetCanvasClip
jmp 0x100e7d49
ucomiss xmm1, dword [0x10162660]
mov ecx, dword [edi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100e7c9b
cvtdq2pd xmm0, xmm0
jmp 0x100e7cbd
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
fstp qword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x2c]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10162660]
mov ecx, dword [edi + 0x50]
movsd qword [ebp - 0x24], xmm0
lahf
test ah, 0x44
jp 0x100e7ce4
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x100e7d0a
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
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 esi
push dword [edi + 0x1a4]
call sym.ExuiKrnln_X32.dll_RexDrawSkin
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10162660]
mov ecx, dword [edi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100e7d6b
cvtdq2pd xmm0, xmm0
jmp 0x100e7d8d
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
fstp qword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x2c]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10162660]
mov ecx, dword [edi + 0x50]
movsd qword [ebp - 0x24], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100e7db4
cvtdq2pd xmm0, xmm0
jmp 0x100e7dd6
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
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 esi
push edi
call sym.ExuiKrnln_X32.dll_ElemOnDrawPro_A
test esi, esi
je 0x100e7e21
cmp dword [0x10178598], 0
je 0x100e7e21
mov eax, dword [esi + 0x2c]
cmp eax, 1
jl 0x100e7e21
dec eax
mov ecx, esi
mov dword [esi + 0x2c], eax
call fcn.1002b3a0
mov eax, dword [esi + 0x40]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov dword [0x1017859c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc