Function at 0x10030f80
Capabilities:
Create thread
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c5a78
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x6c], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
cmp byte [ebp + 0x10], 0
mov edi, dword [0x1017a4ac]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x18], edi
jne 0x1003117d
push 0x30
lea eax, [esp + 0x38]
push 0
push eax
call fcn.100567e0
mov eax, dword [edi + 4]
add esp, 0xc
mov dword [esp + 0x34], 0x30
mov dword [esp + 0x38], 0xb
mov dword [esp + 0x3c], 0x10030be0
push 0x7f00
push 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x58], 6
mov dword [esp + 0x60], str.PREVIEW_WINDOW_CLASS
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov dword [esp + 0x24], 0
call fcn.100309b0
mov dword [esp + 0xc], eax
test eax, eax
je 0x1003136e
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [esp + 0x24]
push 0
push 0x438
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, eax
test ecx, ecx
je 0x1003136e
mov eax, dword [esp + 0xc]
push ecx
push eax
mov dword [0x1017a4a8], eax
mov dword [0x1017a8c0], ecx
call fcn.10030a30
xor ecx, ecx
mov edx, esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x20], ecx
mov ecx, eax
call fcn.10030cd0
test al, al
je 0x100310ca
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x20], eax
test ecx, ecx
jne 0x100310ce
test eax, eax
je 0x1003136e
jmp 0x100310ce
xor eax, eax
xor ecx, ecx
push 0
push dword [edi + 4]
push 0
push 0
push eax
push ecx
push dword [esi + 4]
push dword [esi]
push SysReAllocString
push 0x100e3908
push str.PREVIEW_WINDOW_CLASS
push 0x8080080
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x1054], eax
test eax, eax
je 0x1003136e
mov ecx, dword [esp + 0x20]
push 0x10
push ecx
mov ecx, dword [esp + 0x6c]
push ecx
push dword [esi + 4]
push dword [esi]
push 1
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [edi + 0x1054]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x20]
push eax
push 0x10030900
mov dword [esp + 0x28], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 0x20]
mov eax, dword [sym.imp.USER32.dll_SetWindowLongW]
test ecx, ecx
je 0x1003115d
push ecx
push 0xfffffffffffffff8
push dword [esp + 0x14]
call eax
mov eax, dword [sym.imp.USER32.dll_SetWindowLongW]
push edi
push 0xffffffffffffffeb
push dword [edi + 0x1054]
call eax
push dword [edi + 0x1054]
push 0
push 0x10030da0
call fcn.100578d3
add esp, 0xc
mov eax, dword [esi + 8]
sub eax, dword [esi]
push dword [edi + 0x1054]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
mov dword [esp + 0x10], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x30]
mov dword [esp + 0x24], eax
push dword [esp + 0x30]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push esi
push dword [esp + 0x24]
mov dword [esp + 0x24], esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x10031349
mov eax, dword [ecx]
push 0
push 0
push 0
push 0
push ecx
call dword [eax + 0x14]
mov eax, dword [esp + 0x28]
push 0
push 0x6b
push 0x100de910
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [esp + 0x28]
push 0x10
mov dword [esp + 0x28], eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1003133f
xorps xmm0, xmm0
movdqu xmmword [eax], xmm0
mov dword [eax], vtable.Gdiplus::Image.0
add eax, 4
push eax
push dword [esp + 0x28]
mov dword [eax], 0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov ecx, dword [esp + 0x10]
xorps xmm0, xmm0
movq qword [esp + 0x70], xmm0
mov dword [esp + 0x24], 0
mov dword [ecx + 8], eax
lea eax, [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
push eax
push dword [esp + 0x24]
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x70], eax
mov dword [esp + 0x88], 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x10]
push 3
push ecx
mov dword [esp + 0x3c], 0
push dword [esi + 4]
mov dword [esp + 0x44], 0
push eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], edi
call dword [sym.imp.gdiplus.dll_GdipDrawImagePointsI]
mov ecx, dword [esp + 0x14]
test eax, eax
mov edi, dword [esp + 0x18]
push 2
cmovne ecx, eax
mov dword [esp + 0x6c], 0
lea eax, [esp + 0x68]
mov dword [esp + 0x78], ecx
push eax
push 0
lea eax, [esp + 0x74]
mov dword [esp + 0x78], 0
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x40]
mov dword [esp + 0x78], 0x1ff0000
push eax
lea eax, [esp + 0x80]
push eax
push dword [esp + 0x28]
push dword [edi + 0x1054]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push dword [esp + 0x24]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov esi, dword [esp + 0x1c]
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [esp + 0xc]
push dword [edi + 0x1054]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DeleteDC]
test esi, esi
je 0x1003136e
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.10056351
mov esp, ebp
pop ebp
ret 0xc