Function at 0x100dceb0
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 0x100dddee
cmp dword [ebp + 8], 0
je 0x100dddee
cmp dword [edi + 0x168], 0xfffffffe
je 0x100dddee
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x100dcf01
cmp dword [0x1016b504], 0
je 0x100dcf01
mov eax, dword [esi + 0x28]
test eax, eax
jg 0x100dcf01
inc eax
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
cmp dword [edi + 0x118], 0
movss xmm1, dword [edi + 0x10c]
je 0x100ddc4f
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 0x100ddd17
cmp dword [edi + 0x1cc], 0
je 0x100ddd17
xor esi, esi
xor ebx, ebx
xor ecx, ecx
xor edx, edx
cmp eax, 3
je 0x100dd39d
cmp eax, 7
je 0x100dd39d
cmp eax, 0xb
je 0x100dd39d
cmp eax, 1
je 0x100dd261
cmp eax, 5
je 0x100dd261
cmp eax, 9
je 0x100dd261
test eax, eax
je 0x100dd119
cmp eax, 4
je 0x100dd119
cmp eax, 8
je 0x100dd119
cmp eax, 2
je 0x100dcfdd
cmp eax, 6
je 0x100dcfdd
cmp eax, 0xa
jne 0x100dd4d2
mov eax, dword [edi + 0x1a0]
mov ecx, dword [edi + 0x168]
movss xmm3, dword [edi + 0x10c]
movss xmm4, dword [0x10154570]
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 0x100dd034
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100dd06a
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
movss xmm3, dword [edi + 0x10c]
add esp, 8
movss xmm4, dword [0x10154570]
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 0x100dd107
mov ecx, dword [edi + 0x50]
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x100dd0a1
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x100dd0c7
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
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 0x100dd4d2
mov edx, dword [ebp + 8]
mov ecx, ebx
mov ebx, dword [edi + 0x1c8]
sub ebx, edx
jmp 0x100dd4d2
mov eax, dword [edi + 0x1a0]
mov ecx, dword [edi + 0x168]
movss xmm3, dword [edi + 0x10c]
movss xmm4, dword [0x10154570]
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 0x100dd170
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100dd1a6
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
movss xmm3, dword [edi + 0x10c]
add esp, 8
movss xmm4, dword [0x10154570]
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 0x100dd24b
mov ecx, dword [edi + 0x50]
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x100dd1e1
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x100dd207
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
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 0x100dd4d2
mov edx, dword [ebp + 8]
mov ecx, ebx
mov ebx, dword [edi + 0x1d0]
add ebx, dword [edi + 0x1c8]
jmp 0x100dd4d2
mov eax, dword [edi + 0x1a0]
mov ecx, dword [edi + 0x168]
movss xmm3, dword [edi + 0x10c]
movss xmm4, dword [0x10154570]
mov dword [ebp - 0x14], 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 0x100dd2b8
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100dd2ee
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
movss xmm3, dword [edi + 0x10c]
add esp, 8
movss xmm4, dword [0x10154570]
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 0x100dd38b
mov ecx, dword [edi + 0x54]
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x100dd325
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x100dd34b
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
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 - 0x14]
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 0x100dd4d2
mov ecx, dword [ebp - 0x14]
mov edx, esi
mov esi, dword [edi + 0x1c4]
sub esi, ecx
jmp 0x100dd4d2
mov eax, dword [edi + 0x1a0]
mov ecx, dword [edi + 0x168]
movss xmm3, dword [edi + 0x10c]
movss xmm4, dword [0x10154570]
mov dword [ebp - 0x14], 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 0x100dd3f4
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100dd42a
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
movss xmm3, dword [edi + 0x10c]
add esp, 8
movss xmm4, dword [0x10154570]
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 0x100dd4c5
mov edx, dword [edi + 0x54]
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x100dd467
movd xmm1, edx
cvtdq2pd xmm1, xmm1
jmp 0x100dd493
movd xmm0, edx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
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 0x100dd4c7
mov edx, esi
mov esi, dword [edi + 0x1c4]
add esi, ecx
mov ecx, dword [ebp - 0x14]
push edx
push ecx
push ebx
push esi
mov edx, 3
mov ecx, edi
call fcn.10049f50
mov esi, dword [ebp + 0x10]
push 0
push esi
call sym.ExuiKrnln_X32.dll_Clear_CanvasEx
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
mov edx, 1
mov ecx, edi
call fcn.10049f50
xor ebx, ebx
cmp dword [edi + 0x118], ebx
jle 0x100ddc36
nop dword [eax + eax]
mov eax, dword [edi + 0x114]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc], ecx
cmp ecx, 1
jl 0x100ddc26
mov edx, dword [eax + 0x34]
mov dword [ebp - 8], edx
cmp edx, 1
jl 0x100ddc26
mov ecx, dword [eax + 0x2c]
mov esi, dword [eax + 0x28]
mov eax, dword [edi + 0x1c8]
push edx
push dword [ebp - 0xc]
add eax, ecx
mov dword [ebp + 8], ecx
push eax
mov eax, dword [edi + 0x1c4]
mov edx, 3
add eax, esi
mov ecx, edi
push eax
call fcn.10049f50
mov ecx, dword [edi + 0x170]
test ecx, ecx
je 0x100dd8ac
cmp ecx, 4
je 0x100dd8ac
cmp ecx, 8
je 0x100dd8ac
cmp ecx, 2
je 0x100dd8ac
cmp ecx, 6
je 0x100dd8ac
cmp ecx, 0xa
je 0x100dd8ac
mov eax, dword [edi + 0x114]
mov eax, dword [eax + ebx*4]
mov edx, dword [eax + 0x2c]
cmp edx, dword [edi + 0x1d0]
jg 0x100ddc33
mov eax, dword [eax + 0x34]
add eax, edx
cmp eax, 1
jl 0x100ddc33
mov eax, dword [ebp - 0xc]
add eax, dword [edi + 0x1a4]
movss xmm2, dword [edi + 0x10c]
movss xmm4, dword [0x10154570]
mov edx, dword [edi + 0x54]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
add eax, dword [edi + 0x1c8]
ucomiss xmm2, xmm4
mov dword [ebp + 8], eax
lahf
test ah, 0x44
jp 0x100dd651
movd xmm3, edx
cvtdq2pd xmm3, xmm3
jmp 0x100dd68d
movd xmm0, edx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
movss xmm2, dword [edi + 0x10c]
add esp, 8
mov ecx, dword [edi + 0x170]
movss xmm4, dword [0x10154570]
fstp qword [ebp - 0x24]
movsd xmm3, qword [ebp - 0x24]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movd xmm0, dword [edi + 0x19c]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm3, xmm0
comisd xmm1, xmm3
jbe 0x100dd71f
mov edx, dword [edi + 0x54]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x100dd6c7
movd xmm1, edx
cvtdq2pd xmm1, xmm1
jmp 0x100dd6fb
movd xmm0, edx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
mov ecx, dword [edi + 0x170]
add esp, 8
movss xmm4, dword [0x10154570]
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 - 8], eax
add esi, dword [edi + 0x1c4]
mov dword [ebp - 0x10], esi
cmp ecx, 3
je 0x100dd791
cmp ecx, 7
je 0x100dd791
cmp ecx, 0xb
je 0x100dd791
cmp ecx, 1
je 0x100dd74a
cmp ecx, 5
je 0x100dd74a
cmp ecx, 9
jne 0x100dd7d2
sub esi, dword [edi + 0x1a4]
mov dword [ebp - 0x10], esi
cmp dword [edi + 0x168], ebx
je 0x100dd7d2
mov eax, dword [edi + 0x178]
cmp eax, 0xffffffff
je 0x100dd7d2
jle 0x100dd76d
sub dword [ebp - 0xc], eax
jmp 0x100dd7d2
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 - 0xc], esi
jmp 0x100dd7cf
cmp dword [edi + 0x168], ebx
je 0x100dd7d2
mov eax, dword [edi + 0x178]
cmp eax, 0xffffffff
je 0x100dd7d2
jle 0x100dd7ad
add esi, eax
mov dword [ebp - 0x10], esi
jmp 0x100dd7d2
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 dword [ebp - 0x20], esi
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
jne 0x100ddb6d
mov ecx, dword [edi + 0x168]
cmp ecx, ebx
je 0x100ddb6d
lea eax, [ebx - 1]
cmp eax, ecx
jne 0x100dd819
mov eax, dword [edi + 0x1b0]
mov ecx, edx
sub ecx, eax
add eax, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x118]
dec eax
cmp ebx, eax
jge 0x100ddb6a
movss xmm1, dword [edi + 0x10c]
mov ecx, dword [edi + 0x54]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100dd846
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100dd86f
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
mov edx, dword [ebp + 8]
add esp, 8
fstp qword [ebp - 0x2c]
movsd xmm2, qword [ebp - 0x2c]
movd xmm1, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
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 0x100ddb6d
add eax, dword [edi + 0x1b0]
jmp 0x100ddb6d
mov eax, dword [edi + 0x114]
mov eax, dword [eax + ebx*4]
mov edx, dword [eax + 0x28]
cmp edx, dword [edi + 0x1cc]
jg 0x100ddc33
mov eax, dword [eax + 0x30]
add eax, edx
cmp eax, 1
jl 0x100ddc33
mov eax, dword [ebp - 8]
add eax, dword [edi + 0x1a4]
add esi, dword [edi + 0x1c4]
movss xmm2, dword [edi + 0x10c]
movss xmm4, dword [0x10154570]
mov edx, dword [edi + 0x50]
ucomiss xmm2, xmm4
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], esi
lahf
test ah, 0x44
jp 0x100dd90d
movd xmm3, edx
cvtdq2pd xmm3, xmm3
jmp 0x100dd949
movd xmm0, edx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
movss xmm2, dword [edi + 0x10c]
add esp, 8
mov ecx, dword [edi + 0x170]
movss xmm4, dword [0x10154570]
fstp qword [ebp - 0x2c]
movsd xmm3, qword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
movd xmm0, dword [edi + 0x19c]
add eax, esi
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm3, xmm0
comisd xmm1, xmm3
jbe 0x100dd9d9
mov edx, dword [edi + 0x50]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x100dd982
movd xmm1, edx
cvtdq2pd xmm1, xmm1
jmp 0x100dd9b6
movd xmm0, edx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
mov ecx, dword [edi + 0x170]
add esp, 8
movss xmm4, dword [0x10154570]
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 - 0xc], eax
mov edx, dword [ebp + 8]
add edx, dword [edi + 0x1c8]
mov dword [ebp + 8], edx
test ecx, ecx
je 0x100dda54
cmp ecx, 4
je 0x100dda54
cmp ecx, 8
je 0x100dda54
cmp ecx, 2
je 0x100dda06
cmp ecx, 6
je 0x100dda06
cmp ecx, 0xa
jne 0x100dda9a
sub edx, dword [edi + 0x1a4]
mov dword [ebp + 8], edx
cmp dword [edi + 0x168], ebx
je 0x100dda9a
mov eax, dword [edi + 0x178]
cmp eax, 0xffffffff
je 0x100dda9a
jle 0x100dda2d
sub dword [ebp - 8], eax
jmp 0x100dda9a
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 - 8], esi
jmp 0x100dda97
cmp dword [edi + 0x168], ebx
je 0x100dda9a
mov eax, dword [edi + 0x178]
cmp eax, 0xffffffff
je 0x100dda9a
jle 0x100dda70
add edx, eax
mov dword [ebp + 8], edx
jmp 0x100dda9a
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 esi, edx
mov dword [ebp - 0x14], eax
jne 0x100ddb6d
mov ecx, dword [edi + 0x168]
cmp ecx, ebx
je 0x100ddb6d
lea eax, [ebx - 1]
cmp eax, ecx
jne 0x100ddade
mov eax, dword [edi + 0x1b0]
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov dword [ebp - 0x20], ecx
lea esi, [eax + edx]
mov eax, dword [edi + 0x118]
dec eax
cmp ebx, eax
jge 0x100ddb6a
movss xmm1, dword [edi + 0x10c]
mov ecx, dword [edi + 0x50]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100ddb0b
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x100ddb34
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
mov edx, dword [ebp - 0xc]
add esp, 8
fstp qword [ebp - 0x2c]
movsd xmm2, qword [ebp - 0x2c]
movd xmm0, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cvtdq2pd xmm0, xmm0
movd xmm1, edx
subsd xmm2, xmm0
movd xmm0, dword [edi + 0x19c]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
subsd xmm2, xmm0
comisd xmm2, xmm1
jbe 0x100ddb6d
add esi, dword [edi + 0x1b0]
jmp 0x100ddb6d
mov eax, dword [ebp - 0x14]
cmp byte [edi + 0x14d], 0
je 0x100ddb7d
mov ecx, 3
jmp 0x100ddbad
cmp dword [0x1016b3a0], edi
jne 0x100ddb94
cmp dword [0x10169958], ebx
jne 0x100ddb94
mov ecx, 2
jmp 0x100ddbad
cmp dword [0x1016b398], edi
jne 0x100ddbab
cmp dword [0x10169954], ebx
jne 0x100ddbab
mov ecx, 1
jmp 0x100ddbad
xor ecx, ecx
movss xmm0, dword [edi + 0x10c]
push ecx
movss dword [esp], xmm0
push 0xff
push eax
xor eax, eax
cmp dword [edi + 0x168], ebx
push esi
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 + 0x190]
call sym.ExuiKrnln_X32.dll_RexDrawSkin
mov esi, dword [ebp - 0x10]
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
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.100dcba0
push 1
push dword [ebp - 8]
push dword [ebp - 0xc]
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 0x100dd560
mov esi, dword [ebp + 0x10]
push 0
push 0
push 0
push 0
mov edx, 1
mov ecx, edi
call fcn.10049f50
jmp 0x100ddd17
ucomiss xmm1, dword [0x10154570]
mov ecx, dword [edi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100ddc69
cvtdq2pd xmm0, xmm0
jmp 0x100ddc8b
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
fstp qword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x2c]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10154570]
mov ecx, dword [edi + 0x50]
movsd qword [ebp - 0x24], xmm0
lahf
test ah, 0x44
jp 0x100ddcb2
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x100ddcd8
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
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 [0x10154570]
mov ecx, dword [edi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100ddd39
cvtdq2pd xmm0, xmm0
jmp 0x100ddd5b
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
fstp qword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x2c]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10154570]
mov ecx, dword [edi + 0x50]
movsd qword [ebp - 0x24], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100ddd82
cvtdq2pd xmm0, xmm0
jmp 0x100ddda4
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
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 0x100dddee
cmp dword [0x1016b504], 0
je 0x100dddee
mov eax, dword [esi + 0x28]
cmp eax, 1
jl 0x100dddee
dec eax
push esi
mov dword [esi + 0x28], eax
call sym.ExuiKrnln_X32.dll_ResetClip_CanvasEx
mov eax, dword [esi + 0x3c]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov dword [0x1016b4f8], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc