Function at 0x40830f
Capabilities:
Acquire debug privileges
Check for time delay via gettickcount
Check mutex on windows
Create process on windows
Read file via mapping
Resume thread

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x11c
push ebx
push esi
push edi
push 0xffffffffffffffff
xor ebx, ebx
push 0xffffffffffffffff
mov esi, eax
mov byte [ebp + 0x6f], 1
mov byte [ebp + 0x6d], 1
mov byte [ebp + 0x14], bl
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_SetProcessWorkingSetSize]
xor eax, eax
mov dword [ebp - 0xc], ebx
lea edi, [ebp - 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xf
pop ecx
xor eax, eax
mov dword [ebp - 0x94], 0x44
mov dword [ebp - 0x90], ebx
lea edi, [ebp - 0x8c]
rep stosd dword es:[edi], eax
or byte [ebp - 0x68], 0x80
mov ecx, esi
mov dword [ebp + 0x70], esi
call fcn.00403fd7
mov dword [ebp + 0x70], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp + 0x6e], bl
mov byte [ebp + 0x6a], bl
mov byte [ebp + 0x6b], bl
mov byte [ebp + 0x6c], bl
mov dword [ebp + 0x20], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp + 0x58], ebx
mov byte [ebp + 0x57], bl
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x48], bl
mov ecx, eax
jmp 0x408799
push 2
lea eax, [ebp + 0x70]
push eax
push 0x4a4610
call fcn.0043f0e5
add esp, 0xc
test al, al
jne 0x4087ba
push 3
lea eax, [ebp + 0x70]
push eax
push 0x4a460c
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x4083dc
mov byte [ebp + 0x6a], 1
jmp 0x408796
push 5
lea eax, [ebp + 0x70]
push eax
push str.__usr
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x4083fc
mov byte [ebp + 0x6b], 1
jmp 0x408796
push 5
lea eax, [ebp + 0x70]
push eax
push str.__svr
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x40841f
mov dword [ebp + 0x58], 1
jmp 0x408796
push 6
pop edi
push edi
lea eax, [ebp + 0x70]
push eax
push str.__desk
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x408441
mov byte [ebp + 0x6c], 2
jmp 0x408796
push 7
lea eax, [ebp + 0x70]
push eax
push str.__desk_
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x408460
mov byte [ebp + 0x6c], bl
jmp 0x408796
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
push edi
push dword [ebp + 0x70]
push str.__ack:
call esi
test eax, eax
jne 0x4084b0
add dword [ebp + 0x70], 0xc
mov esi, dword [ebp + 0x70]
lea eax, [ebp + 0x70]
push eax
mov dword [ebp + 0x20], esi
call fcn.00405061
pop ecx
mov ecx, dword [ebp + 0x70]
mov eax, ecx
sub eax, esi
sar eax, 1
mov dword [ebp - 0x4c], eax
call fcn.00403ed5
mov dword [ebp + 0x70], eax
mov byte [ebp + 0x6a], 1
mov byte [ebp + 0x6d], bl
mov byte [ebp + 0x6f], 1
mov dword [ebp - 0x68], ebx
jmp 0x408796
push edi
push dword [ebp + 0x70]
push str.__exe:
call esi
test eax, eax
jne 0x4084f2
add dword [ebp + 0x70], 0xc
mov eax, dword [ebp + 0x70]
push 0x8d
mov dword [ebp + 0x3c], eax
lea eax, [ebp + 0x3c]
push ebx
push eax
call fcn.00418cf5
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x3c]
add esp, 0xc
cmp word [eax], bx
je 0x408796
mov dword [ebp - 0x28], eax
jmp 0x408796
push 5
lea eax, [ebp + 0x70]
push eax
push str.__job
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x408512
mov byte [ebp + 0x6d], 1
jmp 0x408796
push 7
lea eax, [ebp + 0x70]
push eax
push str.__nojob
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x408531
mov byte [ebp + 0x6d], bl
jmp 0x408796
push edi
lea eax, [ebp + 0x70]
push eax
push 0x4a45b4
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x408550
mov byte [ebp + 0x6e], 1
jmp 0x408796
push edi
lea eax, [ebp + 0x70]
push eax
push str.__wait
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x40856f
mov byte [ebp + 0x6f], 1
jmp 0x408796
push 7
lea eax, [ebp + 0x70]
push eax
push str.__waiti
call fcn.0043f0e5
add esp, 0xc
test al, al
jne 0x408796
push 8
lea eax, [ebp + 0x70]
push eax
push str.__nowait
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x4085a9
mov byte [ebp + 0x6f], bl
jmp 0x408796
push 0xa
lea eax, [ebp + 0x70]
push eax
push str.__idlewait
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x4085c9
mov byte [ebp + 0x57], 1
jmp 0x408796
push edi
lea eax, [ebp + 0x70]
push eax
push str.__idle
call fcn.0043f0e5
add esp, 0xc
test al, al
lea eax, [ebp + 0x70]
je 0x408600
lea edx, [ebp + 0x60]
mov dword [ebp + 0x60], ebx
call fcn.00403fea
test eax, eax
je 0x408796
mov eax, dword [ebp + 0x60]
mov dword [ebp - 0x18], eax
jmp 0x408796
push 0xa
push eax
push str.__killwin2
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x40861d
mov byte [ebp + 0x14], 1
jmp 0x408796
push 9
lea eax, [ebp + 0x70]
push eax
push str.__killwin
call fcn.0043f0e5
add esp, 0xc
test al, al
lea eax, [ebp + 0x70]
je 0x40865b
mov esi, dword [ebp + 0x70]
push eax
call fcn.00405061
mov eax, dword [ebp + 0x70]
pop ecx
sub eax, esi
push 0xffffffffffffffff
sar eax, 1
push eax
push esi
mov ecx, 0x4bdc5c
call fcn.0043d32d
jmp 0x408796
push 0xe
push eax
push str.__delayservice
call fcn.0043f0e5
add esp, 0xc
test al, al
lea eax, [ebp + 0x70]
je 0x4086c4
lea edx, [ebp + 0x60]
mov dword [ebp + 0x60], ebx
call fcn.00403fea
test eax, eax
je 0x408796
cmp dword [ebp + 0x7c], 1
jne 0x408796
mov esi, dword [ebp + 0x60]
lea eax, [esi + 0x63]
push 0x64
cdq
pop ecx
idiv ecx
mov edi, eax
jmp 0x4086aa
dec edi
js 0x4086b2
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp byte [0x4bc2c0], bl
jg 0x40869f
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, esi
mov dword [0x4bdbf0], eax
jmp 0x408796
push 0xa
push eax
push str.__idlequit
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x40877a
mov esi, dword [ebp + 0x70]
mov dword [ebp + 0x38], esi
xor eax, eax
jmp 0x4086f4
call fcn.004820ac
test al, al
jne 0x4086fc
inc esi
inc esi
mov dword [ebp + 0x70], esi
mov ax, word [esi]
cmp ax, bx
jne 0x4086e6
sub esi, dword [ebp + 0x38]
sar esi, 1
cmp esi, ebx
jle 0x408796
lea eax, [esi + esi + 0xc]
mov dword [ebp + 0x40], eax
push dword [ebp + 0x40]
push ebx
push dword [0x4be0d8]
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov edi, eax
cmp edi, ebx
jne 0x408733
push 2
call fcn.0043d129
cmp eax, 4
pop ecx
je 0x408710
lea eax, [esi + esi + 4]
cdq
mov dword [edi], eax
mov eax, dword [ebp + 0x38]
mov dword [edi + 4], 0xaa55
mov dword [edi + 4], edx
mov cx, word [eax]
add edi, 8
cmp cx, 0x2a
mov dword [ebp - 0x24], edi
je 0x40875c
cmp cx, 0x21
jne 0x408767
mov cl, byte [eax]
inc eax
inc eax
mov byte [ebp - 0x48], cl
mov dword [ebp + 0x38], eax
dec esi
push esi
push dword [ebp + 0x38]
push edi
call fcn.00405049
add esp, 0xc
mov word [edi + esi*2], bx
jmp 0x408796
mov eax, dword [ebp + 0x70]
mov cx, word [eax]
cmp cx, 0x2d
jne 0x4087a0
cmp word [eax + 2], cx
jne 0x4087a0
lea eax, [ebp + 0x70]
push eax
call fcn.00405061
pop ecx
mov ecx, dword [ebp + 0x70]
call fcn.00403ed5
jmp 0x4087ac
cmp cx, 0x3d
jne 0x4087bd
inc eax
inc eax
mov byte [ebp + 0x6f], 1
mov dword [ebp + 0x70], eax
cmp word [eax], bx
jne 0x4083a1
jmp 0x4087bd
mov eax, dword [ebp + 0x70]
mov ecx, eax
call fcn.00403ed5
mov edi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
push eax
mov dword [ebp + 0x70], eax
call edi
push ebx
mov dword [ebp + 0x7c], eax
mov byte [ebp + 0x38], bl
call dword [sym.imp.KERNEL32.DLL_SetLastError]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_SetProcessWorkingSetSize]
cmp dword [ebp - 0x18], ebx
jbe 0x408802
push dword [ebp - 0x18]
call fcn.00403e3e
pop ecx
mov esi, dword [0x4bdc58]
push esi
call edi
cmp eax, 0x11
jl 0x408813
push 0x11
pop eax
mov ecx, dword [ebp + 0x7c]
lea esi, [esi + eax*2]
lea eax, [eax + ecx + 0xa0]
push eax
lea ecx, [ebp + 0x18]
call fcn.0043d3c3
cmp word [esi], 0x3d
jne 0x408835
inc esi
inc esi
mov byte [ebp + 0x6f], 1
push esi
call edi
mov dword [ebp + 0x7c], eax
inc eax
push eax
push esi
push dword [ebp + 0x18]
call fcn.00405049
mov esi, dword [ebp + 0x7c]
add esp, 0xc
push dword [ebp + 0x70]
call edi
inc eax
push eax
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x70]
lea eax, [eax + esi*2]
push eax
call fcn.00405049
push 0x4a453c
push dword [ebp + 0x18]
call fcn.00403f1d
add esp, 0x14
cmp eax, ebx
je 0x40888c
movzx eax, word [eax + 0x10]
cmp ax, bx
je 0x408888
call fcn.004820ac
test al, al
je 0x40888c
mov byte [ebp + 0x38], 1
xor eax, eax
mov byte [ebp - 0xa8], bl
or dword [ebp + 0x5c], 0xffffffff
lea edi, [ebp - 0xa7]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x44], 0xc
mov dword [ebp - 0x3c], ebx
call fcn.0043a212
cmp byte [0x4bc2c0], bl
mov eax, dword [ebp - 0x28]
pop ecx
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0xc], ebx
jle 0x408968
call fcn.00402ce1
mov eax, dword [ebp + 0x18]
mov ecx, eax
movzx eax, word [eax]
mov dword [ebp + 0x50], ebx
mov byte [ebp + 0x7f], 0xa
mov dword [ebp + 0x2c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp + 0x1c], ebx
xor edx, edx
jmp 0x408917
or eax, 0x20
cmp ax, 0x61
jb 0x40891c
cmp ax, 0x7a
ja 0x40891c
inc edx
inc ecx
inc ecx
mov ax, word [ecx]
cmp ax, bx
jne 0x408902
mov ax, word [ecx]
call fcn.004820ac
test al, al
jne 0x40892a
xor edx, edx
cmp edx, 4
jne 0x408987
push 0x4a4514
lea ecx, [ebp + 0x7c]
call fcn.00445746
push dword [ebp + 0x70]
lea ecx, [ebp + 0x7c]
call fcn.0043d411
mov al, byte [ebp + 0x6c]
push dword [ebp + 0x7c]
or al, 1
mov byte [0x4bdb98], al
call fcn.00403d61
pop ecx
lea ecx, [ebp + 0x7c]
mov byte [0x4bdb98], bl
call fcn.00437884
mov esi, dword [ebp + 0x5c]
lea ecx, [ebp + 0xc]
call fcn.00437884
lea ecx, [ebp + 0x18]
call fcn.00437884
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_SetProcessWorkingSetSize]
mov al, byte [ebp + 0x6b]
mov dword [ebp + 0x48], ebx
mov dword [ebp - 0x34], 4
mov byte [ebp + 0x47], al
cmp dword [ebp + 0x58], ebx
je 0x4089c5
cmp dword [ebp + 0x1c], ebx
je 0x4089c5
push 1
call fcn.00439385
pop ecx
push 0xffffffffffffffff
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp dword [ebp + 0x20], ebx
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp + 8], ebx
je 0x408e2b
cmp dword [ebp + 0x58], ebx
je 0x408a3f
cmp dword [ebp + 0x48], ebx
mov dword [ebp + 0x64], ebx
je 0x4089f6
push dword [ebp + 0x48]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebp + 0x48], ebx
call dword [sym.imp.KERNEL32.DLL_WTSGetActiveConsoleSessionId]
mov ecx, dword [0x4bdba8]
cmp ecx, ebx
je 0x408a14
lea edx, [ebp + 0x48]
push edx
push eax
call ecx
test eax, eax
jne 0x408a14
mov dword [ebp + 0x48], ebx
lea eax, [ebp - 0x50]
push eax
push 4
lea eax, [ebp + 0x64]
push eax
push 0x13
push dword [ebp + 0x48]
mov dword [ebp - 0x50], ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x408a3f
push dword [ebp + 0x48]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp + 0x64]
mov dword [ebp + 0x48], eax
lea ecx, [ebp + 0x24]
call fcn.0043d3a5
mov eax, dword [ebp + 0x58]
neg eax
sbb eax, eax
and eax, 0x100000
mov dword [ebp + 0x64], eax
add eax, 0x80
cmp dword [ebp + 0x50], ebx
mov byte [ebp + 0x56], bl
mov dword [ebp + 4], eax
jne 0x408bc4
cmp dword [ebp + 0x2c], ebx
jne 0x408b91
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp + 0x20]
lea edi, [ecx + eax*2]
mov si, word [edi]
cmp si, bx
je 0x408a87
mov word [edi], bx
push 0xffffffffffffffff
push 0xffffffffffffffff
push str.Globalpecmd2012.shm.
lea ecx, [ebp + 0x24]
call fcn.0043d460
push dword [ebp + 0x20]
lea ecx, [ebp + 0x24]
call fcn.0043d411
push dword [ebp + 0x24]
push ebx
push 6
call dword [sym.imp.KERNEL32.DLL_OpenFileMappingW]
push ebx
mov dword [ebp + 0x2c], eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
cmp dword [ebp + 0x58], ebx
je 0x408b62
cmp dword [ebp - 0x14], ebx
jne 0x408b1b
push 0xffffffffffffffff
push str.Globalpecmd2012.lock.
lea ecx, [ebp + 0x10]
call fcn.0044577c
push dword [ebp + 0x20]
lea ecx, [ebp + 0x10]
call fcn.0043d411
push dword [ebp + 0x10]
lea eax, [ebp - 0x44]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
jmp 0x408af9
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
push dword [ebp + 0x10]
lea eax, [ebp - 0x44]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x408af1
lea ecx, [ebp + 0x10]
call fcn.00437884
cmp dword [ebp - 0x14], ebx
je 0x408b62
cmp dword [ebp + 0x1c], ebx
jne 0x408b62
push 0xffffffffffffffff
push str.Globalpecmd2012.event.
lea ecx, [ebp - 0x10]
call fcn.0044577c
push dword [ebp + 0x20]
lea ecx, [ebp - 0x10]
call fcn.0043d411
jmp 0x408b44
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
push dword [ebp - 0x10]
lea eax, [ebp - 0x44]
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
cmp eax, ebx
mov dword [ebp + 0x1c], eax
je 0x408b3c
lea ecx, [ebp - 0x10]
call fcn.00437884
cmp si, bx
je 0x408b6a
mov word [edi], si
cmp dword [ebp + 0x2c], ebx
jne 0x408b91
push dword [ebp + 0x24]
lea eax, [ebp - 0x44]
push dword [ebp + 4]
push ebx
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
cmp eax, ebx
setne byte [ebp + 0x56]
cmp eax, ebx
mov dword [ebp + 0x2c], eax
je 0x408ba4
push dword [ebp + 4]
push ebx
push ebx
push 6
push dword [ebp + 0x2c]
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov dword [ebp + 0x50], eax
cmp byte [ebp + 0x56], bl
je 0x408bc4
cmp dword [ebp + 0x50], ebx
je 0x408bbf
push 0x80
push ebx
push dword [ebp + 0x50]
call fcn.00403ee8
add esp, 0xc
cmp dword [ebp + 0x1c], ebx
jne 0x408c37
cmp byte [ebp + 0x7f], bl
jle 0x408bdd
dec byte [ebp + 0x7f]
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_SetProcessWorkingSetSize]
mov edi, dword [ebp + 0x50]
xor esi, esi
cmp edi, ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x40], ebx
je 0x408c18
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x1c]
push 0xfffffffffffffffe
pop ecx
and eax, ecx
mov dword [ebp + 0x60], eax
mov eax, dword [edi + 0x20]
and eax, ecx
mov dword [ebp + 0x4c], eax
mov eax, dword [edi + 0x24]
and esi, ecx
and eax, ecx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [ebp + 0x40], eax
mov dword [edi + 0x20], ebx
cmp dword [ebp + 0x58], ebx
je 0x408c5c
cmp edi, ebx
je 0x408c2f
mov eax, dword [edi]
cmp eax, 0xffffffff
mov ecx, dword [edi + 4]
jne 0x408c2f
cmp ecx, eax
je 0x408c5c
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea ecx, [ebp + 0x24]
call fcn.00437884
lea ecx, [ebp + 8]
call fcn.00437884
lea ecx, [ebp + 0x30]
call fcn.00437884
lea ecx, [ebp + 0x34]
call fcn.00437884
jmp 0x4089a8
cmp dword [ebp + 0x64], ebx
jle 0x408cae
mov eax, dword [ebp + 0x60]
cmp eax, ebx
jle 0x408cae
add eax, 8
push eax
lea ecx, [ebp + 8]
call fcn.0043d2c0
push dword [ebp + 0x60]
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x80]
push ecx
push eax
mov dword [ebp - 0x2c], eax
call fcn.0041255f
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp - 0x2c]
mov word [eax + ecx], bx
mov eax, dword [edi + 0x28]
mov edi, dword [edi + 0x2c]
and eax, 1
and edi, ebx
add esp, 0xc
or eax, edi
je 0x408cae
mov al, byte [ebp + 0x6b]
and al, 0xfe
mov byte [ebp + 0x47], al
cmp esi, ebx
mov ecx, dword [ebp + 0x60]
lea edi, [ecx + 0x80]
jle 0x408d30
mov eax, dword [ebp + 0x64]
sub eax, ecx
jns 0x408cc4
xor eax, eax
cmp dword [ebp + 0x4c], eax
jle 0x408ccc
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0x38], eax
lea eax, [edi + esi]
cmp eax, dword [ebp + 4]
mov dword [ebp + 0x28], ebx
jle 0x408cf1
push eax
push ebx
push ebx
push 6
push dword [ebp + 0x2c]
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov dword [ebp - 0x38], eax
mov dword [ebp + 0x28], eax
cmp dword [ebp - 0x38], ebx
je 0x408d30
lea eax, [esi + 8]
push eax
lea ecx, [ebp + 0x30]
call fcn.0043d2c0
mov eax, dword [ebp + 0x30]
push 8
add eax, esi
push ebx
push eax
call fcn.00403ee8
mov eax, dword [ebp - 0x38]
push esi
add eax, edi
push eax
push dword [ebp + 0x30]
call fcn.0041255f
add esp, 0x18
cmp dword [ebp + 0x28], ebx
je 0x408d30
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
add edi, esi
cmp dword [ebp + 0x4c], ebx
jle 0x408daf
mov eax, dword [ebp + 0x64]
sub eax, dword [ebp + 0x60]
jns 0x408d41
xor eax, eax
cmp dword [ebp + 0x4c], eax
jle 0x408d49
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x4c]
mov esi, dword [ebp + 0x50]
add eax, edi
cmp eax, dword [ebp + 4]
mov dword [ebp + 0x64], ebx
jle 0x408d6c
push eax
push ebx
push ebx
push 6
push dword [ebp + 0x2c]
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov esi, eax
mov dword [ebp + 0x64], esi
cmp esi, ebx
je 0x408daf
mov eax, dword [ebp + 0x4c]
add eax, 8
push eax
lea ecx, [ebp + 0x34]
call fcn.0043d2c0
push dword [ebp + 0x4c]
add esi, edi
push esi
push dword [ebp + 0x34]
call fcn.0041255f
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x4c]
push 8
add ecx, eax
push ebx
push ecx
call fcn.00403ee8
add esp, 0x18
cmp dword [ebp + 0x64], ebx
je 0x408daf
push dword [ebp + 0x64]
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
mov esi, dword [ebp + 0x40]
add edi, dword [ebp + 0x4c]
cmp esi, ebx
jle 0x408e23
mov eax, dword [ebp + 0x50]
mov dword [ebp + 0x64], eax
lea eax, [edi + esi]
cmp eax, dword [ebp + 4]
mov dword [ebp + 0x28], ebx
jle 0x408dde
push eax
push ebx
push ebx
push 6
push dword [ebp + 0x2c]
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x28], eax
cmp dword [ebp + 0x64], ebx
je 0x408e23
lea eax, [esi + 8]
push eax
lea ecx, [ebp + 0xc]
call fcn.0043d2c0
mov eax, dword [ebp + 0x64]
push esi
add eax, edi
push eax
push dword [ebp + 0xc]
call fcn.0041255f
mov eax, dword [ebp + 0xc]
push 8
add esi, eax
push ebx
push esi
call fcn.00403ee8
add esp, 0x18
cmp dword [ebp + 0x28], ebx
je 0x408e1d
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x3c], eax
lea ecx, [ebp + 0x24]
call fcn.00437884
cmp dword [ebp + 0x58], ebx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
je 0x408e51
push 6
lea eax, [ebp - 0x30]
push eax
push 0x4a45b4
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x408e51
mov byte [ebp + 0x6e], 1
cmp byte [ebp + 0x6e], bl
je 0x408e5e
or dword [ebp - 0x68], 1
mov word [ebp - 0x64], bx
cmp dword [ebp + 0x34], ebx
je 0x408e6a
mov dword [ebp - 0x34], 0x404
cmp byte [ebp + 0x6c], bl
jne 0x408e94
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x94]
push eax
push dword [ebp + 0x30]
push dword [ebp + 0x34]
push dword [ebp - 0x34]
push ebx
push ebx
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
jmp 0x408ec5
movsx eax, byte [ebp + 0x47]
push ebx
push 0x4a41e0
push ebx
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x94]
push eax
push dword [ebp + 0x30]
push dword [ebp + 0x34]
push dword [ebp - 0x34]
push ebx
push ebx
push ebx
push dword [ebp - 0x30]
push dword [ebp + 0x3c]
call fcn.00405191
add esp, 0x38
cmp dword [ebp + 0x48], ebx
mov dword [ebp + 0x40], eax
je 0x408ed6
push dword [ebp + 0x48]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp + 0x58], ebx
mov dword [ebp + 0x48], ebx
je 0x408f05
push 0x44
pop esi
push esi
lea eax, [ebp - 0x94]
push ebx
push eax
call fcn.00403ee8
add esp, 0xc
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x68], 0x80
mov byte [ebp + 0x6e], bl
mov dword [ebp + 0x3c], ebx
lea ecx, [ebp + 8]
call fcn.00437884
lea ecx, [ebp + 0x30]
call fcn.00437884
lea ecx, [ebp + 0x34]
call fcn.00437884
mov edi, dword [ebp - 4]
cmp edi, ebx
je 0x408f28
xor esi, esi
jmp 0x408f2d
or esi, 0xffffffff
mov edi, esi
cmp dword [ebp + 0x50], ebx
je 0x408f5c
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
cmp dword [ebp + 0x58], ebx
mov ecx, dword [ebp + 0x50]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], esi
mov dword [ecx], 1
mov dword [ecx + 4], ebx
jne 0x408f5c
push ecx
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
cmp dword [ebp + 0x40], ebx
jne 0x408f6a
cmp dword [ebp + 0x58], ebx
je 0x408968
cmp byte [ebp + 0x14], bl
je 0x408faf
test byte [0x4beb98], 8
jne 0x408f8f
or byte [0x4beb98], 8
push ebx
push 2
push str.SeShutdownPrivilege
call fcn.0041147a
add esp, 0xc
test byte [0x4beb98], 4
jne 0x408faf
or byte [0x4beb98], 4
push ebx
push 2
push str.SeDebugPrivilege
call fcn.0041147a
add esp, 0xc
cmp byte [ebp + 0x6d], bl
je 0x408fc9
cmp dword [0x4bdc78], ebx
jne 0x408fd1
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateJobObjectW]
mov dword [0x4bdc78], eax
cmp dword [0x4bdc78], ebx
je 0x408fe0
push dword [ebp - 0xc]
push dword [0x4bdc78]
call dword [sym.imp.KERNEL32.DLL_AssignProcessToJobObject]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
cmp dword [ebp - 0xc], ebx
je 0x408ffc
push 0x1388
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
mov edi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push 0xffffffffffffffff
push 0xffffffffffffffff
mov dword [ebp - 8], ebx
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_SetProcessWorkingSetSize]
cmp dword [0x4bdbf4], ebx
je 0x40902d
push dword [0x4bdbf4]
call esi
cmp dword [ebp + 0x58], ebx
mov eax, dword [ebp - 0xc]
mov dword [0x4bdbf4], ebx
mov dword [0x4bdbf4], eax
je 0x40904b
push eax
call esi
mov dword [ebp - 0xc], ebx
jmp 0x408998
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_SetProcessWorkingSetSize]
mov edi, dword [sym.imp.USER32.dll_GetLastInputInfo]
lea eax, [ebp - 0x20]
push eax
call edi
push 1
call fcn.00439385
cmp dword [ebp - 0x18], ebx
pop ecx
jbe 0x409215
lea eax, [ebp - 0x20]
mov esi, 0x103
push eax
mov dword [ebp + 0x5c], esi
call edi
cmp byte [ebp + 0x57], bl
jne 0x409170
cmp byte [ebp + 0x38], bl
je 0x4091c3
cmp byte [0x4bc2c0], bl
jle 0x409267
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edi, 0xc8
call esi
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x3c], ebx
cmp byte [0x4bc2c0], bl
jle 0x409103
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetLastInputInfo]
mov eax, dword [ebp - 0x1c]
sub eax, dword [0x4bdbf0]
test eax, eax
jg 0x409103
cmp byte [ebp + 0x6f], bl
je 0x409103
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
call esi
mov dword [ebp + 0x7c], eax
sub eax, dword [ebp + 0x40]
cmp eax, 0x64
jae 0x409103
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
inc dword [ebp + 0x3c]
cmp dword [ebp + 0x3c], 3
jl 0x4090b7
mov eax, dword [ebp + 0x7c]
sub eax, dword [ebp + 0x40]
cmp byte [0x4bc2c0], bl
mov dword [ebp + 0x7c], eax
jle 0x40917d
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [0x4bdbf0]
test ecx, ecx
jg 0x40917d
cmp byte [ebp + 0x6f], bl
je 0x40912b
cmp eax, 0x64
jb 0x40917d
cmp eax, edi
jae 0x40913b
mov eax, edi
sub eax, dword [ebp + 0x7c]
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp byte [0x4bc2c0], bl
jg 0x4090ac
jmp 0x409267
push 0x64
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
lea eax, [ebp + 0x5c]
push eax
push dword [ebp - 0xc]
mov dword [ebp + 0x5c], esi
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
cmp dword [ebp + 0x5c], esi
jne 0x409252
cmp byte [0x4bc2c0], bl
jge 0x40914c
jmp 0x409252
mov eax, dword [ebp - 0x1c]
mov ecx, eax
sub ecx, dword [0x4bdbf0]
test ecx, ecx
jle 0x409191
mov dword [0x4bdbf0], eax
push dword [ebp + 0x38]
mov edi, 0x4bdc78
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
call fcn.00408289
cmp dword [ebp - 0x24], ebx
pop ecx
pop ecx
je 0x4091bb
push 1
push dword [ebp - 0x48]
push dword [ebp - 0x24]
call fcn.004058d4
add esp, 0xc
mov dword [ebp + 0x5c], ebx
jmp 0x409267
cmp byte [0x4bc2c0], bl
jl 0x409212
mov edi, 0xc8
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
je 0x4091ea
cmp eax, ebx
jne 0x4091ea
cmp dword [ebp + 0x5c], esi
jne 0x409212
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetLastInputInfo]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
sub ecx, dword [0x4bdbf0]
test ecx, ecx
jg 0x40920d
cmp byte [0x4bc2c0], bl
jge 0x4091d0
jmp 0x409212
mov dword [0x4bdbf0], eax
push ebx
jmp 0x409255
cmp byte [ebp + 0x6f], bl
mov dword [ebp + 0x5c], ebx
je 0x409267
cmp byte [0x4bc2c0], bl
jl 0x409252
mov esi, 0x103
push 0x64
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
lea eax, [ebp + 0x5c]
push eax
push dword [ebp - 0xc]
mov dword [ebp + 0x5c], esi
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
cmp dword [ebp + 0x5c], esi
jne 0x409252
cmp byte [0x4bc2c0], bl
jge 0x40922a
push dword [ebp + 0x38]
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
mov edi, 0x4bdc78
call fcn.00408289
pop ecx
pop ecx
cmp byte [ebp + 0x6a], bl
je 0x408968
push ebx
push ebx
push 0x895440
mov ecx, 0x4bdfa0
call fcn.004137db
jmp 0x409270