Function at 0x100e4270
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 0x100e51a1
cmp dword [ebp + 8], 0
je 0x100e51a1
cmp dword [edi + 0x168], 0xfffffffe
je 0x100e51a1
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x100e42c1
cmp dword [0x1017757c], 0
je 0x100e42c1
mov eax, dword [esi + 0x2c]
test eax, eax
jg 0x100e42c1
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 + 0x118], 0
movss xmm1, dword [edi + 0x10c]
je 0x100e5001
push ecx
movss dword [esp], xmm1
xor eax, eax
cmp byte [edi + 0xd5], al
mov ecx, 3
push 0xff
push dword [edi + 0x1c0]
cmovne eax, ecx
push dword [edi + 0x1bc]
push dword [edi + 0x1b8]
push dword [edi + 0x1b4]
push eax
push esi
push dword [edi + 0x190]
call sym.ExuiKrnln_X32.dll_RexDrawSkin
mov eax, dword [edi + 0x170]
cmp eax, 0xb
ja 0x100e50c9
cmp dword [edi + 0x1cc], 0
je 0x100e50c9
xor esi, esi
xor ebx, ebx
xor ecx, ecx
xor edx, edx
cmp eax, 3
je 0x100e475d
cmp eax, 7
je 0x100e475d
cmp eax, 0xb
je 0x100e475d
cmp eax, 1
je 0x100e4621
cmp eax, 5
je 0x100e4621
cmp eax, 9
je 0x100e4621
test eax, eax
je 0x100e44d9
cmp eax, 4
je 0x100e44d9
cmp eax, 8
je 0x100e44d9
cmp eax, 2
je 0x100e439d
cmp eax, 6
je 0x100e439d
cmp eax, 0xa
jne 0x100e4892
mov eax, dword [edi + 0x1a0]
mov ecx, dword [edi + 0x168]
movss xmm3, dword [edi + 0x10c]
movss xmm4, dword [0x10161668]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x114]
mov edx, dword [eax + ecx*4]
mov ecx, dword [edi + 0x1b0]
mov esi, dword [edx + 0x28]
add esi, dword [edi + 0x1c4]
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 0x100e43f4
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100e442a
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
movss xmm3, dword [edi + 0x10c]
add esp, 8
movss xmm4, dword [0x10161668]
fstp qword [ebp - 0x24]
movsd xmm2, qword [ebp - 0x24]
movd xmm0, dword [edi + 0x19c]
lea eax, [ebx + esi]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm2, xmm0
comisd xmm1, xmm2
jbe 0x100e44c7
mov ecx, dword [edi + 0x50]
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x100e4461
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x100e4487
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
fstp qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x24]
add esp, 8
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mov ebx, dword [edi + 0x1c8]
mov edx, dword [ebp + 8]
sub ebx, edx
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x19c]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x1b0]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvttsd2si ecx, xmm1
jmp 0x100e4892
mov edx, dword [ebp + 8]
mov ecx, ebx
mov ebx, dword [edi + 0x1c8]
sub ebx, edx
jmp 0x100e4892
mov eax, dword [edi + 0x1a0]
mov ecx, dword [edi + 0x168]
movss xmm3, dword [edi + 0x10c]
movss xmm4, dword [0x10161668]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x114]
mov edx, dword [eax + ecx*4]
mov ecx, dword [edi + 0x1b0]
mov esi, dword [edx + 0x28]
add esi, dword [edi + 0x1c4]
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 0x100e4530
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100e4566
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
movss xmm3, dword [edi + 0x10c]
add esp, 8
movss xmm4, dword [0x10161668]
fstp qword [ebp - 0x24]
movsd xmm2, qword [ebp - 0x24]
movd xmm0, dword [edi + 0x19c]
lea eax, [ebx + esi]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm2, xmm0
comisd xmm1, xmm2
jbe 0x100e460b
mov ecx, dword [edi + 0x50]
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x100e45a1
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x100e45c7
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
fstp qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x24]
add esp, 8
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mov ebx, dword [edi + 0x1d0]
add ebx, dword [edi + 0x1c8]
mov edx, dword [ebp + 8]
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x19c]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x1b0]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvttsd2si ecx, xmm1
jmp 0x100e4892
mov edx, dword [ebp + 8]
mov ecx, ebx
mov ebx, dword [edi + 0x1d0]
add ebx, dword [edi + 0x1c8]
jmp 0x100e4892
mov eax, dword [edi + 0x1a0]
mov ecx, dword [edi + 0x168]
movss xmm3, dword [edi + 0x10c]
movss xmm4, dword [0x10161668]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x114]
mov edx, dword [eax + ecx*4]
mov ecx, dword [edi + 0x1b0]
mov ebx, dword [edx + 0x2c]
add ebx, dword [edi + 0x1c8]
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 0x100e4678
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100e46ae
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
movss xmm3, dword [edi + 0x10c]
add esp, 8
movss xmm4, dword [0x10161668]
fstp qword [ebp - 0x24]
movsd xmm2, qword [ebp - 0x24]
movd xmm0, dword [edi + 0x19c]
lea eax, [esi + ebx]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm2, xmm0
comisd xmm1, xmm2
jbe 0x100e474b
mov ecx, dword [edi + 0x54]
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x100e46e5
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x100e470b
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
fstp qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x24]
add esp, 8
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
mov esi, dword [edi + 0x1c4]
mov ecx, dword [ebp - 0x10]
sub esi, ecx
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x19c]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x1b0]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvttsd2si edx, xmm1
jmp 0x100e4892
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov esi, dword [edi + 0x1c4]
sub esi, ecx
jmp 0x100e4892
mov eax, dword [edi + 0x1a0]
mov ecx, dword [edi + 0x168]
movss xmm3, dword [edi + 0x10c]
movss xmm4, dword [0x10161668]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x114]
mov edx, dword [eax + ecx*4]
mov ecx, dword [edi + 0x1b0]
mov ebx, dword [edx + 0x2c]
add ebx, dword [edi + 0x1c8]
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 0x100e47b4
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100e47ea
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
movss xmm3, dword [edi + 0x10c]
add esp, 8
movss xmm4, dword [0x10161668]
fstp qword [ebp - 0x24]
movsd xmm2, qword [ebp - 0x24]
movd xmm0, dword [edi + 0x19c]
lea eax, [esi + ebx]
mov ecx, dword [edi + 0x1cc]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm2, xmm0
comisd xmm1, xmm2
jbe 0x100e4885
mov edx, dword [edi + 0x54]
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x100e4827
movd xmm1, edx
cvtdq2pd xmm1, xmm1
jmp 0x100e4853
movd xmm0, edx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
mov ecx, dword [edi + 0x1cc]
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 + 0x19c]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x1b0]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvttsd2si edx, xmm1
jmp 0x100e4887
mov edx, esi
mov esi, dword [edi + 0x1c4]
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.10029380
movss xmm0, dword [edi + 0x10c]
mov eax, 4
cmp byte [edi + 0xd5], 0
push ecx
movss dword [esp], xmm0
mov ecx, 7
push 0xff
push dword [edi + 0x1c0]
cmovne eax, ecx
push dword [edi + 0x1bc]
push dword [edi + 0x1b8]
push dword [edi + 0x1b4]
push eax
push esi
push dword [edi + 0x190]
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 + 0x118], ebx
jle 0x100e4fec
mov eax, dword [edi + 0x114]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax + 0x30]
mov dword [ebp + 8], ecx
cmp ecx, 1
jl 0x100e4fdc
mov edx, dword [eax + 0x34]
mov dword [ebp - 0xc], edx
cmp edx, 1
jl 0x100e4fdc
mov ecx, dword [eax + 0x2c]
mov esi, dword [eax + 0x28]
mov eax, dword [edi + 0x1c8]
push edx
mov edx, dword [ebp + 8]
add eax, ecx
push edx
push eax
mov eax, dword [edi + 0x1c4]
add eax, esi
mov dword [ebp - 8], ecx
push eax
push 3
push edi
call sym.ExuiKrnln_X32.dll_ControlSetCanvasClip
mov ecx, dword [edi + 0x170]
test ecx, ecx
je 0x100e4c63
cmp ecx, 4
je 0x100e4c63
cmp ecx, 8
je 0x100e4c63
cmp ecx, 2
je 0x100e4c63
cmp ecx, 6
je 0x100e4c63
cmp ecx, 0xa
je 0x100e4c63
mov eax, dword [edi + 0x114]
mov eax, dword [eax + ebx*4]
mov edx, dword [eax + 0x2c]
cmp edx, dword [edi + 0x1d0]
jg 0x100e4fe9
mov eax, dword [eax + 0x34]
add eax, edx
cmp eax, 1
jl 0x100e4fe9
mov eax, dword [ebp + 8]
add eax, dword [edi + 0x1a4]
movss xmm2, dword [edi + 0x10c]
movss xmm4, dword [0x10161668]
mov edx, dword [edi + 0x54]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
add eax, dword [edi + 0x1c8]
ucomiss xmm2, xmm4
mov dword [ebp - 8], eax
lahf
test ah, 0x44
jp 0x100e4a02
movd xmm3, edx
cvtdq2pd xmm3, xmm3
jmp 0x100e4a3e
movd xmm0, edx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
movss xmm2, dword [edi + 0x10c]
add esp, 8
mov ecx, dword [edi + 0x170]
movss xmm4, dword [0x10161668]
fstp qword [ebp - 0x24]
movsd xmm3, qword [ebp - 0x24]
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
movd xmm0, dword [edi + 0x19c]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm3, xmm0
comisd xmm1, xmm3
jbe 0x100e4ad0
mov edx, dword [edi + 0x54]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x100e4a78
movd xmm1, edx
cvtdq2pd xmm1, xmm1
jmp 0x100e4aac
movd xmm0, edx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
mov ecx, dword [edi + 0x170]
add esp, 8
movss xmm4, dword [0x10161668]
fstp qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x24]
movd xmm0, dword [ebp - 8]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x19c]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [ebp - 0xc], eax
add esi, dword [edi + 0x1c4]
mov dword [ebp - 0x10], esi
cmp ecx, 3
je 0x100e4b42
cmp ecx, 7
je 0x100e4b42
cmp ecx, 0xb
je 0x100e4b42
cmp ecx, 1
je 0x100e4afb
cmp ecx, 5
je 0x100e4afb
cmp ecx, 9
jne 0x100e4b80
sub esi, dword [edi + 0x1a4]
mov dword [ebp - 0x10], esi
cmp dword [edi + 0x168], ebx
je 0x100e4b80
mov eax, dword [edi + 0x178]
cmp eax, 0xffffffff
je 0x100e4b80
jle 0x100e4b1e
sub dword [ebp + 8], eax
jmp 0x100e4b80
cdq
mov esi, eax
mov eax, 0x99999999
xor esi, edx
sub esi, edx
imul dword [edi + 0x16c]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul esi, ecx
add dword [ebp + 8], esi
jmp 0x100e4b7d
cmp dword [edi + 0x168], ebx
je 0x100e4b80
mov eax, dword [edi + 0x178]
cmp eax, 0xffffffff
je 0x100e4b80
jle 0x100e4b5b
add esi, eax
jmp 0x100e4b80
cdq
mov esi, eax
mov eax, 0x66666667
xor esi, edx
sub esi, edx
imul dword [edi + 0x16c]
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 + 0x174], 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 0x100e4f24
mov ecx, dword [edi + 0x168]
cmp ecx, ebx
je 0x100e4f24
lea eax, [ebx - 1]
cmp eax, ecx
jne 0x100e4bca
mov eax, dword [edi + 0x1b0]
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 + 0x118]
dec eax
cmp ebx, eax
jge 0x100e4f21
movss xmm1, dword [edi + 0x10c]
mov ecx, dword [edi + 0x54]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100e4bf7
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100e4c20
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
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 + 0x19c]
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm0
comisd xmm2, xmm1
jbe 0x100e4f24
mov ecx, dword [ebp - 0x14]
add ecx, dword [edi + 0x1b0]
mov dword [ebp - 0x14], ecx
jmp 0x100e4f24
mov eax, dword [edi + 0x114]
mov eax, dword [eax + ebx*4]
mov edx, dword [eax + 0x28]
cmp edx, dword [edi + 0x1cc]
jg 0x100e4fe9
mov eax, dword [eax + 0x30]
add eax, edx
cmp eax, 1
jl 0x100e4fe9
mov eax, dword [ebp - 0xc]
add eax, dword [edi + 0x1a4]
add esi, dword [edi + 0x1c4]
movss xmm2, dword [edi + 0x10c]
movss xmm4, dword [0x10161668]
mov edx, dword [edi + 0x50]
ucomiss xmm2, xmm4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
lahf
test ah, 0x44
jp 0x100e4cc4
movd xmm3, edx
cvtdq2pd xmm3, xmm3
jmp 0x100e4d00
movd xmm0, edx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
movss xmm2, dword [edi + 0x10c]
add esp, 8
mov ecx, dword [edi + 0x170]
movss xmm4, dword [0x10161668]
fstp qword [ebp - 0x2c]
movsd xmm3, qword [ebp - 0x2c]
mov eax, dword [ebp + 8]
movd xmm0, dword [edi + 0x19c]
add eax, esi
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm3, xmm0
comisd xmm1, xmm3
jbe 0x100e4d90
mov edx, dword [edi + 0x50]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x100e4d39
movd xmm1, edx
cvtdq2pd xmm1, xmm1
jmp 0x100e4d6d
movd xmm0, edx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
mov ecx, dword [edi + 0x170]
add esp, 8
movss xmm4, dword [0x10161668]
fstp qword [ebp - 0x2c]
movsd xmm1, qword [ebp - 0x2c]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, dword [edi + 0x19c]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [ebp + 8], eax
mov edx, dword [ebp - 8]
add edx, dword [edi + 0x1c8]
mov dword [ebp - 8], edx
test ecx, ecx
je 0x100e4e0b
cmp ecx, 4
je 0x100e4e0b
cmp ecx, 8
je 0x100e4e0b
cmp ecx, 2
je 0x100e4dbd
cmp ecx, 6
je 0x100e4dbd
cmp ecx, 0xa
jne 0x100e4e51
sub edx, dword [edi + 0x1a4]
mov dword [ebp - 8], edx
cmp dword [edi + 0x168], ebx
je 0x100e4e51
mov eax, dword [edi + 0x178]
cmp eax, 0xffffffff
je 0x100e4e51
jle 0x100e4de4
sub dword [ebp - 0xc], eax
jmp 0x100e4e51
cdq
mov esi, eax
mov eax, 0x99999999
xor esi, edx
sub esi, edx
imul dword [edi + 0x16c]
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 0x100e4e4e
cmp dword [edi + 0x168], ebx
je 0x100e4e51
mov eax, dword [edi + 0x178]
cmp eax, 0xffffffff
je 0x100e4e51
jle 0x100e4e27
add edx, eax
mov dword [ebp - 8], edx
jmp 0x100e4e51
cdq
mov esi, eax
mov eax, 0x66666667
xor esi, edx
sub esi, edx
imul dword [edi + 0x16c]
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 + 0x174], 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 0x100e4f24
mov ecx, dword [edi + 0x168]
cmp ecx, ebx
je 0x100e4f24
lea eax, [ebx - 1]
cmp eax, ecx
jne 0x100e4e98
mov eax, dword [edi + 0x1b0]
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 + 0x118]
dec eax
cmp ebx, eax
jge 0x100e4f21
movss xmm1, dword [edi + 0x10c]
mov ecx, dword [edi + 0x50]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100e4ec5
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100e4eeb
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
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 + 0x19c]
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm0
comisd xmm2, xmm1
jbe 0x100e4f24
add eax, dword [edi + 0x1b0]
jmp 0x100e4f24
mov eax, dword [ebp - 0x10]
cmp byte [edi + 0x14d], 0
je 0x100e4f34
mov ecx, 3
jmp 0x100e4f64
cmp dword [0x1017740c], edi
jne 0x100e4f4b
cmp dword [0x10175958], ebx
jne 0x100e4f4b
mov ecx, 2
jmp 0x100e4f64
cmp dword [0x10177404], edi
jne 0x100e4f62
cmp dword [0x10175954], ebx
jne 0x100e4f62
mov ecx, 1
jmp 0x100e4f64
xor ecx, ecx
movss xmm0, dword [edi + 0x10c]
push ecx
movss dword [esp], xmm0
push 0xff
push dword [ebp - 0x14]
push eax
push dword [ebp - 0x18]
xor eax, eax
cmp dword [edi + 0x168], ebx
push dword [ebp - 0x20]
sete al
lea eax, [eax*4 + 8]
add eax, ecx
push eax
push dword [ebp + 0x10]
push dword [edi + 0x190]
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.100e3f60
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 + 0x118]
jl 0x100e4914
mov esi, dword [ebp + 0x10]
push 0
push 0
push 0
push 0
push 1
push edi
call sym.ExuiKrnln_X32.dll_ControlSetCanvasClip
jmp 0x100e50c9
ucomiss xmm1, dword [0x10161668]
mov ecx, dword [edi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100e501b
cvtdq2pd xmm0, xmm0
jmp 0x100e503d
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
fstp qword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x2c]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10161668]
mov ecx, dword [edi + 0x50]
movsd qword [ebp - 0x24], xmm0
lahf
test ah, 0x44
jp 0x100e5064
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x100e508a
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
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 + 0x10c]
movss dword [esp], xmm0
push 0xff
push eax
cvttsd2si eax, xmm1
push eax
xor eax, eax
cmp byte [edi + 0xd5], al
push 0
push 0
cmovne eax, ecx
push eax
push esi
push dword [edi + 0x190]
call sym.ExuiKrnln_X32.dll_RexDrawSkin
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10161668]
mov ecx, dword [edi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100e50eb
cvtdq2pd xmm0, xmm0
jmp 0x100e510d
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
fstp qword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x2c]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10161668]
mov ecx, dword [edi + 0x50]
movsd qword [ebp - 0x24], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100e5134
cvtdq2pd xmm0, xmm0
jmp 0x100e5156
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
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 0x100e51a1
cmp dword [0x1017757c], 0
je 0x100e51a1
mov eax, dword [esi + 0x2c]
cmp eax, 1
jl 0x100e51a1
dec eax
mov ecx, esi
mov dword [esi + 0x2c], eax
call fcn.100293e0
mov eax, dword [esi + 0x40]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov dword [0x101776cc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc