Function at 0x436790
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x59cd88
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
cmp eax, 0x64
jne 0x436809
cmp dword [ebp + 0x20c], 0
je 0x436aaa
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x436aaa
mov ecx, dword [ebp + 4]
push 0x13
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x436aaa
cmp eax, 0x65
jne 0x4369b6
mov edx, dword [ebp + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x436aaa
xor eax, eax
mov ebx, 1
mov word [esp + 0x1c], ax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
test byte [0x660f48], bl
jne 0x43686b
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
or dword [0x660f48], ebx
mov ecx, 0x6285c4
call eax
add eax, 0x10
push 0x5a6200
mov dword [0x660f44], eax
call fcn.004f735c
add esp, 4
mov ecx, dword [0x660f44]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x436888
lea eax, [ebp + 0x278]
mov edi, 0x660f44
call fcn.00406fe0
mov esi, dword [0x6608c4]
add esi, ebx
cmp esi, 3
mov dword [0x6608c4], esi
jle 0x4368a3
mov esi, ebx
mov dword [0x6608c4], esi
xor edx, edx
test esi, esi
jle 0x4368ce
mov eax, 0x2e
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, esi
shr ecx, 1
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
adc ecx, ecx
cmp esi, 3
rep stosw word es:[edi], ax
mov edx, esi
jge 0x4368f5
mov eax, 0x20
movzx ebx, ax
mov esi, 3
sub esi, edx
mov eax, ebx
shl ebx, 0x10
or eax, ebx
mov ecx, esi
shr ecx, 1
lea edi, [esp + edx*2 + 0x1c]
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
add edx, esi
lea ecx, [esp + 0x14]
xor eax, eax
push 0x660f44
push ecx
lea ebx, [esp + 0x24]
mov word [esp + edx*2 + 0x24], ax
call fcn.00409940
add esp, 8
mov dword [esp + 0x34], 0
mov ecx, dword [eax]
mov esi, dword [ebp + 0x278]
lea edi, [ebp + 0x278]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x436976
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x43696b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x43696b
call fcn.004073f0
mov dword [esp + 0x18], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x436960
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x18]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x436976
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.004072f0
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43699e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 4]
push 0x105
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x436aaa
cmp eax, 0x66
jne 0x436aaa
mov edx, dword [ebp + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x436aaa
mov eax, 2
test byte [0x660f48], al
jne 0x436a08
or dword [0x660f48], eax
mov eax, dword [0x6285c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x6285c4
call edx
add eax, 0x10
push 0x5a61d0
mov dword [0x660f40], eax
call fcn.004f735c
add esp, 4
mov eax, dword [0x660f40]
cmp dword [eax - 0xc], 0
jne 0x436a23
lea eax, [ebp + 0x278]
mov edi, 0x660f40
call fcn.00406fe0
mov eax, dword [0x625e70]
test eax, eax
jl 0x436a62
mov ecx, dword [0x660f40]
push eax
push ecx
push str._s__d
lea edi, [ebp + 0x278]
call fcn.00407710
mov edx, dword [ebp + 4]
dec dword [0x625e70]
add esp, 0xc
push 0x105
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x436aaa
mov eax, dword [ebp + 4]
push 0x66
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov edi, 4
mov eax, ebp
call fcn.004361e0
mov ecx, dword [ebp + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
lea edx, [ebp + 0x310]
push edx
lea ecx, [ebp + 0x2fc]
push ecx
push 0x65d
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [ebp + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004f673f
add esp, 0x24
ret 8