Function at 0x41d0e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4c1054]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0
push 0
push 0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x41d13c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
mov esi, eax
call fcn.0047ed4d
push esi
push str.CreateEventW_failed___lu__n
push eax
call fcn.00416e60
add esp, 0x10
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00475473
mov esp, ebp
pop ebp
ret
push 0x1f4
lea eax, [ebp - 0x1f8]
push 0
push eax
call fcn.00477340
add esp, 0xc
mov dword [ebp - 0x1fc], 0x1f8
lea eax, [ebp - 0x1fc]
push 0
push eax
push 0x1f8
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
jne 0x41d1a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
mov esi, eax
call fcn.0047ed4d
push esi
push str.SystemParametersInfoW_failed___lu_
push eax
call fcn.00416e60
add esp, 0x10
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00475473
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [edi + 8], eax
test eax, eax
jne 0x41d1e1
push str.CreateFontIndirectW_failed_n
push 2
call fcn.0047ed4d
add esp, 4
push eax
call fcn.00416e60
add esp, 8
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00475473
mov esp, ebp
pop ebp
ret
push 0x65
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x41d223
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
mov esi, eax
call fcn.0047ed4d
push esi
push str.LoadIconW_failed___lu__n
push eax
call fcn.00416e60
add esp, 0x10
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00475473
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x10]
xorps xmm0, xmm0
push 0xf
mov dword [ebp - 0x224], 0
movlpd qword [ebp - 0x21c], xmm0
movlpd qword [ebp - 0x210], xmm0
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x220], 0x41d370
mov dword [ebp - 0x214], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x224]
push eax
mov dword [ebp - 0x200], str.GWToolbox_Window_Class
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x41d2bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x582
je 0x41d2bf
push eax
push str.RegisterClassW_failed___lu__n
push 2
call fcn.0047ed4d
add esp, 4
push eax
call fcn.00416e60
add esp, 0xc
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00475473
mov esp, ebp
pop ebp
ret
push edi
push dword [edi + 0x10]
push 0
push 0
push dword [edi + 0x28]
push dword [edi + 0x24]
push dword [edi + 0x20]
push dword [edi + 0x1c]
push 0xc80000
push dword [edi + 0x18]
push dword [ebp - 0x200]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push dword [edi + 0xc]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x80
push eax
mov dword [edi + 4], eax
call esi
push dword [edi + 0xc]
push 1
push 0x80
push dword [edi + 4]
call esi
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [edi + 4], 0
jne 0x41d34f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
mov esi, eax
call fcn.0047ed4d
push esi
push str.CreateWindowW_failed___lu__n
push eax
call fcn.00416e60
add esp, 0x10
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00475473
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00475473
mov esp, ebp
pop ebp
ret