joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006cc0
Capabilities:
Check for sandbox and av modules
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
push 0x102154c8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10006ceb
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10006d07
push 0x102154f8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x10006d10
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x10006d21
mov dword [ebp - 0xc], 0x1021550c
jmp 0x10006d28
mov dword [ebp - 0xc], str.DbgHelp.dll
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esp, ebp
pop ebp
ret

Function at 0x10006d40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
push 0x10215558
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10006d6b
push 0x10215574
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10006db2
push 0x10215590
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
push 0x102155a8
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
push 0x102155bc
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
jmp 0x10006dd0
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x10006de2
mov dword [ebp - 0xc], 0x102155cc
jmp 0x10006de9
mov dword [ebp - 0xc], 0x102155d0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0
je 0x10006e05
mov dword [ebp - 0x10], 0x10215620
jmp 0x10006e0c
mov dword [ebp - 0x10], 0x10215628
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x10006e28
mov dword [ebp - 0x14], 0x10215624
jmp 0x10006e2f
mov dword [ebp - 0x14], str.Iphlpapi.dll
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esp, ebp
pop ebp
ret
Function at 0x10007130
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
push 0x10215a9c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000715b
push 0x10215b04
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100071ae
push 0x10215b18
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], eax
push 0x10215b2c
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], eax
push 0x10215b44
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x2c], ecx
jmp 0x100071d6
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0
je 0x100071e8
mov dword [ebp - 0xc], 0x10215b5c
jmp 0x100071ef
mov dword [ebp - 0xc], 0x10215b60
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 4]
cmp dword [edx + 0x24], 0
je 0x1000720b
mov dword [ebp - 0x10], 0x10215ba4
jmp 0x10007212
mov dword [ebp - 0x10], 0x10215ba8
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x28], 0
je 0x1000722e
mov dword [ebp - 0x14], 0x10215bf0
jmp 0x10007235
mov dword [ebp - 0x14], str.Psapi.dll
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esp, ebp
pop ebp
ret
Function at 0x10007460
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
push 0x10215ebc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000748b
push 0x10215ed4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100074bd
push 0x10215eec
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x54], eax
push 0x10215f08
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x58], eax
jmp 0x100074d1
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x54], 0
je 0x100074e3
mov dword [ebp - 0xc], 0x10215f28
jmp 0x100074ea
mov dword [ebp - 0xc], 0x10215f30
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0
je 0x10007506
mov dword [ebp - 0x10], 0x10215f2c
jmp 0x1000750d
mov dword [ebp - 0x10], str.User32.dll
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esp, ebp
pop ebp
ret

