joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401080
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401099
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4010d4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4010d0
lea ebx, [ebx]
cmp esi, eax
jae 0x4010d4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4010c0
cmp esi, eax
jb 0x4010da
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x405fe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44be23
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x465d3c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.0040d0de
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406024
push 0x80004005
call fcn.00401060
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x1c], 0
lea ebp, [esi + 4]
call fcn.0040d0de
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406057
push 0x80004005
call fcn.00401060
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov edx, dword [esp + 0x24]
mov byte [esp + 0x1c], 1
test edx, edx
jne 0x406077
xor eax, eax
jmp 0x406089
mov eax, edx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406080
sub eax, edi
push eax
push edx
mov ecx, esi
call fcn.00401cf0
mov edx, dword [esp + 0x28]
test edx, edx
jne 0x40609e
xor eax, eax
jmp 0x4060ac
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4060a3
sub eax, edi
push eax
push edx
mov ecx, ebp
call fcn.00401cf0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 0x10
Function at 0x4062f0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x44bed8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x465d3c]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x465d3c]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, dword [esp + 0x98]
mov esi, dword [esp + 0x9c]
push 0x63
lea eax, [esp + 0x25]
push 0
push eax
mov dword [esp + 0x24], edi
mov byte [esp + 0x2c], 0
call fcn.00431220
mov ecx, dword [esi]
mov edx, dword [esi + 0xc]
push ecx
push 1
push edx
push edi
call fcn.00432fa6
add esp, 0x1c
cmp eax, 1
mov eax, dword [esi + 0xc]
sete bl
cdq
idiv dword [esi + 0x10]
mov byte [esp + 0x16], bl
mov dword [esi + 0x14], eax
test bl, bl
je 0x4064c9
push eax
lea eax, [esp + 0x24]
push str.length__d
push eax
call fcn.00430ddf
lea ecx, [esi + 0x18]
lea eax, [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x1c], ecx
lea ebp, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4063a0
sub eax, ebp
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00401cf0
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
xor ebp, ebp
xor eax, eax
cmp ecx, 1
sete byte [esp + 0x17]
test ebx, ebx
je 0x40646b
xor edx, edx
dec ebx
cmp byte [esp + 0x17], dl
je 0x4063db
cmp byte [edi], dl
jmp 0x4063df
cmp word [edi], 0
sete dl
test edx, edx
je 0x406409
test eax, eax
je 0x406402
cmp edi, eax
je 0x406402
imul ecx, ebp
mov edx, edi
sub edx, eax
push edx
push eax
sub eax, ecx
push eax
call fcn.004328b0
add esp, 0xc
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
inc ebp
add edi, ecx
test ebx, ebx
jne 0x4063ce
test eax, eax
je 0x40642c
cmp edi, eax
je 0x40642c
mov ecx, dword [esi + 0x10]
imul ecx, ebp
sub edi, eax
push edi
push eax
sub eax, ecx
push eax
call fcn.004328b0
add esp, 0xc
test ebp, ebp
je 0x40646b
push ebp
lea edx, [esp + 0x24]
push str.__d_nulls_removed_
push edx
call fcn.00430ddf
lea eax, [esp + 0x2c]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406450
mov ecx, dword [esp + 0x1c]
sub eax, edx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00402000
sub dword [esi + 0x14], ebp
cmp dword [esi + 0x10], 1
jle 0x4064a0
mov ecx, dword [esi + 4]
push ecx
call fcn.00404b50
add esp, 4
test al, al
je 0x4064a0
mov edx, dword [esi + 0x14]
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.00404b60
mov ecx, dword [esp + 0x24]
add esp, 8
push str.endian_swap
call fcn.00405f10
mov al, byte [esp + 0x16]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00430e9b
add esp, 0x80
ret
lea ecx, [esp + 0x18]
push ecx
call fcn.004060f0
add esp, 4
add esi, 0x18
push eax
mov ecx, esi
mov dword [esp + 0x94], 0
call fcn.00402100
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x90], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406517
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
jmp 0x4064a4
Function at 0x409030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44c299
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x465d3c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.0040d0de
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x409075
push 0x80004005
call fcn.00401060
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x18], edi
call fcn.0040d0de
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4090a1
push 0x80004005
call fcn.00401060
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
push edi
mov ecx, esi
mov byte [esp + 0x1c], 3
call fcn.00408d50
mov dword [esi + 0x28], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4090e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44c2d3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x465d3c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 1
call fcn.00405370
lea ecx, [esi + 0x2c]
call fcn.00405ec0
mov eax, dword [esi + 4]
sub eax, 0x10
mov byte [esp + 0x14], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409144
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
sub eax, 0x10
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40916a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x3c]
mov ecx, esi
call fcn.004016d0
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4092fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, edi
pop edi
pop esi
jmp 0x4090e0
Function at 0x409460
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x44c3bd
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x465d3c]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
push edi
mov eax, dword [0x465d3c]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov esi, dword [esp + 0x134]
mov edi, dword [esp + 0x138]
xor ebx, ebx
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
call fcn.0040d0de
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4094d3
push 0x80004005
call fcn.00401060
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push 0x103
lea ecx, [esp + 0x21]
push ebx
push ecx
mov dword [esp + 0x138], ebx
mov dword [esp + 0x20], 1
mov byte [esp + 0x28], bl
call fcn.00431220
add esp, 0xc
push 0x104
lea edx, [esp + 0x20]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
call fcn.00402a70
push eax
mov ecx, esi
mov dword [esp + 0x130], 1
call fcn.00402100
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x12c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409560
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00430e9b
add esp, 0x120
ret

