Function at 0x40e61d
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push 0x70
mov eax, 0x42b491
call fcn.00428767
mov ebx, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x44], eax
or esi, 0xffffffff
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x29], cl
mov dword [ebp - 0x6c], esi
mov dword [ebp - 4], ecx
cmp dword [ebx + 0x28], ecx
jne 0x40ec1e
cmp dword [ebx + 0x24], ecx
jne 0x40ec1e
cmp dword [ebx + 0xc], ecx
jne 0x40ec1e
mov eax, dword [ebp + 0x14]
lea edx, [ebx + 0x10]
push ecx
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x20]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], ecx
push eax
push 0x42cd48
push ecx
call fcn.00403049
add esp, 0x14
test al, al
je 0x40ec1e
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x40ec1e
xor eax, eax
lea edx, [ebp - 0x3c]
mov edi, eax
mov dword [ebp - 0x3c], eax
push edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx]
push 0x42ccc8
push ecx
mov dword [ebp - 0x74], edi
call dword [eax]
test eax, eax
je 0x40e6d0
and dword [ebp - 0x3c], edi
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x38]
push edx
push 0x42cb98
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
je 0x40e6e8
and dword [ebp - 0x38], edi
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x60]
push edx
push 0x42cbe8
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
je 0x40e700
and dword [ebp - 0x60], edi
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x64]
push edx
push 0x42cbc8
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
je 0x40e718
and dword [ebp - 0x64], edi
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x54]
push edx
push 0x42cd28
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
je 0x40e730
and dword [ebp - 0x54], edi
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x48]
push edx
push 0x42cd58
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
je 0x40e748
and dword [ebp - 0x48], edi
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x50]
push edx
push 0x42cd68
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
je 0x40e760
and dword [ebp - 0x50], edi
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x4c]
push edx
push 0x42cd38
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
je 0x40e778
and dword [ebp - 0x4c], edi
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x40e795
mov eax, dword [ecx]
push 0xffffff
push ecx
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x54]
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp dword [ebp - 0x50], edi
je 0x40e7e4
mov ecx, dword [ebx + 0xc]
xor edx, edx
cmp dword [ecx + 0x34], edx
jne 0x40e7a9
cmp dword [ebp - 0x48], edx
jne 0x40e7ef
sub esp, 0xc
mov dword [ebp - 0x40], edx
lea eax, [ebp - 0x40]
push eax
call fcn.00410e5c
test al, al
je 0x40eb3b
cmp dword [ebp - 0x40], edi
je 0x40eb3b
mov ecx, dword [ebp - 0x50]
push 0
push dword [ebp - 0x40]
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x40eb3b
jmp 0x40e9e1
cmp dword [ebp - 0x48], edi
je 0x40e89b
xor edx, edx
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
push 7
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
pop edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edi
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
mov ecx, dword [ebx + 0xc]
push eax
call fcn.00410e24
test al, al
je 0x40e84d
cmp dword [ebp - 0x18], 0
je 0x40e84d
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jbe 0x40e83a
mov eax, dword [ebp - 0x28]
push 0
push eax
push ecx
call edx
test eax, eax
je 0x40e849
cmp eax, 1
jne 0x40e84d
mov byte [ebp - 0x29], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, edi
jbe 0x40e889
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e880
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ec41
push ecx
push edx
call fcn.0041206d
pop ecx
pop ecx
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], edi
mov word [ebp - 0x28], ax
jmp 0x40e9d4
cmp dword [ebp - 0x4c], edi
je 0x40eb37
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
xor ecx, ecx
push 7
mov dword [ebp - 0x40], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
pop edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edi
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
mov ecx, dword [ebx + 0xc]
push eax
call fcn.00410e24
test al, al
je 0x40e9c8
cmp dword [ebp - 0x18], 0
je 0x40e9c8
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x40e9c8
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x40e9c8
and dword [ebp - 0x68], eax
cmp dword [ebp - 0x18], 0x2328
jae 0x40e9c2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jbe 0x40e926
mov eax, dword [ebp - 0x28]
push 0
lea edi, [ebp - 0x68]
push edi
push 0
push eax
push 0
push 0
push ecx
call edx
test eax, eax
jne 0x40e9bf
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
test eax, eax
je 0x40e9bf
and dword [ebp - 0x5c], 0
push 0x434bfc
mov dword [ebp - 0x58], 0x80004005
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x40e9b6
push str.SHCreateShellItem
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e984
lea ecx, [ebp - 0x5c]
push ecx
push dword [ebp - 0x78]
push 0
push 0
call eax
mov dword [ebp - 0x58], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x58], 0
jne 0x40e9b6
cmp dword [ebp - 0x5c], 0
je 0x40e9b6
mov ecx, dword [ebp - 0x4c]
push 0
push dword [ebp - 0x5c]
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov edi, eax
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test edi, edi
sete byte [ebp - 0x29]
push dword [ebp - 0x68]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00402dc7
cmp byte [ebp - 0x29], 0
mov edi, dword [ebp - 0x74]
je 0x40eb3b
cmp dword [ebp - 0x3c], 0
mov byte [ebp - 0x29], 0
jne 0x40e9f1
cmp dword [ebp - 0x38], 0
je 0x40ea25
push 0x6c
call fcn.00412080
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 3
mov ecx, eax
push dword [ebp - 0x7c]
push dword [ebp - 0x44]
push dword [ebx + 4]
call fcn.00402e81
mov edi, eax
mov byte [ebp - 4], 0
push dword [ebp - 0x38]
mov ecx, edi
call fcn.0040301c
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x5c], eax
push 0xfffffffffffffff0
push dword [ebp - 0x44]
mov byte [ebp - 0x31], 1
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
jne 0x40ea41
mov byte [ebp - 0x31], 0
jmp 0x40ea4c
push 0
push dword [ebp - 0x44]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x30]
push dword [ebp - 0x70]
push dword [ebp - 0x44]
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
test eax, eax
je 0x40ea68
cmp eax, 1
jne 0x40eb00
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x40ea85
test edi, edi
je 0x40ea81
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x40ea97
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jne 0x40ea97
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x40ea97
test edi, edi
je 0x40ea97
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0xc]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x40eafc
push dword [ebp - 0x44]
lea eax, [ebp - 0x58]
push eax
call fcn.0040ed67
mov byte [ebp - 4], 4
cmp dword [eax], 0xffffffff
je 0x40eac2
or dword [ebp - 0x6c], 0xffffffff
mov esi, dword [eax]
mov dword [ebp - 0x6c], esi
or dword [eax], 0xffffffff
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x40eadc
cmp eax, 0xffffffff
je 0x40eadc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x58], 0xffffffff
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jne 0x40eaee
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x40eb00
test edi, edi
je 0x40eb00
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0xc]
jmp 0x40eb00
mov byte [ebp - 0x29], 1
cmp byte [ebp - 0x31], 0
je 0x40eb11
push 5
push dword [ebp - 0x44]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp - 0x29], 0
je 0x40eb3b
mov ecx, dword [ebp - 0x30]
push dword [ebp - 0x70]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x10]
push 0x481
push 0
push 0
push dword [ebp - 0x44]
call dword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x40eb3b
mov byte [ebp - 0x29], 0
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x40eb48
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x40eb55
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x40eb62
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x40eb6f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp byte [ebp - 0x29], 0
jne 0x40ebfd
mov byte [ebx + 8], 1
test edi, edi
je 0x40eb88
mov ecx, edi
call fcn.00402ffb
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x40eb95
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x40eba2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x40ebaf
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x40ebbc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test edi, edi
je 0x40ebe5
push 0
mov ecx, edi
call fcn.0040301c
mov eax, dword [edi]
and dword [edi + 0x5c], 0
push edi
call dword [eax + 8]
mov byte [ebx + 0x20], 0
test esi, esi
je 0x40ec1e
cmp esi, 0xffffffff
je 0x40ec1e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x40ec1e
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x64]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x24], edi
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x40ec32
cmp esi, 0xffffffff
je 0x40ec32
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x6c], 0xffffffff
mov al, byte [ebp - 0x29]
call fcn.00428725
ret 0x1c
call fcn.00415a4c
int3