Function at 0x4088a0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x120]
sub eax, 0x10
push eax
call fcn.00401910
mov esi, eax
mov eax, dword [esi + 4]
add esi, 0x10
add esp, 4
test eax, eax
mov dword [esp + 8], esi
jne 0x4087d0
push eax
mov eax, dword [edi + 4]
push 0x425ea0
push 0x425e78
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408854
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
pop ecx
ret
lea ecx, [eax - 1]
test ecx, ecx
jl 0x40888d
cmp ecx, eax
jg 0x40888d
cmp word [esi + ecx*2], 0x5c
je 0x4087f9
push 0x5c
lea ecx, [esp + 0xc]
call fcn.00402ca0
mov esi, dword [esp + 8]
cmp dword [esi - 0xc], 0
jl 0x408878
push 0x425ea4
push esi
call fcn.00413f0f
add esp, 8
test eax, eax
je 0x408878
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x408878
test eax, eax
je 0x408878
add eax, 2
push eax
push 0x425564
lea ecx, [esp + 0x10]
call fcn.00401750
cmp eax, 0xffffffff
push 0
jne 0x408858
mov ecx, dword [edi + 4]
push 0x425ea0
push 0x425e78
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 8]
call fcn.00401c80
pop edi
pop esi
pop ecx
ret
push 0
push 0
push 0x408640
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 8]
call fcn.00401c80
pop edi
pop esi
pop ecx
ret
mov edx, dword [edi + 4]
push 0
push 0x425ea0
push 0x425e78
push edx
jmp 0x4087a6
push 0x80070057
call fcn.00401000
int3
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenEventW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push edi
mov esi, ecx
push 0x4253c4
xor edi, edi
push edi
push 0x1f0003
call ebx
test eax, eax
je 0x4088cd
push eax
mov edi, 1
call ebp
push 0x425380
push 0
push 0x1f0003
call ebx
test eax, eax
je 0x4088e4
push eax
call ebp
jmp 0x4088e9
cmp edi, 1
jne 0x408909
mov eax, dword [esi + 4]
push 5
push 0x425f20
push 0x425ee8
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 2
jne 0x4088b2
pop edi
pop esi
pop ebp
pop ebx
ret
cmp dword [esi + 0x154], 1
jne 0x408957
mov ecx, dword [esi + 0x68]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x408957
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.0040cd20
mov ecx, edi
mov dword [esi + 0x144], eax
call fcn.0040cd60
mov ecx, edi
mov dword [esi + 0x148], eax
call fcn.0040cda0
mov ecx, edi
mov dword [esi + 0x14c], eax
call fcn.0040cde0
mov dword [esi + 0x150], eax
mov edx, dword [esi + 0x44]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
mov dword [esi + 0x158], 3
call edi
mov eax, dword [esi + 0x68]
push 0
push eax
call edi
mov ecx, dword [esi + 0xc4]
push 5
push ecx
call edi
mov edx, dword [esi + 0xec]
push 0
push edx
call edi
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ec
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push eax
call ebx
mov ecx, dword [esi + 4]
push 0x3ea
push ecx
call edi
push 0
push eax
call ebx
mov edx, dword [esi + 4]
push 2
push edx
call edi
push 0
push eax
call ebx
pop edi
mov ecx, esi
pop esi
pop ebp
pop ebx
jmp 0x408770