Function at 0x401c50
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x34
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x74]
push ebx
push 0x5475f0
push 3
push 0
push 0x5418d8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x401fd8
mov eax, dword [0x547570]
mov ecx, str.GGGGGGGGGGGGGG3333w
push ebp
push edi
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x401cc5
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
test edi, edi
je 0x401cc5
push edi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x401cc5
mov edx, dword [esp + 0x10]
inc edi
push edi
push str.GGGGGGGGGGGGGG3333w
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ecx, dword [ebx]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x401d0c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x401d0c
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0xc
mov ebx, eax
call edi
push eax
push 0xb
call edi
mov ebp, dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 1
push 0xec
push ebx
call ebp
push eax
mov eax, dword [esi + 4]
push 1
push 0x80
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x32
call edi
push eax
push 0x31
call edi
push eax
push 1
push 0xec
push ebx
call ebp
mov ecx, dword [esi + 4]
push eax
push 0
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0x554e04]
mov edi, eax
add edx, 0x1c
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x10], edi
mov edi, dword [0x55f438]
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.004052d0
cmp eax, 0xffffffff
jne 0x401dac
xor edi, edi
jmp 0x401db2
mov ecx, dword [edi + 4]
mov edi, dword [ecx + eax*4]
mov edx, dword [0x554e04]
add edx, 0x1c
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x401dcf
lea eax, [esi + 0x28]
mov dword [esp + 0x10], eax
jmp 0x401dd7
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [edi + 4]
call fcn.00446df0
mov eax, dword [esi + 0x3c]
test eax, eax
jne 0x401df6
mov edx, dword [esi + 0x30]
push 0
push edx
jmp 0x401fa5
mov eax, dword [esi + 0x50]
test eax, eax
je 0x401f78
mov ecx, esi
call fcn.00402540
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push ecx
call ebx
mov edx, dword [esi + 4]
push 0xfffffffffffffff0
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test edi, edi
mov ebp, eax
jne 0x401e46
test ebp, 0x40000000
je 0x401e38
mov eax, dword [esi + 4]
push eax
call ebx
jmp 0x401e44
mov ecx, dword [esi + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test ebp, 0x40000000
jne 0x401ebf
test edi, edi
je 0x401e7a
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x401e78
test eax, 0x20000000
je 0x401e7a
xor edi, edi
lea ecx, [esp + 0x24]
push 0
push ecx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test edi, edi
jne 0x401eb1
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jmp 0x401eec
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x401eec
mov ecx, dword [esi + 4]
push ecx
call ebx
mov ebp, dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x24]
mov ebx, eax
push edx
push ebx
call ebp
lea eax, [esp + 0x14]
push eax
push edi
call ebp
lea ecx, [esp + 0x14]
push 2
push ecx
push ebx
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
sub ebp, edx
mov edx, dword [esp + 0x1c]
sub ebx, edi
add eax, edx
cdq
sub eax, edx
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x18]
add eax, edx
cdq
sub eax, edx
mov edi, eax
mov eax, ebp
cdq
sub eax, edx
sar edi, 1
sar eax, 1
sub edi, eax
mov eax, dword [esp + 0x24]
cmp ecx, eax
jl 0x401f49
mov eax, dword [esp + 0x2c]
lea edx, [ecx + ebx]
cmp edx, eax
jle 0x401f4b
sub eax, ebx
mov ecx, eax
mov eax, dword [esp + 0x28]
cmp edi, eax
jl 0x401f60
mov eax, dword [esp + 0x30]
lea edx, [edi + ebp]
cmp edx, eax
jle 0x401f62
sub eax, ebp
mov edi, eax
mov eax, dword [esi + 4]
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x401fb4
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push ecx
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
mov edx, dword [esi + 4]
push 2
push edx
call edi
push 0
push eax
call ebx
push 0
push 0xc8
mov eax, dword [esi + 4]
push 0x309
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esi + 4]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
pop edi
and ecx, 0xfffffff7
pop ebp
cmp eax, ecx
je 0x401fd8
mov edx, dword [esi + 4]
push ecx
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop esi
xor eax, eax
pop ebx
add esp, 0x34
ret 0x10