Function at 0x409590
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push ecx
push edi
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4095e8
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push esi
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x10]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop edi
pop ecx
ret

Function at 0x4095f0
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 8]
push eax
push 0x20006
push 0
push edi
push esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40962c
lea ecx, [esp + 8]
push ecx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x409658
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x10]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x409db0
Capabilities:
Get mac address on windows

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
mov dword [esp + 8], 0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x409dd1
cmp eax, 0x6f
je 0x409dd1
xor eax, eax
pop ecx
ret
mov ecx, dword [esp]
push esi
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x409dfa
lea edx, [esp + 4]
push edx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x409dff
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop esi
pop ecx
ret
movzx eax, byte [esi + 0x199]
movzx ecx, byte [esi + 0x198]
movzx edx, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push ecx
movzx ecx, byte [esi + 0x195]
push edx
movzx edx, byte [esi + 0x194]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push str._02X__02X__02X__02X__02X__02X
push eax
push ecx
call fcn.00430e5c
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 1
pop esi
pop ecx
ret

Function at 0x40a100
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0
push 0
push ebp
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov edi, eax
xor ebx, ebx
test edi, edi
jne 0x40a12d
mov ecx, esi
call fcn.004016d0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 4
mov eax, dword [esi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, edi
or ecx, edx
jge 0x40a14b
push edi
mov ecx, esi
call fcn.004017b0
mov eax, dword [esi]
push edi
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x40a16d
push ecx
push eax
call fcn.004324d7
add esp, 8
test eax, eax
jl 0x40a18a
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x40a18a
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
pop edi
mov byte [eax + ecx], bl
pop esi
mov ebx, 1
pop ebp
mov eax, ebx
pop ebx
ret 4
push 0x80070057
call fcn.00401060
int3
Function at 0x40a2c0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44c506
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x465d3c]
xor eax, esp
mov dword [esp + 0x110], eax
push esi
push edi
mov eax, dword [0x465d3c]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov esi, dword [esp + 0x130]
push 0xf9
lea eax, [esp + 0x25]
push 0
mov edi, 1
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], 0xfa
mov byte [esp + 0x2c], 0
call fcn.00431220
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push edi
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40a3f6
call fcn.0040d0de
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a36c
push 0x80004005
call fcn.00401060
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x128], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x14]
push 0x4525f4
push ecx
call fcn.00402380
mov esi, dword [esp + 0x1c]
add esp, 0xc
push edi
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov edi, esp
push esi
call fcn.00401500
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0040b7c0
mov edx, dword [esp + 0x14]
add esp, 8
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x128], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a490
mov ecx, dword [esi]
push esi
jmp 0x40a489
push 0xfa
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.00431220
add esp, 0xc
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.ProcessorNameString
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
push ecx
push str.CPU:_s_n
call fcn.0043129a
add esp, 8
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x14]
call fcn.0040a220
push eax
mov ecx, esi
mov dword [esp + 0x12c], edi
call fcn.00402100
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x128], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a490
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00430e9b
add esp, 0x120
ret
Function at 0x40a790
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x44c598
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x465d3c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x38]
call fcn.0040d0de
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a7d6
push 0x80004005
call fcn.00401060
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push str.ALLUSERSPROFILE
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0
call fcn.0040a100
push str.TerminalID.dat
lea ecx, [esp + 0x18]
call fcn.00402a70
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.00402000
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a844
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
call fcn.0040d5e8
cmp dword [esp + 0x3c], 0
mov edi, dword [esp + 0x10]
mov byte [esp + 0x30], 2
push 0
lea ecx, [esp + 0x1c]
je 0x40a893
push 0x1001
push edi
call fcn.0040d9e7
test eax, eax
je 0x40a8d7
push esi
push ebp
lea ecx, [esp + 0x20]
call fcn.0040d31e
lea ecx, [esp + 0x18]
call fcn.0040d582
push 1
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor esi, esi
jmp 0x40a8df
push 0
push edi
call fcn.0040d9e7
test eax, eax
je 0x40a8d7
push esi
push ebp
lea ecx, [esp + 0x20]
call fcn.0040d2dc
test eax, eax
jbe 0x40a8bb
lea ecx, [esp + 0x18]
xor esi, esi
call fcn.0040d582
jmp 0x40a8df
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x40a8cc
mov esi, 0xe8
lea ecx, [esp + 0x18]
call fcn.0040d582
jmp 0x40a8df
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call fcn.0040d6c3
lea eax, [edi - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a911
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
Function at 0x40ada0
Capabilities:
Shutdown system

Disassembly:
push 0xffffffffffffffff
push 0x44c678
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x465d3c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
xor esi, esi
push 0x28
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40ae2c
lea ecx, [esp + 0x18]
push ecx
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push esi
push esi
push 0x10
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x20]
push esi
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
jmp 0x40ae47
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4527c0
call fcn.00402a70
call fcn.0040b7c0
add esp, 8
mov eax, dword [esp + 0x40]
push esi
or eax, 4
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ebx, eax
cmp ebx, esi
je 0x40ae7c
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x4527ac
call fcn.00402a70
call fcn.0040b7c0
add esp, 8
jmp 0x40af0a
call fcn.0040d0de
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x40ae96
push 0x80004005
call fcn.00401060
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x44]
push 0x452794
push ecx
call fcn.00402380
mov esi, dword [esp + 0x4c]
add esp, 0xc
push 1
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
push esi
call fcn.00401500
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0040b7c0
add esp, 8
mov dword [esp + 0x38], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40af0a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x40b7c0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x44c828
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x465d3c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
mov ebx, dword [eax - 0xc]
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x40b902
lea ecx, [esp + 0x18]
push ecx
call fcn.0040b5c0
push 0x452894
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x38], 1
call fcn.00405c30
add esp, 0x10
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x28], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b849
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx - 0xc]
push 0xc
call fcn.0040c6e7
add esp, 4
test eax, eax
je 0x40b8d9
call fcn.0040af30
mov esi, eax
test esi, esi
je 0x40b8d9
lea ebp, [edi + ebx]
lea ebx, [ebp + 1]
push ebx
call fcn.0040c716
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x40b93a
push ebx
push 0
push eax
call fcn.00431220
mov edx, dword [esp + 0x20]
mov eax, dword [esi]
push edi
push edx
push eax
call fcn.00430eb0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
mov eax, dword [esi]
push ecx
push edx
add eax, edi
push eax
call fcn.00430eb0
mov ecx, dword [esp + 0x58]
add esp, 0x24
push 0
push 0
push esi
push 0x40b730
push 0
push 0
mov dword [esi + 4], ebp
mov dword [esi + 8], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x40b8d9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b8fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b926
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push esi
call fcn.0040c721
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x28], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40b8f2
Function at 0x40bb80
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x130
mov eax, dword [0x465d3c]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x134]
push ebx
push ebp
push esi
push edi
push 0x124
lea ecx, [esp + 0x1c]
push 0
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0x128
call fcn.00431220
add esp, 0xc
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea edx, [esp + 0x14]
mov ebp, eax
push edx
push ebp
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40bc51
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40bbf0
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00433ed7
add esp, 8
test eax, eax
jne 0x40bc42
mov edx, dword [esp + 0x1c]
push edx
push str.explorers_PID_d_n
call fcn.0040b960
add esp, 8
push 0xa
call esi
mov eax, dword [esp + 0x1c]
push eax
push 1
push 0x1f0fff
call edi
test eax, eax
jne 0x40bc53
call ebx
push eax
push str.OpenProcess___Error:_d
call fcn.0040b960
add esp, 8
push 0xa
call esi
lea ecx, [esp + 0x14]
push ecx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40bbf0
xor eax, eax
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00430e9b
add esp, 0x130
ret