Function at 0x412eb0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x4cc00c]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, dword [ebp + 8]
push 0x64
push 0x4d5980
push 0x67
push edi
call esi
push 0x64
push 0x4d58b0
push 0x6d
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x6b
push edi
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], 0x413130
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], edi
call esi
push 0x7f00
push 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6c
push dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 6
mov dword [esp + 0x38], 0x6d
mov dword [esp + 0x3c], 0x4d58b0
call esi
mov dword [esp + 0x38], eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push edi
push 0
push 0
push 0
push SysReAllocString
push 0
push SysReAllocString
push 0xcf0000
push 0x4d5980
push 0x4d58b0
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x412fa9
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00441dc6
mov esp, ebp
pop ebp
ret 0x10
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffbffff
or eax, 0x80080
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0
push eax
push 0x4b6420
push 1
push 0
push 0x4b6430
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41300e
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x41300e
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov eax, dword [esp + 0x58]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x58]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 2
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 2
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
lea eax, [esp + 0x58]
mov dword [0x4d597c], esi
push eax
push 0
push esi
push 0x4127b0
push 0
push 0
mov dword [esp + 0x70], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x41305c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x6d
push edi
mov dword [0x4d5978], esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [esp + 0x60], eax
lea eax, [esp + 0x44]
push 0
push eax
call esi
test eax, eax
je 0x4130c8
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x5c]
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4130b7
lea eax, [esp + 0x3c]
push eax
call edi
lea eax, [esp + 0x3c]
push eax
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x48]
push eax
call esi
test eax, eax
jne 0x413092
mov edi, dword [0x4d5978]
test edi, edi
je 0x41310d
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, 0xa
nop dword [eax]
push 0x2710
push edi
call ebx
cmp eax, 0x102
jne 0x4130f6
mov eax, esi
dec esi
test eax, eax
jg 0x4130e0
mov edi, dword [0x4d5978]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4d5978], 0
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00441dc6
mov esp, ebp
pop ebp
ret 0x10