Function at 0x10007fb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10264190]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], 0
push 1
sub esp, 0x60
mov ecx, esp
mov dword [ebp - 0x20], esp
mov eax, dword [ebp + 0x14]
push eax
call fcn.10004ea0
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.10007f10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10008003
xor eax, eax
jmp 0x10008062
cmp dword [ebp + 0xc], 0
je 0x1000800f
cmp dword [ebp + 0x10], 0
jne 0x10008022
mov ecx, dword [ebp - 8]
push ecx
call fcn.10193394
add esp, 4
mov eax, 1
jmp 0x10008062
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10193564
add esp, 0x10
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
push edx
call fcn.10193394
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jne 0x10008058
mov dword [ebp - 0xc], 1
jmp 0x1000805f
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1019110d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10008570
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c532b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x10264190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
push 0
push 0x8000020
push 3
push 0
push 3
push SysReAllocStringLen
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x10008656
push 0x102167d8
push 0
push 3
lea ecx, [ebp - 0x40]
push ecx
call fcn.10009d30
mov edx, dword [eax]
mov dword [ebp - 0x30], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2c], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xa0]
call fcn.10004ea0
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
mov ecx, dword [ebp - 0x20]
call fcn.100053a0
push eax
push str._tasp::library_CreateFile__strfilename:_s__err_lu.
sub esp, 0xc
mov edx, esp
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp - 0x2c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x28]
mov dword [edx + 8], eax
call fcn.10008d70
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.10004e60
xor eax, eax
xor edx, edx
jmp 0x10008674
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1019110d
mov esp, ebp
pop ebp
ret 4
Function at 0x1000b4b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.1000b7e0
movzx ecx, al
test ecx, ecx
jne 0x1000b4e1
push str.CDebugLog::PushLog1
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp + 0x10]
push edx
call fcn.101938a7
add esp, 4
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1000be40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c5a0a
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x10264190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x488], ecx
mov dword [ebp - 0x484], 0
lea ecx, [ebp - 0x480]
call fcn.10004dd0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x1000beba
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x480]
call fcn.10004f30
jmp 0x1000bf16
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10195c90
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 3
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x480]
call sym.URDHelp_x86.dll_public:_void___thiscall_CURDHelp::constructor_void_
mov ecx, eax
call fcn.10018de0
push 0x10217764
lea ecx, [ebp - 0x480]
call fcn.10004f60
lea eax, [ebp - 0x480]
push eax
mov ecx, dword [ebp + 8]
call fcn.10005090
mov ecx, dword [ebp - 0x484]
or ecx, 1
mov dword [ebp - 0x484], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x480]
call fcn.10004e60
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1019110d
mov esp, ebp
pop ebp
ret 4
Function at 0x1000de80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c5da3
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x10264190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp + 8]
call fcn.1001cb20
cmp eax, dword [ebp + 0xc]
jae 0x1000dec3
jmp 0x1000e05c
push 8
lea ecx, [ebp - 0x1c]
call fcn.100063a0
lea ecx, [ebp - 0x1c]
call fcn.1001b370
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.1001cb20
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x88], 0
jmp 0x1000df05
mov eax, dword [ebp - 0x88]
add eax, 1
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
cmp ecx, dword [ebp - 0x90]
jge 0x1000dfa9
lea ecx, [ebp - 0x84]
call fcn.10004dd0
mov byte [ebp - 4], 1
push 0
push 0
push 0
lea edx, [ebp - 0x84]
push edx
push 0
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp + 8]
call fcn.1001cb40
push eax
mov ecx, 0x102703c4
call fcn.10008690
lea ecx, [ebp - 0x84]
call fcn.100052b0
push eax
mov ecx, 0x10270344
call fcn.10016b70
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0xb4]
push eax
call fcn.10028200
add esp, 0xc
push eax
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10028230
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.10004e60
jmp 0x1000def6
mov edx, dword [ebp - 0x90]
sub edx, dword [ebp + 0xc]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x8c], 0
push 4
lea ecx, [ebp - 0x14]
call fcn.100063a0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10019720
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10019750
push eax
lea ecx, [ebp - 0x14]
call fcn.1001a140
movzx edx, al
test edx, edx
je 0x1000e04d
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x94]
jge 0x1000e029
lea ecx, [ebp - 0x14]
call fcn.1001a120
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1001cb40
mov ecx, eax
call fcn.100052b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1000e02b
jmp 0x1000e04d
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
push 0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x14]
call fcn.1001aa70
jmp 0x1000dfd8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.1000cef0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1019110d
mov esp, ebp
pop ebp
ret 8
Function at 0x1000e0d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
call fcn.100397b0
push eax
push str.CDebugLog::WriteConf_text_s
lea eax, [ebp - 0x24]
push eax
push 0x10270344
call fcn.100178f0
add esp, 0x10
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
call fcn.100397b0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x24]
call fcn.100397d0
push 0
mov ecx, dword [ebp + 8]
call fcn.100397b0
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x268
push ecx
mov ecx, 0x102703c4
call fcn.10008080
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x41c
call fcn.100396d0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x1000e560
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c5e38
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10264190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
cmp dword [ebp + 8], 1
jl 0x1000e5b2
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x414]
jge 0x1000e5b2
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x74]
mov dword [eax + edx*4 + 0x3ec], 1
jmp 0x1000e5f1
mov ecx, dword [ebp + 8]
push ecx
push str.CDebugLog_SetFilterLevelArray
lea edx, [ebp - 0x70]
push edx
push 0x10270344
call fcn.10017840
add esp, 0x10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.100052b0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10004e60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1019110d
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ef60
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
push 0x400
call fcn.1007b8b0
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1000eff2
mov dword [ebp - 0x18], 0xedb88320
mov dword [ebp - 8], 0
jmp 0x1000ef9e
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x100
jge 0x1000eff2
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], 8
jmp 0x1000efbf
mov eax, dword [ebp - 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x1000efe4
mov ecx, dword [ebp - 4]
and ecx, 1
je 0x1000efda
mov edx, dword [ebp - 4]
shr edx, 1
xor edx, dword [ebp - 0x18]
mov dword [ebp - 4], edx
jmp 0x1000efe2
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [ebp - 4], eax
jmp 0x1000efb6
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov dword [edx + ecx*4], eax
jmp 0x1000ef95
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x1000f0a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c5f80
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10264190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x1c], 0x20019
mov ecx, 0x10270344
call fcn.100168b0
test eax, eax
je 0x1000f125
cmp dword [ebp + 0xcc], 0
je 0x1000f104
mov eax, dword [ebp - 0x1c]
or eax, 0x200
mov dword [ebp - 0x1c], eax
jmp 0x1000f125
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, 0x10270344
call fcn.10016810
test eax, eax
je 0x1000f125
mov ecx, dword [ebp - 0x1c]
or ecx, 0x100
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push 0
lea ecx, [ebp + 0xc]
call sym.URDHelp_x86.dll_public:_void___thiscall_CURDHelp::constructor_void_
mov ecx, eax
call fcn.10039750
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1000f185
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.10004e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x6c]
call fcn.10004e60
mov eax, dword [ebp - 0x2c]
jmp 0x1000f22c
mov edx, dword [ebp + 0xd4]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [ebp + 0xd0]
push ecx
call fcn.10195c90
add esp, 0xc
mov edx, dword [ebp + 0xd4]
push edx
mov eax, dword [ebp + 0xd0]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp + 0x6c]
call sym.URDHelp_x86.dll_public:_void___thiscall_CURDHelp::constructor_void_
mov ecx, eax
call fcn.10039750
push eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x20], 0
je 0x1000f207
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.10004e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x6c]
call fcn.10004e60
mov eax, dword [ebp - 0x24]
jmp 0x1000f22c
mov dword [ebp - 0x28], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.10004e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x6c]
call fcn.10004e60
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1019110d
mov esp, ebp
pop ebp
ret 0xd0
Function at 0x1000f390
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10264190]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], 0xf003f
mov ecx, 0x10270344
call fcn.100168b0
test eax, eax
je 0x1000f3ec
cmp dword [ebp + 0x20], 0
je 0x1000f3cb
mov eax, dword [ebp - 0x10]
or eax, 0x200
mov dword [ebp - 0x10], eax
jmp 0x1000f3ec
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, 0x10270344
call fcn.10016810
test eax, eax
je 0x1000f3ec
mov ecx, dword [ebp - 0x10]
or ecx, 0x100
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1000f485
mov dword [ebp - 0x10], 0x20006
mov ecx, 0x10270344
call fcn.100168b0
test eax, eax
je 0x1000f456
cmp dword [ebp + 0x20], 0
je 0x1000f435
mov eax, dword [ebp - 0x10]
or eax, 0x200
mov dword [ebp - 0x10], eax
jmp 0x1000f456
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, 0x10270344
call fcn.10016810
test eax, eax
je 0x1000f456
mov ecx, dword [ebp - 0x10]
or ecx, 0x100
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1000f485
xor al, al
jmp 0x1000f4c1
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], 0
jne 0x1000f4ba
mov byte [ebp - 0x11], 1
jmp 0x1000f4be
mov byte [ebp - 0x11], 0
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1019110d
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1000f750
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
mov dword [ebp - 4], 0
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
jbe 0x1000f7ed
xor edx, edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, 1
setb dl
neg edx
or edx, ecx
push edx
call fcn.10193815
add esp, 4
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call fcn.10195c90
add esp, 0xc
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000fa30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10264190]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
mov eax, dword [ebp - 0x210]
cmp dword [eax + 0x10], 0
je 0x1000fad2
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20c], ecx
mov edx, dword [ebp - 0x20c]
add edx, 1
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x20c]
mov cl, byte [eax]
mov byte [ebp - 0x205], cl
add dword [ebp - 0x20c], 1
cmp byte [ebp - 0x205], 0
jne 0x1000fa6d
mov edx, dword [ebp - 0x20c]
sub edx, dword [ebp - 0x218]
mov dword [ebp - 0x214], edx
cmp dword [ebp - 0x214], 0x1f4
jae 0x1000fad2
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.STATUS_d_ErrMsg_s
lea edx, [ebp - 0x204]
push edx
call fcn.100283b0
add esp, 0x10
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1019110d
mov esp, ebp
pop ebp
ret 8