Function at 0x4090ea
Capabilities:
Acquire debug privileges
Resume thread

Disassembly:
mov esi, dword [ebp + 0x5c]
lea ecx, [ebp + 8]
call fcn.0043fdb4
lea ecx, [ebp + 0x20]
call fcn.0043fdbc
push ss
jb 0x408ba8
add byte [edi - 0x75], bl
invalid
pop esi
pop ebx
add ebp, 0x74
leave
ret 4
mov al, byte [ebp + 0x6a]
mov dword [ebp + 0x1c], 4
mov byte [ebp + 0x63], al
cmp dword [ebp + 0x54], ebx
je 0x408bed
cmp dword [ebp + 0x24], ebx
je 0x408bed
push 1
call fcn.00441aef
pop ecx
push 0xffffffffffffffff
push dword [ebp + 0x24]
call dword [0x4a63f0]
cmp dword [ebp + 0x28], ebx
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x38], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp + 0xc], ebx
je 0x409014
lea ecx, [ebp + 0x30]
mov dword [ebp + 0x18], ebx
call fcn.00445d8a
mov edi, dword [ebp + 0x54]
neg edi
sbb edi, edi
and edi, 0x100000
cmp esi, ebx
mov byte [ebp + 0x5b], bl
mov dword [ebp - 0x28], edi
jne 0x408dbc
cmp dword [ebp + 0x64], ebx
jne 0x408d64
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 4]
lea eax, [ecx + eax*2]
xor ecx, ecx
mov cx, word [eax]
cmp cx, bx
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x10], ecx
je 0x408c50
mov word [eax], bx
push 0xffffffffffffffff
push 0xffffffffffffffff
push str.Globalpecmd2012.shm.
lea ecx, [ebp + 0x30]
xor al, ch
xor eax, 0xff0003d2
jne 0x408c8c
lea ecx, [ebp + 0x30]
call fcn.00445e52
push dword [ebp + 0x30]
push ebx
push 6
call dword [0x4a6494]
push ebx
mov dword [ebp + 0x64], eax
call dword [0x4a649c]
cmp dword [ebp + 0x54], ebx
je 0x408d2b
cmp dword [ebp - 0x18], ebx
jne 0x408ce4
push 0xffffffffffffffff
push str.Globalpecmd2012.lock.
lea ecx, [ebp - 4]
call fcn.0044e568
push dword [ebp + 0x28]
lea ecx, [ebp - 4]
call fcn.00445e90
push dword [ebp - 4]
lea eax, [ebp - 0x4c]
push ebx
push eax
call dword [0x4a64a0]
jmp 0x408cc2
push 1
call dword [0x4a6484]
push dword [ebp - 4]
lea eax, [ebp - 0x4c]
push ebx
push eax
call dword [0x4a64a0]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x408cba
lea ecx, [ebp - 4]
call fcn.0043fef5
cmp dword [ebp - 0x18], ebx
je 0x408d2b
cmp dword [ebp + 0x24], ebx
jne 0x408d2b
push 0xffffffffffffffff
push str.Globalpecmd2012.event.
lea ecx, [ebp - 0x1c]
call fcn.0044e5c1
push dword [ebp + 0x28]
lea ecx, [ebp - 0x1c]
call fcn.00445ee9
jmp 0x408d0d
push 1
call dword [0x4a6484]
push dword [ebp - 0x1c]
lea eax, [ebp - 0x4c]
push ebx
push ebx
push eax
call dword [0x4a64a4]
cmp eax, ebx
mov dword [ebp + 0x24], eax
je 0x408d05
lea ecx, [ebp - 0x1c]
call fcn.0043ff41
mov eax, dword [ebp + 0x10]
cmp ax, bx
je 0x408d39
mov ecx, dword [ebp + 0x14]
mov word [ecx], ax
cmp dword [ebp + 0x64], ebx
jne 0x408d64
push dword [ebp + 0x30]
lea eax, [edi + 0x80]
push eax
push ebx
push 4
lea eax, [ebp - 0x4c]
push eax
push 0xffffffffffffffff
call dword [0x4a64a8]
cmp eax, ebx
setne byte [ebp + 0x5b]
cmp eax, ebx
mov dword [ebp + 0x64], eax
je 0x408d7a
lea eax, [edi + 0x80]
push eax
push ebx
push ebx
push 6
push dword [ebp + 0x64]
call dword [0x4a64ac]
mov esi, eax
cmp byte [ebp + 0x5b], bl
je 0x408dbc
cmp esi, ebx
je 0x408d92
push 0x80
push ebx
push esi
call 0x40c031
add esp, 0xc
cmp dword [ebp + 0x24], ebx
je 0x408dbc
lea ecx, [ebp + 0x30]
call fcn.0043ffb5
lea ecx, [ebp + 0xc]
call fcn.0043ffbd
lea ecx, [ebp + 0x38]
call fcn.0043ffc5
lea ecx, [ebp + 0x48]
call fcn.0043ffcd
jmp 0x408bd0
cmp byte [ebp + 0x7f], bl
jle 0x408dd5
dec byte [ebp + 0x7f]
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [0x4a647c]
push eax
call dword [0x4a6480]
xor edx, edx
xor edi, edi
cmp esi, ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp + 0x14], ebx
je 0x408e18
mov edi, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
push 0xfffffffffffffffe
pop eax
and ecx, eax
mov dword [ebp + 0x34], ecx
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
and ecx, eax
and edi, eax
and edx, eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [ebp + 0x44], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp + 0x14], eax
mov dword [esi + 0x20], ebx
cmp dword [ebp + 0x54], ebx
je 0x408e5c
cmp esi, ebx
je 0x408e2f
mov eax, dword [esi]
cmp eax, 0xffffffff
mov ecx, dword [esi + 4]
jne 0x408e2f
cmp ecx, eax
je 0x408e5c
push 1
call dword [0x4a6484]
lea ecx, [ebp + 0x30]
call fcn.00440055
lea ecx, [ebp + 0xc]
call fcn.0044005d
lea ecx, [ebp + 0x38]
call fcn.00440065
lea ecx, [ebp + 0x48]
call fcn.0044006d
jmp 0x408bc3
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x28]
add eax, edx
add eax, dword [ebp + 0x34]
add ecx, 0x80
lea eax, [eax + edi + 0x80]
cmp eax, ecx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x40], esi
jle 0x408e92
push eax
push ebx
push ebx
push 6
push dword [ebp + 0x64]
call dword [0x4a64ac]
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x10], eax
cmp dword [ebp - 0x28], ebx
jle 0x408edc
cmp edi, ebx
jle 0x408edc
lea eax, [edi + 8]
push eax
lea ecx, [ebp + 0xc]
call fcn.00445f3c
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [esi + 0x80]
push ecx
push eax
mov dword [ebp - 0x3c], eax
call fcn.0041ab6d
mov eax, dword [ebp - 0x3c]
mov word [edi + eax], bx
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
and eax, 1
and ecx, ebx
add esp, 0xc
or eax, ecx
je 0x408edc
mov al, byte [ebp + 0x6a]
and al, 0xfe
mov byte [ebp + 0x63], al
cmp dword [ebp + 0x34], ebx
lea eax, [edi + 0x80]
mov dword [ebp + 0x3c], eax
jle fcn.00408f37
mov eax, dword [ebp - 0x28]
sub eax, edi
jns 0x408ef3
xor eax, eax
cmp dword [ebp + 0x44], eax
jle 0x408efb
mov dword [ebp + 0x44], eax
cmp dword [ebp + 0x40], ebx
je fcn.00408f37
mov eax, dword [ebp + 0x34]
add eax, 8
push eax
lea ecx, [ebp + 0x38]
call fcn.00445fa4
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
push 8
add ecx, eax
push ebx
cmp dword [ebp + 0x54], ebx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
je 0x40903a
push 6
lea eax, [ebp - 0x34]
push eax
push 0x4a76a8
call fcn.00448028
add esp, 0xc
test al, al
je 0x40903a
mov byte [ebp + 0x6d], 1
cmp byte [ebp + 0x6d], bl
je 0x409047
or dword [ebp - 0x80], 1
mov word [ebp - 0x7c], bx
xor eax, eax
cmp dword [ebp + 0x18], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x68], ebx
je 0x409078
lea eax, [ebp - 0xac]
push eax
push dword [ebp + 0x18]
lea ecx, [ebp - 0x5c]
call fcn.0040ca0d
mov eax, dword [ebp - 0x58]
neg eax
sbb eax, eax
and eax, 0x80000
cmp dword [ebp + 0x48], ebx
je 0x409084
mov dword [ebp + 0x1c], 0x404
or eax, dword [ebp + 0x1c]
cmp byte [ebp + 0x6c], bl
jne 0x4090af
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0xac]
push ecx
push dword [ebp + 0x38]
push dword [ebp + 0x48]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x34]
push dword [ebp - 0x40]
call dword [0x4a6400]
jmp 0x4090de
movsx ecx, byte [ebp + 0x63]
push ebx
push 0x4a72cc
push ebx
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0xac]
push ecx
push dword [ebp + 0x38]
push dword [ebp + 0x48]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x34]
push dword [ebp + 0x50]
call fcn.0040d770
add esp, 0x38
lea ecx, [ebp - 0x5c]
mov dword [ebp + 0x1c], eax
call fcn.0040cb4d
cmp dword [ebp + 0x54], ebx
pop ebp
push esp
je 0x409119
mov edi, dword [ebp - 0xac]
push 0x48
lea eax, [ebp - 0xac]
push ebx
push eax
call fcn.0040c3a5
add esp, 0xc
mov dword [ebp - 0xac], edi
mov dword [ebp - 0x80], 0x80
mov byte [ebp + 0x6d], bl
mov dword [ebp + 0x50], ebx
lea ecx, [ebp + 0xc]
call fcn.00440337
lea ecx, [ebp + 0x38]
call fcn.0044033f
lea ecx, [ebp + 0x48]
call fcn.00440347
mov edi, dword [ebp - 0xc]
cmp edi, ebx
je 0x40913d
mov dword [ebp - 0x60], ebx
jmp 0x409143
or edi, 0xffffffff
mov dword [ebp - 0x60], edi
cmp esi, ebx
je 0x409171
call dword [0x4a6490]
cmp dword [ebp + 0x54], ebx
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x60]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
mov dword [esi], 1
mov dword [esi + 4], ebx
jne 0x409171
push esi
call dword [0x4a6450]
cmp dword [ebp + 0x1c], ebx
jne 0x40917f
cmp dword [ebp + 0x54], ebx
je 0x408b93
cmp byte [ebp + 0x2c], bl
je 0x4091c4
test byte [0x4c1bf0], 8
jne 0x4091a4
or byte [0x4c1bf0], 8
push ebx
push 2
push str.SeShutdownPrivilege
call fcn.00419f91
add esp, 0xc
test byte [0x4c1bf0], 4
jne 0x4091c4
or byte [0x4c1bf0], 4
push ebx
push 2
push str.SeDebugPrivilege
dec edx
add al, ch
xor ecx, dword [eax - 0x3b7d0000]
invalid
cmp byte [ebp + 0x6e], bl
je 0x4091de
cmp dword [0x4c0c84], ebx
jne 0x4091e6
push ebx
push ebx
call dword [0x4a6180]
mov dword [0x4c0c84], eax
cmp dword [0x4c0c84], ebx
je 0x4091f5
push dword [ebp - 0x14]
push dword [0x4c0c84]
call dword [0x4a617c]
push dword [ebp - 0x10]
call dword [0x4a6178]
cmp dword [ebp - 0x14], ebx
je 0x409211
push 0x1388
push dword [ebp - 0x14]
call dword [0x4a67c4]
push dword [ebp - 0x10]
mov edi, dword [0x4a64ec]
call edi
push 0xffffffffffffffff
push 0xffffffffffffffff
mov dword [ebp - 0x10], ebx
call dword [0x4a647c]
push eax
call dword [0x4a6480]
cmp dword [0x4c0bf4], ebx
je 0x409240
push dword [0x4c0bf4]
call edi
cmp dword [ebp + 0x54], ebx
mov eax, dword [ebp - 0x14]
mov dword [0x4c0bf4], ebx
mov dword [0x4c0bf4], eax
je 0x40925e
push eax
call edi
mov dword [ebp - 0x14], ebx
invalid
invalid