Function at 0x1008de40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x101b90ec]
xor eax, esp
mov dword [esp + 0x230], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], eax
mov dword [edi + 0x8c], 1
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x1008de8f
nop dword [eax + eax]
mov dword [eax + 0x24], 0
add eax, 0x50
cmp eax, dword [edi + 8]
jne 0x1008de80
push 0x208
lea eax, [esp + 0x34]
push 0
push eax
call fcn.1012b3b0
mov esi, dword [edi + 4]
add esp, 0xc
xor ebx, ebx
cmp esi, dword [edi + 8]
je 0x1008e04d
mov dword [esi + 0x24], 1
xor edx, edx
mov eax, dword [edi + 0x80]
mov ecx, dword [eax + 0x64]
mov eax, dword [ecx + 8]
dec eax
cmp eax, 0x37
ja case.0x1008ded3.3
movzx eax, byte [eax + 0x1008e2bc]
jmp dword [eax*4 + 0x1008e2ac]
mov edx, 1
cmp ebx, 3
jge 0x1008df59
cmp dword [edi], ebx
jg 0x1008df4f
mov dword [esi + 0x24], 1
jmp 0x1008e040
cmp dword [esi], 4
jne 0x1008e040
cmp ebx, 5
jge 0x1008df0e
mov dword [esi + 0x24], 1
jmp 0x1008e040
add ecx, 0x7c
lea eax, [esi + 0x28]
cmp eax, ecx
je 0x1008df27
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.10041c00
lea eax, [esi + 0x28]
mov edx, 0x1018344c
mov ecx, eax
call fcn.1004a5e0
xor ecx, ecx
test al, al
setne cl
mov dword [esi + 0x24], ecx
jmp 0x1008e040
cmp dword [esi], 5
jne case.0x1008ded3.3
mov dword [esi + 0x24], edx
jmp 0x1008e040
xor eax, eax
test edx, edx
sete al
mov dword [esi + 0x24], eax
mov edx, dword [esi]
cmp edx, 3
jne 0x1008dfda
mov eax, dword [ecx + 8]
cmp eax, 2
je 0x1008df6d
cmp eax, 0xf
jne 0x1008df77
cmp dword [ecx + 0x5c], 1
je 0x1008dee8
cmp eax, 0x33
je 0x1008dee8
cmp eax, 6
je 0x1008dfbf
cmp eax, 7
je 0x1008dfbf
cmp eax, 8
je 0x1008dfbf
cmp eax, 0x10
je 0x1008dfbf
cmp eax, 0x37
je 0x1008dfbf
cmp eax, 0x36
je 0x1008dfbf
mov eax, dword [edi + 0x80]
mov eax, dword [eax + 0x64]
cmp dword [eax + 8], 0xd
jne 0x1008dfd3
cmp dword [eax + 0x5c], 1
jne 0x1008dfd3
mov dword [esi + 0x24], 1
jmp 0x1008e040
cmp dword [ecx + 0x2c], 3
jle 0x1008dee8
cmp dword [ecx + 0x5c], 1
je 0x1008dee8
mov dword [esi + 0x24], 0
cmp edx, 6
jne 0x1008e040
cmp dword [ecx + 8], 0x10
je 0x1008dfee
cmp dword [ecx + 0xd8], 0
je 0x1008e040
mov eax, dword [0x101c7078]
test eax, eax
jne 0x1008e017
push 8
call fcn.10109ed3
mov dword [esp + 0x14], eax
add esp, 4
mov dword [0x101c7078], eax
mov dword [eax], vtable.CLibShareConfigManager.0
mov dword [eax + 4], 0
mov edx, dword [eax]
mov ecx, eax
push 0x53
call dword [edx]
lea ecx, [esi + 0x28]
push 4
test eax, eax
je 0x1008e02f
push 0x1018fa18
jmp 0x1008e034
push str._f:y
call fcn.10041f70
mov dword [esi + 0x24], 0
add esi, 0x50
inc ebx
cmp esi, dword [edi + 8]
jne 0x1008deb1
mov eax, dword [0x101c7078]
mov dword [esp + 0x1c], 0
test eax, eax
jne 0x1008e07e
push 8
call fcn.10109ed3
mov dword [esp + 0x14], eax
add esp, 4
mov dword [0x101c7078], eax
mov dword [eax], vtable.CLibShareConfigManager.0
mov dword [eax + 4], 0
mov edx, dword [eax]
mov ecx, eax
push 0x66
call dword [edx]
test eax, eax
je 0x1008e095
call fcn.10054940
cvtss2sd xmm0, xmm0
jmp 0x1008e09d
movsd xmm0, qword [0x10197388]
mov eax, dword [edi + 0x3c]
cvtsd2ss xmm0, xmm0
mov dword [esp + 0x18], eax
mov eax, dword [0x101c74b8]
movss dword [esp + 0x24], xmm0
test eax, eax
jne 0x1008e0d4
push 0x114
call fcn.10109ed3
add esp, 4
mov dword [esp + 0x10], eax
mov ecx, eax
call sym.WnSkinPreview.dll_public:_void___thiscall_CSkinStyle::constructor_void_
mov dword [0x101c74b8], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
push ecx
push dword [eax + 0xac]
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov esi, dword [edi + 4]
mov ebx, dword [edi + 0x4c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
cmp esi, dword [edi + 8]
je 0x1008e23c
nop dword [eax + eax]
cmp dword [esi + 0x24], 0
jne 0x1008e1eb
cmp dword [esi + 0x3c], 8
jb 0x1008e125
mov ecx, dword [esi + 0x28]
jmp 0x1008e128
lea ecx, [esi + 0x28]
lea edx, [esp + 0x30]
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x1008e130
lea edx, [esp + 0x30]
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1008e150
lea eax, [esp + 0x10]
sub edx, ecx
push eax
lea eax, [esp + 0x18]
sar edx, 1
push eax
push dword [edi + 0x68]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x40]
call fcn.10058ed0
mov eax, dword [edi + 0x48]
add esp, 0x10
mov dword [esi + 4], eax
mov edx, dword [esp + 0x10]
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
subss xmm0, dword [esp + 0x24]
cvttss2si eax, xmm0
mov dword [esi + 8], eax
mov eax, dword [edi + 0x50]
add eax, dword [esp + 0x14]
add eax, dword [esp + 0x18]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x5c]
lea eax, [edx + eax*2]
add eax, ebx
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x5c]
add eax, ebx
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x5c]
add eax, edx
add eax, ebx
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x5c]
lea eax, [edx + eax*2]
add ebx, eax
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
jmp 0x1008e1ef
mov eax, dword [esp + 0x1c]
add esi, 0x50
cmp esi, dword [edi + 8]
jne 0x1008e110
test eax, eax
jle 0x1008e23c
lea eax, [esp + 0x10]
mov ecx, edi
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [edi + 4]
push eax
call fcn.10090f90
mov ebx, dword [esp + 0x20]
push 0x12
push dword [esp + 0x14]
push dword [esp + 0x2c]
push 0
push 0
push 0xffffffffffffffff
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0
push ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x1008e28a
push 0x12
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [esp + 0x38]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, dword [edi + 0x14]
mov esi, dword [edi + 0x10]
cmp esi, ebx
je 0x1008e26e
nop dword [eax]
mov ecx, esi
call fcn.1008da70
add esi, 0x50
cmp esi, ebx
jne 0x1008e260
mov eax, dword [edi + 0x10]
push 0
push dword [esp + 0x24]
mov dword [edi + 0x14], eax
mov dword [edi + 0x8c], 0
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x28]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10109ec2
mov esp, ebp
pop ebp
ret 4