joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5fdcc8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.005fdb68
test al, al
jne 0x5fdcec
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5fdd46
xor eax, eax
push ebp
push 0x5fdd36
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, edi
call fcn.0040b88c
push eax
mov eax, esi
call fcn.0040b88c
push eax
call sub.kernel32.dll_CopyFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fdd3d
lea eax, [ebp - 0xc]
call fcn.005fdba4
pop eax
jmp eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5fdd54
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.005fdb68
test al, al
jne 0x5fdd75
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5fddc3
xor eax, eax
push ebp
push 0x5fddb3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040b88c
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fddba
lea eax, [ebp - 0xc]
call fcn.005fdba4
pop eax
jmp eax
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5fdf34
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.005fdb68
test al, al
jne 0x5fdf57
mov dword [ebp - 4], 0xffffffff
jmp 0x5fdfa5
xor eax, eax
push ebp
push 0x5fdf95
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040b88c
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fdf9c
lea eax, [ebp - 0xc]
call fcn.005fdba4
pop eax
jmp eax
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5fe0e4
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.005fdb68
test al, al
jne 0x5fe108
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5fe15e
xor eax, eax
push ebp
push 0x5fe14e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040b88c
push eax
mov eax, esi
call fcn.0040b88c
push eax
call sub.kernel32.dll_MoveFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fe155
lea eax, [ebp - 0xc]
call fcn.005fdba4
pop eax
jmp eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5fe168
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
test edi, edi
jne 0x5fe18b
test esi, 4
je 0x5fe18b
xor edi, edi
jmp 0x5fe194
mov eax, edi
call fcn.0040b88c
mov edi, eax
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.005fdb68
test al, al
jne 0x5fe1a9
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x5fe1fa
xor eax, eax
push ebp
push 0x5fe1ea
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push edi
mov eax, dword [ebp - 4]
call fcn.0040b88c
push eax
call sub.kernel32.dll_MoveFileExW
mov dword [ebp - 8], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fe1f1
lea eax, [ebp - 0x10]
call fcn.005fdba4
pop eax
jmp eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5fe27c
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.005fdb68
test al, al
jne 0x5fe29d
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5fe2eb
xor eax, eax
push ebp
push 0x5fe2db
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040b88c
push eax
call sub.kernel32.dll_RemoveDirectoryW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fe2e2
lea eax, [ebp - 0xc]
call fcn.005fdba4
pop eax
jmp eax
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5fe2f4
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.005fdb68
test al, al
jne 0x5fe318
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5fe367
xor eax, eax
push ebp
push 0x5fe357
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
mov eax, esi
call fcn.0040b88c
push eax
call sub.kernel32.dll_SetFileAttributesW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fe35e
lea eax, [ebp - 0xc]
call fcn.005fdba4
pop eax
jmp eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6011f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
call fcn.0040a960
xor eax, eax
push ebp
push 0x6012d8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 0x18], 0
jne 0x601237
lea edx, [ebp + 0x18]
mov eax, edi
call fcn.005ba1ac
cmp dword [ebp + 0x18], 0
jne 0x601237
lea eax, [ebp + 0x18]
call fcn.005bc700
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.00407d24
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x540
test ebx, ebx
je 0x601262
mov eax, ebx
call fcn.0040b88c
mov dword [ebp - 0x34], eax
mov eax, edi
call fcn.0040b88c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
call fcn.0040b88c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
call fcn.0040b88c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x6012a4
call sub.kernel32.dll_GetLastError
mov dword [esi], eax
jmp 0x6012c0
mov dword [esi], 0x103
mov eax, dword [ebp - 8]
test eax, eax
je 0x6012c0
push 0
push esi
movzx edx, byte [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
call fcn.00600dc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6012df
lea eax, [ebp + 0x18]
call fcn.0040a86c
pop eax
jmp eax

Function at 0x601510
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x60153e
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x10
call fcn.0040b928
jmp 0x601545
mov eax, ebx
call fcn.0040a86c
add esp, 0x24
pop ebx
ret

Function at 0x60154c
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
mov dword [esp], 0x101
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x60157d
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x101
call fcn.0040b928
jmp 0x601584
mov eax, ebx
call fcn.0040a86c
add esp, 0x208
pop ebx
ret

Function at 0x601594
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x6015ad
xor eax, eax
jmp 0x601601
lea eax, [esp + 8]
push eax
push 0x601608
push 0
call sub.advapi32.dll_LookupPrivilegeValueW
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError
test eax, eax
je 0x6015f2
xor eax, eax
jmp 0x601601
push 0
push 2
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x14
ret
Function at 0x601630
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x60168a
inc esi
xor edi, edi
cmp edi, 1
jne 0x601656
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep
jmp 0x601664
cmp edi, 1
jle 0x601664
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005fdd54
test eax, eax
jne 0x60168a
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x60168a
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x60168a
inc edi
dec esi
jne 0x601646
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x601aac
Capabilities:
Delete registry value

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, edx
mov edi, eax
test cl, cl
je 0x601abf
mov ebx, 0x80000001
jmp 0x601ac4
mov ebx, 0x80000002
push 0
push 2
lea eax, [esp + 8]
push eax
mov ecx, 0x601b20
mov edx, ebx
xor eax, eax
call fcn.005bcc2c
test eax, eax
jne 0x601afa
mov eax, edi
call fcn.0040b88c
push eax
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegDeleteValueW
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, esi
call fcn.0040b88c
push eax
call sub.gdi32.dll_RemoveFontResourceW
test eax, eax
je 0x601b1b
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_SendNotifyMessageW
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x601b88
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov edi, ecx
mov esi, edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x601cd5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x601cec
push 0x601d14
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00415434
mov ebx, eax
lea edx, [ebp - 0xc]
movzx eax, byte [ebp - 1]
call fcn.005fdb68
test al, al
jne 0x601be7
mov byte [ebp - 2], 0
jmp 0x601cb8
xor eax, eax
push ebp
push 0x601cb1
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x601c2b
push 0
mov eax, dword [ebp + 8]
push eax
push edi
lea edx, [ebp - 0x24]
mov eax, esi
call fcn.005ba104
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.005b9cdc
mov eax, dword [ebp - 0x20]
call fcn.0040b88c
push eax
call ebx
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
jmp 0x601c99
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x30]
mov eax, esi
call fcn.005ba104
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.005ba1d4
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.005b9cdc
mov eax, dword [ebp - 0x28]
call fcn.0040b88c
push eax
call sub.kernel32.dll_GetDiskFreeSpaceW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
cmp byte [ebp - 2], 0
je 0x601c99
mov ecx, edi
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.005bf398
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.005bf398
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x601cb8
lea eax, [ebp - 0xc]
call fcn.005fdba4
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x601cdc
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.0040a8cc
pop eax
jmp eax

