Function at 0x403890
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1e11
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
mov eax, dword [0x4e4018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x4e8778]
test edi, edi
jne 0x403912
push 0x130
call fcn.0048784a
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
push 0x130
push edi
push esi
mov dword [ebp - 4], edi
call fcn.00489ec0
add esp, 0xc
mov ecx, esi
call fcn.00403360
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4e8778], edi
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x403aec
push 0xc0
mov dword [edi + 0xf0], 1
call fcn.0048784a
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
push 0xc0
push 0
push esi
mov dword [ebp - 4], 1
call fcn.00489ec0
add esp, 0xc
mov ecx, esi
call fcn.00412840
mov esi, eax
mov dword [ebp - 4], 0xffffffff
push ecx
push 0x85
mov ecx, esi
mov dword [esi + 0x58], 2
call fcn.00412520
movaps xmm0, xmmword [0x4d2590]
movups xmmword [esi + 0x6c], xmm0
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x74], eax
jge 0x403990
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x70]
cmp dword [esi + 0x78], eax
jge 0x40399b
mov dword [esi + 0x78], eax
cmp dword [edi + 0xf4], esi
je 0x4039bf
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0xf4]
mov dword [edi + 0xf4], esi
test eax, eax
je 0x4039bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [edi + 0x38]
mov dword [edi + 0xc8], 0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4039e3
push 0
push 0
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_SetWindowRgn]
call fcn.00404a90
mov ecx, eax
test ecx, ecx
je 0x403b15
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 2
mov esi, dword [0x4f9128]
test esi, esi
je 0x403a1a
lock inc dword [esi + 4]
mov esi, dword [0x4f9128]
mov ecx, dword [0x4f9124]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 3
lea edx, [ebp - 0x1c]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 8]
call eax
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp - 0x18]
push 0x4c839c
push eax
call fcn.00403d00
mov byte [ebp - 4], 3
or ecx, 0xffffffff
mov edx, dword [ebp - 0x1c]
add esp, 0xc
add edx, 0xfffffff0
mov eax, ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403a70
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov byte [ebp - 4], 2
test esi, esi
je 0x403a98
mov eax, ecx
lock xadd dword [esi + 4], eax
jne 0x403a98
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x403a98
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
sub esp, 8
movaps xmm0, xmmword [0x4d2610]
mov eax, esp
push 0x40000
push SysReAllocString
push esi
push ecx
mov dword [eax], 0
lea ecx, [ebp - 0x2c]
mov eax, esp
movups xmmword [ebp - 0x2c], xmm0
push 0
mov dword [eax], ecx
mov ecx, edi
call fcn.0040df20
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x403aec
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 1
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048782e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.00404860
int3