joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45860c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x490e90]
jne 0x458616
repz ret
jmp fcn.0045f16c

Function at 0x46713a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0045d9a2
and dword [ebp - 4], 0
cmp dword [0x494bf4], 0
mov ebx, eax
jne 0x4671eb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46729c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x481d1c
push edi
call esi
test eax, eax
je 0x46729c
push eax
call fcn.0045d930
mov dword [esp], 0x481d0c
push edi
mov dword [0x494bf4], eax
call esi
push eax
call fcn.0045d930
mov dword [esp], 0x481cf8
push edi
mov dword [0x494bf8], eax
call esi
push eax
call fcn.0045d930
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x494bfc], eax
call esi
push eax
call fcn.0045d930
pop ecx
mov dword [0x494c04], eax
test eax, eax
je 0x4671eb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045d930
pop ecx
mov dword [0x494c00], eax
mov eax, dword [0x494c00]
cmp eax, ebx
je 0x467243
cmp dword [0x494c04], ebx
je 0x467243
push eax
call fcn.0045d9ab
push dword [0x494c04]
mov esi, eax
call fcn.0045d9ab
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x467243
test edi, edi
je 0x467243
call esi
test eax, eax
je 0x46723a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46723a
test byte [ebp - 0xc], 1
jne 0x467243
or dword [ebp + 0x10], 0x200000
jmp 0x46727c
mov eax, dword [0x494bf8]
cmp eax, ebx
je 0x46727c
push eax
call fcn.0045d9ab
pop ecx
test eax, eax
je 0x46727c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46727c
mov eax, dword [0x494bfc]
cmp eax, ebx
je 0x46727c
push eax
call fcn.0045d9ab
pop ecx
test eax, eax
je 0x46727c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x494bf4]
call fcn.0045d9ab
pop ecx
test eax, eax
je 0x46729c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46729e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x66e41e70
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x652b3742
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10072260
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x100722fb
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x100722b2
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x100722b2
cmp esi, ebx
jge 0x100722b2
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x100722f5
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x100722f5
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100783dc]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x100783dc]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x1007230d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x10072530
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
mov eax, dword [ebp + 8]
je 0x10072558
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x10072572
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.1001f703
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.10076450
leave
ret 4

Function at 0x10072740
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x10072776
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x100727d5
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.1001f703
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.1001f703
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.1001f703
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10076450
leave
ret 0x10
Function at 0x100727f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1007281c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1007284d
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1007284b
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.1001f703
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1007284d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10076450
leave
ret 8
Function at 0x406200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and ch, ah
stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
cmp dword [eax - 0x18], 1
and edi, esp
ja 0x406258
add byte [eax], al
test dword [edi + 0xc], ecx
cmpsb byte [esi], byte es:[edi]
inc ebp
test eax, 0xf8a5c9f8
add al, 0x8b
push edx
add al, 0x85
ror byte [ecx + 0x15eef87d], cl
mov ebx, dword [ebx + 0xe6301c]
add esi, 0xc
cmp ebx, dword [esi]
je 0x40624e
inc ecx
add esi, 0x14
cmp ecx, edx
jb 0x406234
pop edi
pop esi
mov eax, 0x7d117f
pop ebx
mov esp, ebp
pop ebp
invalid
cmp bl, cl
inc ecx
enter 0xffffffffffffff72, 0x3b
outsb dx, byte [esi]
ret
add al, 0x73
fadd qword [edi + 0x3c8d9b1c]
mov ecx, eax
jecxz 0x406266
ror dword [ecx], 2
sub ebx, dword [ebx - 0x76f78277]
push ebp
cld
add ch, byte [ebx]
wait
mov dword [ebp + 8], edi
mov dword [ebp - 4], edx
mov ecx, dword [eax - 0x60ffcfe4]
sbb edx, dword [ebp + 0xc]
mov edx, dword [edx + 0xc]
lea esi, [edi + ecx]
cmp edx, dword [esi + 0xc]
jne 0x406288
dec dword [eax + 4]
jmp 0x4062a9
lea edi, [ebx + ecx]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
add dword [edx + 0x14], 0xffffff8b
dec ebp
insd dword es:[edi], dx
mov dh, 0xa3
adc al, 0x49
outsb dx, byte [esi]
push 0xfc978908
jne 0x4062fb
mov edi, dword [ebp - 8]
clc
mov edx, dword [eax - 0x70]
xor ecx, ecx
test edx, edx
jbe 0x4062a0
lea esi, [eax + 0x10]
cmp dword [ecx - 0x7cbef58c], eax
outsd dx, dword [esi]
adc al, 0x3b
Function at 0x409340
Capabilities:
Write file on windows

