Function at 0x40cec0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eef90
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x536014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov eax, dword [ecx + 0x414]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x40cf0b
push 0
push dword [eax + 0x25c]
call ebx
mov ecx, dword [ebp - 0x64]
mov esi, dword [ecx + 0x410]
mov dword [ecx + 0x410], 0
mov dword [ecx + 0x40c], 0
test esi, esi
je 0x40cf4a
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40cf4a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x40cf4a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0
push 1
push dword [0x53c734]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push dword [0x53c734]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x64]
push str.PdfReader
push dword [esi + 0x25c]
call dword [sym.imp.USER32.dll_RemovePropW]
push 0
push dword [esi + 0x25c]
call ebx
mov ebx, esi
mov esi, dword [ebx + 0x3f4]
cmp esi, dword [ebx + 0x3f8]
je 0x40d163
lea edi, [esi + 0x38]
nop dword [eax + eax]
xor eax, eax
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], eax
mov word [ebp - 0x44], ax
mov dword [ebp - 4], eax
mov al, byte [edi - 4]
mov byte [ebp - 0x48], al
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x44]
cmp eax, edi
je 0x40cfe4
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00406dc0
lea eax, [edi - 0x1c]
lea ecx, [ebp - 0x60]
cmp ecx, eax
je 0x40cffb
push 0xffffffffffffffff
push 0
lea eax, [edi - 0x1c]
push eax
call fcn.00406dc0
push 9
xor eax, eax
mov dword [ebp - 0x14], 7
push str.pdfreader
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407340
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00447730
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40d084
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x7fffffff
ja 0x40d1a5
add eax, eax
cmp eax, 0x1000
jb 0x40d07b
test cl, 0x1f
jne 0x40d1a5
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x40d1a5
sub ecx, eax
cmp ecx, 4
jb 0x40d1a5
cmp ecx, 0x23
ja 0x40d1a5
mov ecx, eax
push ecx
call fcn.00466902
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x64
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x40d0fa
mov ecx, dword [ebp - 0x44]
inc eax
cmp eax, 0x7fffffff
ja 0x40d1a5
add eax, eax
cmp eax, 0x1000
jb 0x40d0f1
test cl, 0x1f
jne 0x40d1a5
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x40d1a5
sub ecx, eax
cmp ecx, 4
jb 0x40d1a5
cmp ecx, 0x23
ja 0x40d1a5
mov ecx, eax
push ecx
call fcn.00466902
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], 0
cmp eax, 8
jb 0x40d151
mov ecx, dword [ebp - 0x60]
inc eax
cmp eax, 0x7fffffff
ja 0x40d1a5
add eax, eax
cmp eax, 0x1000
jb 0x40d148
test cl, 0x1f
jne 0x40d1a5
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x40d1a5
sub ecx, eax
cmp ecx, 4
jb 0x40d1a5
cmp ecx, 0x23
ja 0x40d1a5
mov ecx, eax
push ecx
call fcn.00466902
add esp, 4
add esi, 0x6c
add edi, 0x6c
cmp esi, dword [ebx + 0x3f8]
jne 0x40cfa0
push 0
mov ecx, 1
call fcn.00412de0
add esp, 4
push 0x53c738
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [ebx + 0x250]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::DestroyWindow_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00466907
mov esp, ebp
pop ebp
ret
call fcn.004ab969
int3