Function at 0x42cf50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2bcd
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4e2018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1c]
mov ecx, 0x4f70c8
push eax
call fcn.0042d600
or ebx, 0xffffffff
mov ecx, dword [eax]
mov esi, dword [eax + 4]
cmp ecx, esi
je 0x42cff0
nop
cmp dword [ecx + 0x14], edi
je 0x42d072
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x42cfd4
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x42cfd0
nop dword [eax + eax]
cmp ecx, dword [eax + 8]
jne 0x42cfd0
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x42cfc0
mov ecx, eax
jmp 0x42cfec
mov ecx, eax
mov edx, dword [ecx]
cmp byte [edx + 0xd], 0
jne 0x42cfec
nop
mov eax, dword [edx]
mov ecx, edx
mov edx, eax
cmp byte [eax + 0xd], 0
je 0x42cfe0
cmp ecx, esi
jne 0x42cfa0
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00416960
add eax, 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042dbb0
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d033
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x4e67dc]
test eax, eax
je 0x42d04b
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42d16b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004983f2
add esp, 4
call fcn.004983d1
mov esi, eax
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x42d1a0
jmp 0x42d07c
mov esi, 0x80004005
jmp 0x42d16d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push 0x4c8cdc
push eax
call fcn.00403ab0
mov esi, dword [ebp - 0x14]
mov ecx, 0x4e67e0
mov edi, esi
add esp, 0xc
mov edx, 0x104
sub edi, ecx
nop
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x42d0ce
movzx eax, word [ecx + edi]
test ax, ax
je 0x42d0ce
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x42d0b0
lea eax, [ecx - 2]
mov dword [ebp - 0x4c], 0x30
test edx, edx
push 0x2c
cmovne eax, ecx
xor ecx, ecx
push ecx
mov word [eax], cx
lea eax, [ebp - 0x48]
push eax
call fcn.00488c10
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], 0x4e67e0
mov dword [ebp - 0x44], 0x42d4a0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [ebp - 0x38]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push str.CGeneralObserverMgrWnd
push dword [ebp - 0x24]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x4e67dc], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42d16b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42d18c
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404610
int3