Disassembly:
inc ecx
cmp al, 0x5f
pop esi
mov eax, 0x35574016
pop ebx
pop ebp
ret
push ebp
mov ebp, esp
in al, dx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
dec edx
jle 0x4092f5
dec dword [edi]
sub dword [eax + 0x7c000000], eax
inc esi
sub al, 0x84
sal byte [eax + ecx + 0x56], 0xe8
outsd dx, dword [esi]
pop ds
add byte [eax], al
mov ebx, dword [ecx - 0x75]
inc esi
sbb byte [edx], bh
add byte [eax], al
add byte [edx + 0x74], ah
pop edx
cmp eax, 0x6e90000
mov al, byte [0xff026a17]
adc eax, sym.imp.MSVCRT.dll__close
loop 0x409342
add al, 0x6a
fsubr dword [edx - 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor al, 0x46
loope 0x40938d
fadd qword [eax]
add al, 0xc6
pop ss
push 1
call dword [0x40c146]
cmp dword [esi], 0x60
push 0xffffffffffffffff
push 0x70
call dword [0x40c0cb]
jmp 0x4093d1
add dh, dl
mov al, 0x75
and dword [edx - 0x68], ebp
call dword [sym.imp.MSVCRT.dll__close]
add esp, 0xffffff94
push 0xffffffffffffffff
push 0xfffffffffffffff6
call dword [0x5556c0a4]
cmp ebx, dword [edx - 0x75]
inc esi
add al, 0x50
call dword [0x1bd874]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 0xc]
sub eax, eax
adc eax, 0x8510408b
sal byte [esi + ecx + 0x50], 0xff
popal
je 0x4093ab
lahf
add bh, al
inc esi
or al, 0xfe
add byte [eax], al
test dword [ebx + 0x5d5e81c7], 0x909090c3
mov dl, 0x90
nop
push ebp
mov ebp, esp
jo 0x40940d
or byte [eax - 0x7d], al
add al, ch
inc eax
add dword [eax], 0xffffffe8
dec ebx
and al, 0
add byte [ebx - 0x75], dl
or eax, 0x335756a1
push ebx
mov ecx, dword [0x335756a1]
inc edi
clc
clc
add ebx, dword [esi]
dec ebx
add dh, dh
adc al, 1
mov bh, 0xae
cld
or al, 7
mov dword [ebp - 4], connect
test bl, 2
je 0x409437
ror byte [ebp - 4], 1
add byte [eax], al
mov ecx, 0x6ff740
imul dword [edi]
pop ebp
add byte [eax], cl
je 0x409448
mov eax, dword [ebp - 4]
xor byte [edi + 1], 0x89
inc ebp
cld
mov ecx, dword [0x41c4dc]
cmp ecx, 0xffffffcb
jl 0x40945a
mov dword [ebp - 8], 7
mov eax, ebx
insb byte es:[edi], dx
loopne 0x409404
je 0x40947e
std
ret
mov dh, ch
or byte [ecx + 0x10], 0xf6
ficomp dword [ebx]
rol byte [ebx + 0x4383aee2], cl
add ecx, dword [ebx + 0x40c3f6f2]
je 0x4094a6
test eax, eax
jne 0x4094a6
pop edi
pop esi
mov eax, 0x4d000d
mov esp, ebp
cmpps xmm2, xmmword [ebp + 0x63c7f600], 0x74
add eax, 0xe2008b
test bh, 0x63
je 0x4094b0
mov eax, dword [eax]
loop 0x4094af
add al, 0xf7
mov cl, 0
outsb dx, byte [esi]
and byte [eax], al
div dword [ecx + 0x206e00]
je 0x4094be
ror ebx, cl
iretd
test bl, 3
jne 0x4094e5
and dh, bh
int1
div ecx
add byte [eax], al
adc byte [eax], al
je 0x409498
mov ah, 0xf9
pop ecx
jl 0x40950b
sub dword [esi], 0x1d000000
test ebx, 0x403806
je 0x4094c2
and dword [edi - 4], 0x16630000
test bh, 2
je 0x409503
or esi, 0xae000000
cmp ecx, 0x3b
mov dword [0x8fa4f649], eax
je 0x409503
or bh, 2
or edi, 0x48008500
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x4008]
fld xword [eax + 0x6a]
and byte [eax], al
add byte [ecx - 0x18], dl
xlatb
jnp 0x409516
invalid
invalid
invalid
Function at 0x10008340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.100252c0