Function at 0x601ec8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x601eec
mov eax, dword [ebp - 4]
jmp 0x601eef
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret
Function at 0x601ef4
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], dl
mov edi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test esi, esi
je 0x601f41
xor ebx, ebx
jmp 0x601f36
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, esi
call fcn.00423d10
test eax, eax
jne 0x601f35
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x601fec
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x601f17
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x601f4d
je 0x601f56
jmp 0x601f5f
call fcn.005bd2d4
mov esi, eax
jmp 0x601f61
call sub.kernel32.dll_GetUserDefaultLangID
mov esi, eax
jmp 0x601f61
xor esi, esi
test si, si
je 0x601fec
xor ebx, ebx
jmp 0x601f87
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, si
cmp eax, edx
jne 0x601f86
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x601fec
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x601f6e
xor ebx, ebx
jmp 0x601fe1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov dx, 0x3ff
and dx, si
movzx edx, dx
cmp eax, edx
jne 0x601fe0
mov ax, 0x3ff
and ax, si
cmp ax, 4
jne 0x601fd5
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x28]
call fcn.00601ec8
push eax
mov eax, esi
call fcn.00601ec8
pop edx
cmp edx, eax
jne 0x601fe0
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x601fec
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x601f96
movzx eax, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x60a1e8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.00425a14
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x617824
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov ebx, edx
mov esi, eax
cmp byte [esi + 4], 0
je 0x6178fe
mov byte [esi + 5], 1
mov eax, dword [esi + 0x10]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
lea edx, [esp + 4]
xor ecx, ecx
mov eax, 0x617910
call fcn.00607e98
mov eax, dword [esi + 0xc]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x61787c
mov eax, 0x617970
call fcn.00607c10
push 1
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_TerminateProcess
push 0x2710
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x617867
push esp
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
je 0x6178cf
cmp dword [esp], 0
jne 0x6178b1
mov eax, 0x6179c8
call fcn.00607c10
jmp 0x6178d9
mov eax, dword [esp]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
lea edx, [esp + 4]
xor ecx, ecx
mov eax, 0x617a04
call fcn.00607e98
jmp 0x6178d9
mov eax, 0x617a6c
call fcn.00607c10
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi + 0x10], eax
mov byte [esi + 4], 0
test bl, bl
je 0x6178fe
push 0xfa
call sub.kernel32.dll_Sleep
add esp, 0xc
pop esi
pop ebx
ret
Function at 0x617ad4
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x617d18
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
inc dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], ecx
xor eax, eax
lea ebx, [eax + 0xc]
add ebx, ecx
xor edx, edx
push ebp
push 0x617cbb
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x617b49
mov eax, 0x617d34
call fcn.005feab0
xor edx, edx
push ebp
push 0x617c50
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x14
call fcn.00407d24
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
push 0x14
mov eax, dword [ebp - 4]
add eax, 0x4034
push eax
push ebx
mov eax, dword [ebp - 4]
add eax, 0x20
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.kernel32.dll_TransactNamedPipe
test eax, eax
jne 0x617c37
call sub.kernel32.dll_GetLastError
cmp eax, 0x3e5
je 0x617bb1
mov eax, 0x617d58
call fcn.005feab0
xor edx, edx
push ebp
push 0x617c20
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [ebp + 8], 0
je 0x617bf1
mov eax, dword [ebp - 4]
cmp word [eax + 0x1a], 0
je 0x617bf1
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x1c]
call dword [ebx + 0x18]
push 0x1cff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x617bcf
pop dword fs:[0]
add esp, 8
push 0x617c27
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.kernel32.dll_GetOverlappedResult
mov ebx, eax
call sub.kernel32.dll_GetLastError
pop edx
jmp edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x617c57
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
pop eax
jmp eax

