Function at 0x4084d0
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.00401950
mov esi, eax
mov eax, dword [esi + 4]
add esi, 0x10
add esp, 4
test eax, eax
mov dword [esp + 8], esi
jne 0x408400
push eax
mov eax, dword [edi + 4]
push 0x423f38
push 0x423f10
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 0x408484
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 0x4084bd
cmp ecx, eax
jg 0x4084bd
cmp word [esi + ecx*2], 0x5c
je 0x408429
push 0x5c
lea ecx, [esp + 0xc]
call fcn.00402ce0
mov esi, dword [esp + 8]
cmp dword [esi - 0xc], 0
jl 0x4084a8
push 0x423f3c
push esi
call fcn.004128cc
add esp, 8
test eax, eax
je 0x4084a8
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4084a8
test eax, eax
je 0x4084a8
add eax, 2
push eax
push 0x423558
lea ecx, [esp + 0x10]
call fcn.00401790
cmp eax, 0xffffffff
push 0
jne 0x408488
mov ecx, dword [edi + 4]
push 0x423f38
push 0x423f10
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 8]
call fcn.00401c40
pop edi
pop esi
pop ecx
ret
push 0
push 0
push 0x408270
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 8]
call fcn.00401c40
pop edi
pop esi
pop ecx
ret
mov edx, dword [edi + 4]
push 0
push 0x423f38
push 0x423f10
push edx
jmp 0x4083d6
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 0x4233bc
xor edi, edi
push edi
push 0x1f0003
call ebx
test eax, eax
je 0x4084fd
push eax
mov edi, 1
call ebp
push 0x423378
push 0
push 0x1f0003
call ebx
test eax, eax
je 0x408514
push eax
call ebp
jmp 0x408519
cmp edi, 1
jne 0x408539
mov eax, dword [esi + 4]
push 5
push 0x423fb8
push 0x423f80
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 2
jne 0x4084e2
pop edi
pop esi
pop ebp
pop ebx
ret
cmp dword [esi + 0x154], 1
jne 0x408587
mov ecx, dword [esi + 0x68]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x408587
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.0040c8f0
mov ecx, edi
mov dword [esi + 0x144], eax
call fcn.0040c930
mov ecx, edi
mov dword [esi + 0x148], eax
call fcn.0040c970
mov ecx, edi
mov dword [esi + 0x14c], eax
call fcn.0040c9b0
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 0x4083a0