Function at 0x4068c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4395b6
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x44a03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x68
lea eax, [ebp - 0x40]
push 0x65
push eax
call fcn.00404870
add esp, 0xc
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
or eax, 0xffffffff
mov dword [edi], ecx
mov esi, dword [edi + 4]
mov dword [edi + 4], edx
test esi, esi
je 0x406943
lock xadd dword [esi + 4], eax
jne 0x406940
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [esi + 8], eax
jne 0x406940
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x406969
lock xadd dword [esi + 4], eax
jne 0x406969
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x406969
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x43b6b0
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x14], eax
mov ecx, dword [edi]
push eax
add ecx, 0x58
mov dword [ebp - 4], 0
call fcn.004030e0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4069a3
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x43b6c8
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x14], eax
mov esi, dword [edi]
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 1
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], 0
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00407150
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
call fcn.00401c60
mov ecx, dword [ebp - 0x44]
add esp, 4
mov dword [ebp - 0x74], eax
test ecx, ecx
je 0x406a15
mov edx, dword [ecx]
lea eax, [ebp - 0x68]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 5
push eax
push 0x111
mov ecx, esi
call fcn.00409390
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0x406a47
mov edx, dword [ecx]
lea eax, [ebp - 0x98]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x406a5f
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x43b6e0
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x14], eax
mov ecx, dword [edi]
push eax
add ecx, 0xa8
mov dword [ebp - 4], 6
call fcn.004030e0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x406a9c
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x43b6f8
mov dword [ebp - 0x14], eax
mov ecx, dword [edi]
push eax
sub ecx, 0xffffff80
mov dword [ebp - 4], 7
call fcn.004030e0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x406ad3
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
push 0x69
push 0
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov esi, dword [edi]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x406aff
call fcn.0040e5ba
mov dword [esi + 0x14], eax
test eax, eax
jne 0x406aff
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x406b6b
push 0
push 0
push eax
call fcn.0040e6bc
lea eax, [esi + 8]
test eax, eax
je 0x406c11
test esi, esi
je 0x406c11
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x44a004
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x44a01c]
lea ecx, [esi + 8]
mov dword [ecx + 8], eax
push 0x44a004
mov dword [0x44a01c], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, word [esi + 0xd4]
push 0
push 0x406dc0
push 0
push eax
push dword [0x44c230]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov eax, dword [edi]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi]
xorps xmm0, xmm0
push 0
push 0
push 0
mov esi, dword [eax + 4]
lea eax, [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x406bf4
mov edi, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
nop word [eax + eax]
cmp eax, 0xffffffff
je 0x406bf4
test esi, esi
je 0x406bcc
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x406bcc
lea ecx, [ebp - 0x2c]
push ecx
push eax
push esi
call edi
test eax, eax
jne 0x406be0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x406bb0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ed5f
mov esp, ebp
pop ebp
ret
push 1
push 0xc0000005
call fcn.00406fe0
int3