Function at 0x10059fa3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10059fb2
pop dword [ebp - 0x50]
mov eax, 0x10059fb2
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xbe2f9cae
sub dword [ebp - 0x60], 0x6fdd5763
mov dword [ebp - 0x5c], 0x5f8966c5
add dword [ebp - 0x5c], 0xd2a9e580
mov dword [ebp - 0x58], 0x4c106743
add dword [ebp - 0x58], 0x3bdceb
mov dword [ebp - 0x54], 0xdfd69bfe
sub dword [ebp - 0x54], 0xdfd69bfe
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x32002e95
add dword [ebp - 0x60], 0x42723ac1
mov dword [ebp - 0x5c], 0x91b4297e
sub dword [ebp - 0x5c], 0x5047c809
mov dword [ebp - 0x58], 0x2744c0c7
add dword [ebp - 0x58], 0x3c2aaba5
mov dword [ebp - 0x54], 0x8ad6a015
sub dword [ebp - 0x54], 0x8ad6a015
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x650bb
push 0
call eax
mov ecx, 0x398f
xor esi, esi
add esi, eax
mov edx, 0x1570ebad
sub edx, 0x5689fad
add edx, dword [ebp - 0x50]
mov ebx, 0x34f9b0e4
mov edi, dword [edx]
xor edi, ebx
xor dword [ebp - 0x20], 0x80e02253
mov dword [esi], edi
add dword [ebp - 0x28], 0x2caad77a
add esi, 0x4bdc426c
add esi, 0xb423bd98
add edx, 4
loop 0x1005a0bb
add eax, 0xf6ea998
sub eax, 0xf6dd089
mov ebx, eax
add eax, 0x368a5ad5
sub eax, 0x368a5ad0
mov ecx, 0x4880edd9
sub ecx, 0x3880edd9
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x4098b5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41d004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040707d
mov dword [ebp - 0x14], eax
cmp dword [0x41f2f8], esi
jne 0x4099a8
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x409935
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x409a88
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x409a88
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x409a88
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x41f2f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x41f2fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x41f300], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41f308], eax
test eax, eax
je 0x4099a5
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41f304], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4099cd
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4099c0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4099e2
push 4
pop eax
jmp 0x409a8a
cmp dword [ebp - 0x14], esi
je 0x4099e2
push dword [0x41f2f8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4099c7
mov eax, dword [0x41f304]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x409a40
cmp dword [0x41f308], edi
je 0x409a40
push eax
call ebx
push dword [0x41f308]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x409a40
test eax, eax
je 0x409a40
call ecx
test eax, eax
je 0x409a35
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x409a35
test byte [ebp - 8], 1
jne 0x409a40
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x409a70
mov eax, dword [0x41f2fc]
cmp eax, edi
je 0x409a6d
push eax
call ebx
test eax, eax
je 0x409a6d
call eax
mov esi, eax
test esi, esi
je 0x409a6d
mov eax, dword [0x41f300]
cmp eax, edi
je 0x409a6d
push eax
call ebx
test eax, eax
je 0x409a6d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x41f2f8]
call ebx
test eax, eax
je 0x409a88
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x409a8a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040414c
mov esp, ebp
pop ebp
ret
Function at 0x573f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5889fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x574002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00577dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x574002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.0056f6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0057820b
push 0x10
call fcn.005781d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x573fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.005641c0
jmp 0x573fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00573b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x573ff0
mov ecx, edi
call fcn.005642c0
push edi
call fcn.005781c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x574021
inc ebx
cmp ebx, 0x20
jb 0x573f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x5771b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00577140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00577140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00577140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00577140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x577bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x577c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x58987c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x577c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x577c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x401056
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
xor edi, edi
cmp dword [0x81329c], 0xee
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], eax
jne 0x40109d
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call dword [sym.imp.KERNEL32.dll_ConvertFiberToThread]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MapUserPhysicalPagesScatter]
mov eax, dword [0x4261fc]
mov ebx, dword [0x4261f8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], 0x9e3779b9
call fcn.0040104c
mov eax, dword [0x426200]
add dword [ebp - 4], 0x7c
mov dword [ebp - 0x28], eax
mov eax, dword [str.M3r_]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0x20
jmp 0x4010dd
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, esi
lea ecx, [ebp - 0x10]
call fcn.00401046
mov edx, dword [ebp - 0x10]
mov eax, dword [0x81329c]
add edx, dword [ebp - 0x28]
cmp eax, 0xfa9
jne 0x40110e
mov dword [0x813298], 0xedeb2e40
cmp eax, 0x3eb
jne 0x40111b
mov dword [0x4276c4], edi
mov ecx, dword [ebp - 4]
add ecx, esi
xor edx, ecx
mov ecx, dword [ebp - 0xc]
shr esi, cl
mov dword [0x813294], 0x9150ce2e
add esi, dword [ebp - 0x24]
xor esi, edx
mov dword [ebp - 0x10], esi
cmp eax, 0x27
jne 0x401164
lea eax, [ebp - 0x2c]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push edi
push edi
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
and eax, 0x5dc052bb
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov ecx, edx
shl ecx, 4
mov eax, edx
shr eax, 5
add eax, dword [ebp - 0x1c]
add ecx, ebx
add esi, edx
xor ecx, esi
xor ecx, eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov dword [0x4276c0], edi
call fcn.00401053
mov eax, dword [ebp - 0x20]
sub dword [ebp - 4], eax
dec dword [ebp - 0x18]
jne 0x4010da
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret 4