Function at 0x61978c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
push 1
lea eax, [ebp - 4]
push eax
mov eax, ebx
call fcn.0040b88c
mov ecx, eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 1]
mov edx, 0x80000002
call fcn.005bcc2c
test eax, eax
jne 0x6197ff
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
mov eax, esi
call fcn.0040b88c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x6197ee
cmp dword [ebp - 8], 4
je 0x6197f2
xor ebx, ebx
jmp 0x6197f4
mov bl, 1
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
jmp 0x619801
xor ebx, ebx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x61e1b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffe08
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x11f4], ebx
mov dword [ebp - 0x11f8], ebx
mov dword [ebp - 0x11ec], ebx
mov dword [ebp - 0x11f0], ebx
mov dword [ebp - 0x11e8], ebx
mov dword [ebp - 0x1004], ecx
mov dword [ebp - 0x11cc], edx
mov dword [ebp - 0x11d0], eax
lea esi, [ebp - 0x11de]
xor eax, eax
push ebp
push 0x61e3f9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x11d4], eax
xor eax, eax
mov dword [ebp - 0x11c8], eax
mov eax, dword [ebp - 0x11d0]
add eax, 0x10
push eax
lea ecx, [ebp - 0x11c4]
mov edx, dword [ebp - 0x1004]
mov eax, dword [ebp - 0x11cc]
call fcn.0061a718
cmp dword [ebp - 0x1084], 0x418
jle 0x61e272
lea ecx, [ebp - 0x11e8]
mov edx, dword [ebp - 0x1004]
mov ax, 0xeb
call fcn.005c327c
mov ecx, dword [ebp - 0x11e8]
mov dl, 1
mov eax, dword [0x41d190]
call fcn.0042b510
call fcn.00409f64
lea eax, [ebp - 0x11f0]
lea edx, [ebp - 0x1184]
mov ecx, 0x80
push 0
call fcn.0040b00c
mov edx, dword [ebp - 0x11f0]
lea ecx, [ebp - 0x11ec]
mov eax, dword [ebp - 0x11d0]
mov eax, dword [eax]
call fcn.0061db10
mov edx, dword [ebp - 0x11ec]
mov eax, dword [ebp - 0x11d0]
add eax, 0x14
call fcn.0040ac5c
lea eax, [ebp - 0x11f8]
lea edx, [ebp - 0x1104]
mov ecx, 0x80
push 0
call fcn.0040b00c
mov edx, dword [ebp - 0x11f8]
lea ecx, [ebp - 0x11f4]
mov eax, dword [ebp - 0x11d0]
mov eax, dword [eax]
call fcn.0061db10
mov edx, dword [ebp - 0x11f4]
mov eax, dword [ebp - 0x11d0]
add eax, 0x18
call fcn.0040ac5c
mov eax, dword [ebp - 0x11d0]
movzx edx, byte [ebp - 0x1078]
mov byte [eax + 0x1d], dl
mov ebx, dword [ebp - 0x1080]
test ebx, ebx
jle 0x61e3b8
push ebp
mov eax, esi
mov edx, 0xa
call fcn.0061e138
pop ecx
mov eax, dword [esi + 6]
push eax
mov eax, dword [ebp - 0x11d0]
mov eax, dword [eax]
mov ecx, dword [esi + 2]
movzx edx, word [esi]
call fcn.0061aeb0
mov dword [ebp - 0x11e4], eax
cmp dword [ebp - 0x11e4], 0
jne 0x61e355
push ebp
call fcn.0061df8c
pop ecx
xor eax, eax
push ebp
push 0x61e386
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov eax, dword [ebp - 0x11e4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x11e4]
add eax, 0x12
call fcn.0061e138
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x61e3a0
mov edx, dword [ebp - 0x11e4]
mov eax, dword [ebp - 0x11d0]
call fcn.0061aeec
dec ebx
jne 0x61e31a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61e400
lea eax, [ebp - 0x11f8]
call fcn.0040a890
lea eax, [ebp - 0x11f4]
call fcn.0040a86c
lea eax, [ebp - 0x11f0]
call fcn.0040a890
lea eax, [ebp - 0x11ec]
mov edx, 2
call fcn.0040a8cc
pop eax
jmp eax