Function at 0x403730
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 0x4b09d1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
mov eax, dword [0x4e2018]
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 [0x4e6768]
test edi, edi
jne 0x4037b2
push 0x128
call fcn.004865a5
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
push 0x128
push edi
push esi
mov dword [ebp - 4], edi
call fcn.00488c10
add esp, 0xc
mov ecx, esi
call fcn.00403230
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4e6768], edi
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x40398c
push 0xc0
mov dword [edi + 0xf0], 1
call fcn.004865a5
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
push 0xc0
push 0
push esi
mov dword [ebp - 4], 1
call fcn.00488c10
add esp, 0xc
mov ecx, esi
call fcn.004126f0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
push ecx
push 0x85
mov ecx, esi
mov dword [esi + 0x58], 2
call fcn.004123d0
movaps xmm0, xmmword [0x4d0040]
movups xmmword [esi + 0x6c], xmm0
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x74], eax
jge 0x403830
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x70]
cmp dword [esi + 0x78], eax
jge 0x40383b
mov dword [esi + 0x78], eax
cmp dword [edi + 0xf4], esi
je 0x40385f
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0xf4]
mov dword [edi + 0xf4], esi
test eax, eax
je 0x40385f
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 0x403883
push 0
push 0
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_SetWindowRgn]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x4039b5
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 [0x4f7118]
test esi, esi
je 0x4038ba
lock inc dword [esi + 4]
mov esi, dword [0x4f7118]
mov ecx, dword [0x4f7114]
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 0x4c638c
push eax
call fcn.00403ab0
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 0x403910
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 0x403938
mov eax, ecx
lock xadd dword [esi + 4], eax
jne 0x403938
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x403938
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
sub esp, 8
movaps xmm0, xmmword [0x4d00c0]
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.0040ddd0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40398c
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.00486589
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.00404610
int3