joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a47d0
Capabilities:
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61a794
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x6aab00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 8]
push 1
mov ecx, esi
mov dword [ebp - 0x154], edi
mov dword [edi], vtable.Common::CWriterFile.0
call fcn.005a3430
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
mov byte [ebp - 4], 1
push 0x103
lea eax, [ebp - 0x113]
push ebx
push eax
mov byte [ebp - 0x114], bl
call fcn.00551e50
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push str.TEMP
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5a4872
sub eax, edx
push eax
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x130]
call fcn.00406380
push 7
push str.QMLog_
lea ecx, [ebp - 0x130]
call fcn.0059f5f0
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x130]
jae 0x5a48b5
lea eax, [ebp - 0x130]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x15a]
push eax
call fcn.005a3f60
push eax
call fcn.0059d1d0
lea ecx, [ebp - 0x150]
push ecx
lea edx, [ebp - 0x14c]
push edx
mov dword [ebp - 0x150], eax
call fcn.005a4770
add esp, 0x10
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x130]
call fcn.0059f500
mov byte [ebp - 4], 1
cmp dword [ebp - 0x138], 0x10
jb 0x5a491a
mov eax, dword [ebp - 0x14c]
push eax
call fcn.0044cdc7
add esp, 4
push 4
push str..log
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], ebx
mov byte [ebp - 0x14c], bl
call fcn.0059f5f0
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x130]
jae 0x5a4957
lea eax, [ebp - 0x130]
push 0x40
push 0xa
push eax
lea ecx, [esi + 4]
call fcn.005a0850
test eax, eax
jne 0x5a4980
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x5a4995
or eax, 4
jmp 0x5a4995
mov edx, dword [esi]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + esi + 0x38]
add ecx, esi
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push ebx
push eax
call fcn.004041b0
mov eax, dword [0x6b91e8]
mov ecx, dword [eax + 4]
add ecx, 0x6b91e8
mov esi, dword [ecx + 0x38]
lea eax, [edi + 0xc]
mov dword [ecx + 0x38], eax
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push ebx
push eax
call fcn.004041b0
mov dword [edi + 0xb0], esi
mov byte [ebp - 4], bl
cmp dword [ebp - 0x11c], 0x10
jb 0x5a49e5
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.0044cdc7
add esp, 4
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054cec4
mov esp, ebp
pop ebp
ret
Function at 0x5ac9b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x6aab00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi], 0x20
jae 0x5ac9df
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054cec4
mov esp, ebp
pop ebp
ret
push 1
call fcn.005ac760
add esp, 4
lea ecx, [ebp - 0x58]
push ecx
push 0x30
lea edx, [ebp - 0x54]
push edx
push 3
call eax
test eax, eax
jne 0x5ac9cd
mov dword [ebp - 0x24], 0x310030
mov dword [ebp - 0x20], 0x330032
mov dword [ebp - 0x1c], 0x350034
mov dword [ebp - 0x18], 0x370036
mov dword [ebp - 0x14], 0x390038
mov dword [ebp - 0x10], 0x420041
mov dword [ebp - 0xc], 0x440043
mov dword [ebp - 8], 0x460045
xor edx, edx
mov ecx, esi
jmp 0x5aca40
movzx eax, byte [ebp + edx - 0x54]
mov esi, eax
shr esi, 4
mov si, word [ebp + esi*2 - 0x24]
and eax, 0xf
mov ax, word [ebp + eax*2 - 0x24]
mov word [ecx], si
mov word [ecx + 2], ax
inc edx
add ecx, 4
cmp edx, 0x10
jne 0x5aca40
mov ecx, dword [ebp - 4]
mov dword [edi], 0x20
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.0054cec4
mov esp, ebp
pop ebp
ret
Function at 0x5acde0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61c638
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x6aab00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x5ace1b
mov eax, dword [esi]
jmp 0x5ace1d
mov eax, esi
mov ecx, dword [0x6ad81c]
mov byte [eax], 0
lea eax, [ebp + 8]
push eax
push ecx
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5acee6
mov edx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x10]
push eax
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push str.Common_AppData
push edx
call edi
test eax, eax
jne 0x5aced5
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, ecx
ja 0x5ace85
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.004065b0
jmp 0x5ace91
sub eax, ecx
push 0
push eax
mov ecx, esi
call fcn.004039a0
cmp dword [esi + 0x14], 0x10
jb 0x5ace9b
mov eax, dword [esi]
jmp 0x5ace9d
mov eax, esi
lea ecx, [ebp - 0x10]
push ecx
push eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x14]
push edx
push 0
push str.Common_AppData
push eax
call edi
test eax, eax
jne 0x5aced5
cmp dword [esi + 0x14], 0x10
jb 0x5acec1
mov ecx, dword [esi]
jmp 0x5acec3
mov ecx, esi
mov eax, dword [esi + 0x10]
add eax, ecx
dec eax
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, esi
call fcn.005ac720
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5ad300
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x6aab00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.005acde0
add esp, 4
cmp dword [esi + 0x10], 0
je 0x5ad33f
cmp dword [esi + 0x14], 0x10
jb 0x5ad32d
mov eax, dword [esi]
jmp 0x5ad32f
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x5ad33f
test al, 0x10
jne 0x5ad365
push edi
push 0x65b368
call fcn.00567d9c
mov ecx, eax
add esp, 4
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x5ad352
sub ecx, edi
push ecx
push eax
mov ecx, esi
call fcn.00406380
pop edi
cmp dword [esi + 0x10], 0
jne 0x5ad3b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c], eax
mov ecx, 0x65b268
lea esp, [esp]
cmp eax, dword [ecx]
je 0x5ad3b3
add ecx, 8
cmp ecx, 0x65b368
jne 0x5ad380
mov ecx, 1
push 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.005ad120
push 0x695564
lea ecx, [ebp - 0x34]
push ecx
call fcn.00551b4a
mov ecx, dword [ecx + 4]
jmp 0x5ad394
push 0x13
push str._boost_interprocess
mov ecx, esi
call fcn.0059f5f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0054cec4
mov esp, ebp
pop ebp
ret
Function at 0x5adf70
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61c8cb
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6aab00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x24]
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
mov dword [edi], edx
push 0x20
call fcn.0044cd98
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x5adfe7
mov ecx, dword [esi + 0x24]
push ebx
mov edx, dword [edi]
push edx
push ebx
push ebx
push SysReAllocStringLen
push ecx
mov ecx, eax
call fcn.005ad970
jmp 0x5adfe9
xor eax, eax
mov byte [ebp - 4], bl
push eax
lea ecx, [ebp - 0x24]
call fcn.005acce0
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x1c]
call fcn.005ac810
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24]
call fcn.005ac3e0
mov esi, dword [esi + 0x1c]
mov esi, dword [esi]
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x5ae0e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftWareQMRunnerServName
push SysReAllocStringLen
mov dword [ebp - 8], 0xd
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5ae12e
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 4]
push edx
push eax
push eax
mov eax, dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x5aeab0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, edx
push esi
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5aeac0
sub eax, esi
add eax, edx
mov ecx, 0x811c9dc5
cmp edx, eax
je 0x5aeae4
movsx esi, byte [edx]
imul ecx, ecx, 0x1000193
inc edx
xor ecx, esi
cmp edx, eax
jne 0x5aead4
and ecx, 0x7fffffff
push 0x1f31d
push ecx
call fcn.0054fcb3
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
add esp, 8
sub edx, eax
pop esi
mov eax, edx
jns 0x5aeb10
add eax, 0x7fffffff
pop ebp
ret 4
Function at 0x5b8cf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61d3e6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x6aab00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
xor ebx, ebx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x1c], bl
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x30], ebx
mov dword [ebp - 4], ebx
mov byte [esi + 0x20], bl
push 0x14
mov byte [ebp - 4], 1
mov dword [esi + 0x4c], ebx
call fcn.0044cd98
add esp, 4
cmp eax, ebx
je 0x5b8da4
mov dword [esi + 0x48], eax
mov dword [eax], eax
mov eax, dword [esi + 0x48]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x48]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x48]
mov byte [eax + 0x10], 1
mov ecx, dword [esi + 0x48]
mov byte [ecx + 0x11], 1
mov dword [esi + 0x54], ebx
mov dword [esi + 0x6c], 0xf
mov dword [esi + 0x68], ebx
mov byte [esi + 0x58], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp + 8], ebx
call fcn.0054dd51
push 0x69c03c
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.00551b4a
int3
Function at 0x5ba2b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
cmp esi, dword [eax]
jne 0x5ba2df
cmp ecx, eax
jne 0x5ba2df
mov ecx, ebx
call fcn.005b93b0
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
pop esi
mov dword [eax], ecx
pop ebx
pop ebp
ret 0xc
cmp esi, ecx
je 0x5ba3bd
push edi
mov edx, dword [esi]
mov dword [ebp + 0xc], edx
mov edx, dword [esi + 8]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5ba2f5
sub eax, edi
add eax, edx
mov ecx, 0x811c9dc5
cmp edx, eax
je 0x5ba320
lea esp, [esp]
movsx edi, byte [edx]
imul ecx, ecx, 0x1000193
inc edx
xor ecx, edi
cmp edx, eax
jne 0x5ba310
and ecx, 0x7fffffff
push 0x1f31d
push ecx
call fcn.0054fcb3
imul edx, edx, 0x41a7
imul eax, eax, 0xb14
add esp, 8
sub edx, eax
jns 0x5ba34a
add edx, 0x7fffffff
mov ecx, dword [ebx + 0x20]
mov eax, ecx
and eax, edx
cmp dword [ebx + 0x24], eax
ja 0x5ba35f
shr ecx, 1
or edx, 0xffffffff
sub edx, ecx
add eax, edx
mov ecx, dword [ebx + 0x10]
cmp dword [ecx + eax*8 + 4], esi
lea ecx, [ecx + eax*8]
jne 0x5ba388
cmp dword [ecx], esi
jne 0x5ba380
mov edx, dword [ebx + 4]
mov dword [ecx], edx
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov dword [ecx + eax*8 + 4], edx
jmp 0x5ba390
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x5ba390
cmp dword [ecx], esi
jne 0x5ba390
mov edx, dword [esi]
mov dword [ecx], edx
cmp esi, dword [ebx + 4]
je 0x5ba3b0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
push esi
mov dword [edx + 4], eax
call fcn.0044cdc7
add esp, 4
dec dword [ebx + 8]
mov esi, dword [ebp + 0xc]
cmp esi, dword [ebp + 0x10]
jne 0x5ba2e8
pop edi
mov eax, dword [ebp + 8]
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x5d7810
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 8
test ecx, ecx
je 0x5d7929
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x5d7912
mov dword [ebp - 8], edi
test edi, edi
jle 0x5d790f
push ebx
push esi
mov esi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
cmp edi, 3
jl 0x5d78a9
mov dl, byte [ecx]
movzx ebx, byte [ecx + 1]
movzx edi, dl
mov byte [ebp + 0xb], bl
movzx ebx, byte [ecx + 2]
mov edx, edi
shr edx, 2
movzx edx, byte [edx + esi]
mov byte [eax], dl
movzx edx, byte [ebp + 0xb]
mov byte [ebp - 1], bl
mov ebx, edx
shr ebx, 4
shl edi, 4
or ebx, edi
movzx edi, byte [ebp - 1]
and ebx, 0x3f
movzx ebx, byte [ebx + esi]
mov byte [eax + 1], bl
add edx, edx
mov ebx, edi
add edx, edx
shr ebx, 6
or ebx, edx
and ebx, 0x3f
movzx edx, byte [ebx + esi]
add ecx, 3
and edi, 0x3f
mov byte [eax + 2], dl
movzx edx, byte [edi + esi]
mov edi, dword [ebp - 8]
mov byte [eax + 3], dl
jmp 0x5d78f9
mov bl, byte [ecx]
inc ecx
cmp edi, 2
jne 0x5d78b6
mov dl, byte [ecx]
inc ecx
jmp 0x5d78b8
xor dl, dl
movzx edi, bl
mov ebx, edi
shr ebx, 2
movzx ebx, byte [ebx + esi]
mov byte [eax], bl
movzx edx, dl
mov ebx, edx
shr ebx, 4
shl edi, 4
or ebx, edi
mov edi, dword [ebp - 8]
and ebx, 0x3f
movzx ebx, byte [ebx + esi]
mov byte [eax + 1], bl
cmp edi, 1
jne 0x5d78e9
mov dl, 0x3d
jmp 0x5d78f2
mov edi, dword [ebp - 8]
and edx, 0xf
mov dl, byte [esi + edx*4]
mov byte [eax + 2], dl
mov byte [eax + 3], 0x3d
sub edi, 3
add eax, 4
mov dword [ebp - 8], edi
test edi, edi
jg 0x5d7843
mov edi, dword [ebp + 0xc]
pop esi
pop ebx
mov byte [eax], 0
add edi, 2
mov eax, 0xaaaaaaab
mul edi
mov eax, edx
shr eax, 1
add eax, eax
add eax, eax
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x5da970
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ff53
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6aab00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x38
call fcn.0044cd98
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x5da9f5
lea ecx, [esi + 4]
mov byte [ebp - 4], 1
mov dword [esi], vtable.google::protobuf::SourceCodeInfo_Location.0
call fcn.00609540
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov eax, 0x6aceb0
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5db6d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ff78
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6aab00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
lea ecx, [esi + 4]
mov dword [ebp - 4], edi
mov dword [esi], vtable.google::protobuf::FileDescriptorProto.0
call fcn.00609540
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov eax, 0x6aceb0
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x80], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x84], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5dbb50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ff78
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6aab00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
lea ecx, [esi + 4]
mov dword [ebp - 4], edi
mov dword [esi], vtable.google::protobuf::DescriptorProto.0
call fcn.00609540
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi + 8], 0x6aceb0
mov dword [esi + 0x5c], edi
mov dword [esi + 0x64], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5ddb50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ff78
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6aab00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
lea ecx, [esi + 4]
mov dword [ebp - 4], edi
mov dword [esi], vtable.google::protobuf::UninterpretedOption.0
call fcn.00609540
fldz
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
fstp qword [esi + 0x30]
mov eax, 0x6aceb0
mov dword [esi + 0x18], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x44], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5de940
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ff53
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6aab00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x48
call fcn.0044cd98
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x5de9d3
lea ecx, [esi + 4]
mov byte [ebp - 4], 1
mov dword [esi], vtable.google::protobuf::UninterpretedOption.0
call fcn.00609540
fldz
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
fstp qword [esi + 0x30]
mov eax, 0x6aceb0
mov dword [esi + 0x18], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x44], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5fdfe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x6aab00]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x5fe05a
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x108]
push ecx
push esi
push edx
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x108]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0054cec4
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5fe070
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6aab00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
push eax
push str.open
push 0
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x5fe17e
lea eax, [ebp - 0x20c]
push eax
push str..htm
push SysReAllocStringLen
mov ecx, edi
call fcn.005fdfe0
test eax, eax
jne 0x5fe1a5
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str._shellopencommand
lea ecx, [ebp - 0x20c]
push ecx
call ebx
lea edx, [ebp - 0x20c]
push edx
mov eax, edx
push eax
push SysReAllocStringLen
mov ecx, edi
call fcn.005fdfe0
test eax, eax
jne 0x5fe190
lea ecx, [ebp - 0x20c]
push 0x661e9c
push ecx
call fcn.0054dbe0
mov esi, eax
add esp, 8
test esi, esi
jne 0x5fe154
lea edx, [ebp - 0x20c]
push 0x661e98
push edx
call fcn.0054e670
mov esi, eax
add esp, 8
test esi, esi
jne 0x5fe154
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [ebp + eax - 0x20d]
jmp 0x5fe157
mov byte [esi], 0
push 0x6404c8
push esi
call ebx
mov ecx, dword [ebp - 0x214]
push ecx
push esi
call ebx
mov edx, dword [ebp - 0x210]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054cec4
mov esp, ebp
pop ebp
ret 8
pop ebx
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054cec4
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0054cec4
mov esp, ebp
pop ebp
ret 8