Function at 0x1008e130
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x101ba0ec]
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 0x1008e17f
nop dword [eax + eax]
mov dword [eax + 0x24], 0
add eax, 0x50
cmp eax, dword [edi + 8]
jne 0x1008e170
push 0x208
lea eax, [esp + 0x34]
push 0
push eax
call fcn.1012bd00
mov esi, dword [edi + 4]
add esp, 0xc
xor ebx, ebx
cmp esi, dword [edi + 8]
je 0x1008e33d
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.0x1008e1c3.3
movzx eax, byte [eax + 0x1008e5ac]
jmp dword [eax*4 + 0x1008e59c]
mov edx, 1
cmp ebx, 3
jge 0x1008e249
cmp dword [edi], ebx
jg 0x1008e23f
mov dword [esi + 0x24], 1
jmp 0x1008e330
cmp dword [esi], 4
jne 0x1008e330
cmp ebx, 5
jge 0x1008e1fe
mov dword [esi + 0x24], 1
jmp 0x1008e330
add ecx, 0x7c
lea eax, [esi + 0x28]
cmp eax, ecx
je 0x1008e217
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.10041c10
lea eax, [esi + 0x28]
mov edx, 0x1018444c
mov ecx, eax
call fcn.1004a690
xor ecx, ecx
test al, al
setne cl
mov dword [esi + 0x24], ecx
jmp 0x1008e330
cmp dword [esi], 5
jne case.0x1008e1c3.3
mov dword [esi + 0x24], edx
jmp 0x1008e330
xor eax, eax
test edx, edx
sete al
mov dword [esi + 0x24], eax
mov edx, dword [esi]
cmp edx, 3
jne 0x1008e2ca
mov eax, dword [ecx + 8]
cmp eax, 2
je 0x1008e25d
cmp eax, 0xf
jne 0x1008e267
cmp dword [ecx + 0x5c], 1
je 0x1008e1d8
cmp eax, 0x33
je 0x1008e1d8
cmp eax, 6
je 0x1008e2af
cmp eax, 7
je 0x1008e2af
cmp eax, 8
je 0x1008e2af
cmp eax, 0x10
je 0x1008e2af
cmp eax, 0x37
je 0x1008e2af
cmp eax, 0x36
je 0x1008e2af
mov eax, dword [edi + 0x80]
mov eax, dword [eax + 0x64]
cmp dword [eax + 8], 0xd
jne 0x1008e2c3
cmp dword [eax + 0x5c], 1
jne 0x1008e2c3
mov dword [esi + 0x24], 1
jmp 0x1008e330
cmp dword [ecx + 0x2c], 3
jle 0x1008e1d8
cmp dword [ecx + 0x5c], 1
je 0x1008e1d8
mov dword [esi + 0x24], 0
cmp edx, 6
jne 0x1008e330
cmp dword [ecx + 8], 0x10
je 0x1008e2de
cmp dword [ecx + 0xd8], 0
je 0x1008e330
mov eax, dword [0x101c82b0]
test eax, eax
jne 0x1008e307
push 8
call fcn.1010a843
mov dword [esp + 0x14], eax
add esp, 4
mov dword [0x101c82b0], 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 0x1008e31f
push 0x10190a70
jmp 0x1008e324
push str._f:y
call fcn.10041f80
mov dword [esi + 0x24], 0
add esi, 0x50
inc ebx
cmp esi, dword [edi + 8]
jne 0x1008e1a1
mov eax, dword [0x101c82b0]
mov dword [esp + 0x1c], 0
test eax, eax
jne 0x1008e36e
push 8
call fcn.1010a843
mov dword [esp + 0x14], eax
add esp, 4
mov dword [0x101c82b0], 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 0x1008e385
call fcn.10054a00
cvtss2sd xmm0, xmm0
jmp 0x1008e38d
movsd xmm0, qword [0x10198430]
mov eax, dword [edi + 0x3c]
cvtsd2ss xmm0, xmm0
mov dword [esp + 0x18], eax
mov eax, dword [0x101c86f0]
movss dword [esp + 0x24], xmm0
test eax, eax
jne 0x1008e3c4
push 0x114
call fcn.1010a843
add esp, 4
mov dword [esp + 0x10], eax
mov ecx, eax
call sym.WnSkinPreview.dll_public:_void___thiscall_CSkinStyle::constructor_void_
mov dword [0x101c86f0], 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 0x1008e52c
nop dword [eax + eax]
cmp dword [esi + 0x24], 0
jne 0x1008e4db
cmp dword [esi + 0x3c], 8
jb 0x1008e415
mov ecx, dword [esi + 0x28]
jmp 0x1008e418
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 0x1008e420
lea edx, [esp + 0x30]
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1008e440
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.10058f90
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 0x1008e4df
mov eax, dword [esp + 0x1c]
add esi, 0x50
cmp esi, dword [edi + 8]
jne 0x1008e400
test eax, eax
jle 0x1008e52c
lea eax, [esp + 0x10]
mov ecx, edi
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [edi + 4]
push eax
call fcn.10091280
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 0x1008e57a
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 0x1008e55e
nop dword [eax]
mov ecx, esi
call fcn.1008dd60
add esi, 0x50
cmp esi, ebx
jne 0x1008e550
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.1010a832
mov esp, ebp
pop ebp
ret 4