Function at 0x4159d0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x4cd00c]
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 0x4d6b40
push 0x67
push edi
call esi
push 0x64
push 0x4d6a70
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], 0x415c50
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], 0x4d6a70
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 0x4d6b40
push 0x4d6a70
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x415b43
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 0x4b8430
push 1
push 0
push 0x4b8440
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x415b1e
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x415b1e
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]
mov dword [0x4d6b3c], esi
jmp 0x415b49
mov esi, dword [0x4d6b3c]
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0
push eax
push 0
push esi
push 0x415630
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x415b74
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x6d
push edi
mov dword [0x4d6b38], 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 0x415be6
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop word [eax + eax]
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 0x415bd5
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 0x415bb0
mov edi, dword [0x4d6b38]
test edi, edi
je 0x415c2d
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, 0xa
nop dword [eax + eax]
push 0x2710
push edi
call ebx
cmp eax, 0x102
jne 0x415c16
mov eax, esi
dec esi
test eax, eax
jg 0x415c00
mov edi, dword [0x4d6b38]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4d6b38], 0
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00443db6
mov esp, ebp
pop ebp
ret 0x10