Function at 0x41d610
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497a70
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 4]
push 0xfffffffffffffffc
push eax
mov dword [ebx + 0x48], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x7f00
push 0
mov dword [ebx + 0x4c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
push 0xfffffffffffffff4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
mov eax, dword [ebx + 0x28]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x41d67c
push eax
call edi
mov dword [ebx + 0x28], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x68
push 0
call esi
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0xfffffffffffffff2
push dword [ebx + 4]
mov dword [ebx + 0x28], eax
call dword [sym.imp.USER32.dll_SetClassLongW]
push 0x65
push 0
call esi
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov esi, eax
lea eax, [ebp - 0x30]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [ebx + 0x26c], eax
cdq
idiv ecx
push esi
mov dword [ebx + 0x270], ecx
mov dword [ebx + 0x264], eax
mov dword [ebx + 0x268], 0x65
call edi
lea eax, [ebp - 0x14]
mov dword [ebx + 0x260], 0xc8
push eax
lea ecx, [ebx + 0x278]
mov dword [ebp - 0x14], 4
call fcn.00430670
lea ecx, [ebx + 0x278]
mov dword [eax], 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 6
call fcn.00430670
lea ecx, [ebx + 0x278]
mov dword [eax], 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0xa
call fcn.00430670
lea ecx, [ebx + 0x278]
mov dword [eax], 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0xb
call fcn.00430670
lea ecx, [ebx + 0x278]
mov dword [ebp - 0x18], 0xf
mov dword [eax], 0
lea eax, [ebp - 0x18]
push eax
call fcn.00430670
lea ecx, [ebx + 0x25c]
mov dword [eax], 0
push dword [ebx + 4]
call fcn.004302e0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetSystemMenu]
lea ecx, [ebx + 0x280]
mov dword [ebx + 0x284], eax
call fcn.0041c7c0
mov ecx, ebx
call fcn.0041e0d0
mov eax, dword [vtable.LocalMutex.0]
mov ecx, 0x4cd5f8
call dword [eax + 4]
mov dword [ebp - 4], 0
mov ecx, 0x4cd5f8
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [0x4d01a4]
mov eax, dword [esi + 0x6c]
lea ecx, [esi + 0x6c]
call dword [eax + 4]
mov al, byte [esi + 0x10]
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 1
lea ecx, [esi + 0x6c]
mov eax, dword [esi + 0x6c]
call dword [eax + 8]
cmp byte [ebp - 0xd], 0
jne 0x41d811
push 0
push dword [ebx + 0x274]
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebx + 0x301], 0
push 0x81
lea ecx, [ebx + 0x280]
call fcn.0042f110
cmp eax, 0xffffffff
je 0x41d843
xor ecx, ecx
cmp byte [ebp - 0xd], cl
setne cl
lea ecx, [ecx*8 + 0x400]
push ecx
push eax
push dword [ebx + 0x284]
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4