Function at 0x10008e87
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
push edi
push 0x10006788
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push 0x100067a0
push ebx
mov dword [esp + 0x28], ebx
call esi
test eax, eax
je 0x10008eba
push 0xfffffffffffffffc
call eax
push 0x100067c0
push ebx
call esi
push 0x100067dc
push ebx
mov dword [0x10021214], eax
call esi
xor edi, edi
mov dword [0x10021210], eax
push edi
lea eax, [esp + 0x28]
mov dword [esp + 0x10], edi
push eax
xor ebx, ebx
mov dword [esp + 0x30], edi
lea eax, [esp + 0x14]
mov dword [esp + 0x34], edi
inc ebx
mov dword [esp + 0x38], edi
push eax
mov dword [esp + 0x30], ebx
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
call fcn.1000a310
mov ecx, 0x100067f0
mov dword [0x10021450], eax
call fcn.1000a377
mov ecx, 0x10006878
call fcn.1000a377
push 0x18
call fcn.1000e72b
push 3
pop esi
push esi
mov ecx, eax
mov dword [esp + 0x24], eax
call fcn.1000a4c8
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], eax
push ecx
mov ecx, eax
mov dword [esp + 0x18], edi
call fcn.1000a522
push 0x18
mov dword [esp + 0x14], eax
call fcn.1000e72b
push 2
mov ecx, eax
mov dword [esp + 0x24], eax
call fcn.1000a4c8
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov eax, 0x10021218
xchg dword [eax], ecx
push edi
push edi
push edi
push 0x100099bf
push edi
push edi
mov dword [0x1002144c], 0x1312d00
call fcn.10011fa9
add esp, 0x18
mov dword [esp + 0x14], eax
mov eax, dword [0x10021450]
xorps xmm0, xmm0
movlpd qword [esp + 0x5c], xmm0
movlpd qword [esp + 0x68], xmm0
push 0x7f00
push edi
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x80], xmm0
mov dword [esp + 0x58], 0x30
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], 0x10009759
mov dword [esp + 0x6c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x6c], eax
mov esi, 0x10006920
mov dword [esp + 0x70], 6
mov dword [esp + 0x74], edi
lea eax, [esp + 0x50]
mov dword [esp + 0x78], esi
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push edi
push dword [0x10021450]
push edi
push edi
push 0x188
push 0x28a
push edi
push 0x80000000
push 0xcf0000
push 0x10006940
push esi
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x2000008
call esi
mov edi, eax
test edi, edi
je 0x10009201
xor eax, eax
mov dword [0x10021438], edi
push eax
push dword [0x10021450]
push eax
push edi
push 0xa
push 0x14
push eax
push eax
push 0x50000000
push eax
push 0x1000696c
push eax
call esi
mov esi, dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x1000697c
push eax
mov dword [0x10021434], eax
call esi
xor eax, eax
push eax
push dword [0x10021450]
push eax
push edi
push 0x32
push 0x64
push eax
push eax
push 0x50200844
push eax
push 0x10006990
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
push dword [esp + 0x10]
mov dword [0x10021430], eax
push eax
call esi
xor eax, eax
push eax
push dword [0x10021450]
push 0x22b
push edi
push 0xa
push 0x14
push eax
push eax
push 0x54010001
push 0x10006d78
push 0x1000699c
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x100069ac
push eax
mov dword [0x1002142c], eax
call esi
xor esi, esi
push esi
push dword [0x10021450]
push esi
push edi
push 0x32
push 0x64
push esi
push esi
push 0x40000000
push esi
push 0x100069c0
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x27100000
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x401
push eax
mov dword [0x1002121c], eax
call esi
push 0
push ebx
push 0x410
push dword [0x1002121c]
call esi
push 0
push 0
push 0x402
push dword [0x1002121c]
call esi
mov ecx, edi
call fcn.100096a1
mov ecx, edi
call fcn.100092d5
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
xor edi, edi
jmp 0x10009170
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
push edi
push edi
lea eax, [esp + 0x40]
push eax
call esi
test eax, eax
jne 0x1000915a
mov eax, 0x10021218
xchg dword [eax], ebx
call fcn.10008e30
push 0x2710
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100091ab
push 0x18
push eax
call fcn.1000e75b
pop ecx
pop ecx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100091bd
push 0x18
push eax
call fcn.1000e75b
pop ecx
pop ecx
mov eax, dword [0x10021440]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x100091cf
push eax
call esi
mov eax, dword [0x10021444]
test eax, eax
je 0x100091db
push eax
call esi
mov eax, dword [0x1002143c]
test eax, eax
je 0x100091e7
push eax
call esi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0xc], edi
je 0x10009201
push dword [esp + 0xc]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret