joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fbc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49be98
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4c2618]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4c2618]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x42fd16
cmp byte [ebx + 0x46], 0
je 0x42fd16
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
jne 0x42fc2b
xor al, al
jmp 0x42fd18
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x42fca3
dec eax
je 0x42fca7
sub eax, 2
je 0x42fcfd
xor bl, bl
jmp 0x42fcff
mov byte [ebx + 0x46], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x42fcde
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00468d7d
add esp, 0x10
cmp esi, eax
jne 0x42fc9f
cmp byte [ebx + 0x46], 0
je 0x42fcfd
test esi, esi
jne 0x42fc62
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00405a20
jmp 0x42fc62
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x42fd12
push dword [esp + 0x18]
call fcn.00466e37
add esp, 4
mov al, bl
jmp 0x42fd18
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00466e3c
mov esp, ebp
pop ebp
ret
Function at 0x43ae70
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push ecx
mov edi, edx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x43aff3
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_init
push eax
call ebx
push str.bdnimbus_uninit
push dword [edi]
test eax, eax
mov dword [edi + 4], eax
mov ecx, 1
cmove esi, ecx
call ebx
mov dword [edi + 8], eax
test eax, eax
jne 0x43aeb4
inc esi
push str.bdnimbus_push_info
push dword [edi]
call ebx
mov dword [edi + 0xc], eax
test eax, eax
jne 0x43aec5
inc esi
push str.bdnimbus_push_json
push dword [edi]
call ebx
mov dword [edi + 0x10], eax
test eax, eax
jne 0x43aed6
inc esi
push str.bdnimbus_push_bin
push dword [edi]
call ebx
mov dword [edi + 0x14], eax
test eax, eax
jne 0x43aee7
inc esi
push str.bdnimbus_ask
push dword [edi]
call ebx
mov dword [edi + 0x18], eax
test eax, eax
jne 0x43aef8
inc esi
push str.bdnimbus_ask_json
push dword [edi]
call ebx
mov dword [edi + 0x1c], eax
test eax, eax
jne 0x43af09
inc esi
push str.bdnimbus_ask_bin
push dword [edi]
call ebx
mov dword [edi + 0x20], eax
test eax, eax
jne 0x43af1a
inc esi
push str.bdnimbus_ask_async
push dword [edi]
call ebx
mov dword [edi + 0x24], eax
test eax, eax
jne 0x43af2b
inc esi
push str.bdnimbus_ask_json_async
push dword [edi]
call ebx
mov dword [edi + 0x28], eax
test eax, eax
jne 0x43af3c
inc esi
push str.bdnimbus_ask_bin_async
push dword [edi]
call ebx
mov dword [edi + 0x2c], eax
test eax, eax
jne 0x43af4d
inc esi
push str.bdnimbus_free_response
push dword [edi]
call ebx
mov dword [edi + 0x30], eax
test eax, eax
jne 0x43af5e
inc esi
push str.bdnimbus_text
push dword [edi]
call ebx
mov dword [edi + 0x34], eax
test eax, eax
jne 0x43af6f
inc esi
push str.bdnimbus_set_option
push dword [edi]
call ebx
mov dword [edi + 0x38], eax
test eax, eax
jne 0x43af80
inc esi
push str.bdnimbus_set_optionv
push dword [edi]
call ebx
mov dword [edi + 0x3c], eax
test eax, eax
jne 0x43af91
inc esi
push str.bdnimbus_get_option
push dword [edi]
call ebx
mov dword [edi + 0x40], eax
test eax, eax
jne 0x43afa2
inc esi
push str.bdnimbus_file_upload
push dword [edi]
call ebx
mov dword [edi + 0x44], eax
test eax, eax
jne 0x43afb3
inc esi
push str.bdnimbus_file_upload_async
push dword [edi]
call ebx
mov dword [edi + 0x48], eax
test eax, eax
jne 0x43afc4
inc esi
push str.bdnimbus_mem_upload
push dword [edi]
call ebx
mov dword [edi + 0x4c], eax
test eax, eax
jne 0x43afd5
inc esi
push str.bdnimbus_mem_upload_async
push dword [edi]
call ebx
mov dword [edi + 0x50], eax
pop ebx
test eax, eax
jne 0x43afe7
inc esi
test esi, esi
je 0x43b001
push dword [edi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
call fcn.00467758
add esp, 4
xor eax, eax
pop edi
pop esi
ret
mov eax, edi
pop edi
pop esi
ret
Function at 0x43f010
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a047e
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x4c2618]
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 esi, edx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push eax
push 0x201
push 0
push esi
push ecx
mov dword [ebp - 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
je 0x43f0de
sub esp, 8
lea ecx, [ebp - 0xe0]
call fcn.00403750
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x2c], str.GetRegKeyValue
mov edx, str.RegOpenKeyEx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xd0]
call fcn.00407bd0
mov edx, esi
lea ecx, [ebp - 0xd0]
call fcn.00408070
mov edx, 0x4ae074
lea ecx, [ebp - 0xd0]
call fcn.00407bd0
push edi
lea ecx, [ebp - 0xd0]
call fcn.0041fd70
lea ecx, [ebp - 0xe0]
mov dword [ebp - 4], 0xffffffff
call fcn.00402230
xor al, al
jmp 0x43f1e3
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x7fff
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.0041ff20
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
sub eax, esi
and eax, 0xfffffffe
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push esi
push 0
push 0
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x43f15e
cmp word [esi], ax
jne 0x43f13e
xor ecx, ecx
push ecx
mov ecx, dword [ebp - 0x28]
push esi
call fcn.0040d860
jmp 0x43f1c6
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f143
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x28]
push esi
call fcn.0040d860
jmp 0x43f1c6
sub esp, 8
lea ecx, [ebp - 0xe0]
call fcn.00403750
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x2c], str.GetRegKeyValue
mov edx, str.RegQueryValueEx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
call fcn.00407bd0
mov edx, ebx
lea ecx, [ebp - 0xd0]
call fcn.00408070
mov edx, 0x4ae074
lea ecx, [ebp - 0xd0]
call fcn.00407bd0
push edi
lea ecx, [ebp - 0xd0]
call fcn.0041fd70
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 1
call fcn.00402230
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete bl
test esi, esi
je 0x43f1e1
push esi
call fcn.00466e37
add esp, 4
mov al, bl
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.00466e3c
mov esp, ebp
pop ebp
ret
Function at 0x43f200
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a04d1
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x4c2618]
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 esi, edx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
push 0x202
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
je 0x43f369
sub esp, 8
lea ecx, [ebp - 0xd0]
call fcn.00403750
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x1c], str.SetRegKeyValue
mov edx, str.RegOpenKeyEx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00407bd0
mov edx, esi
lea ecx, [ebp - 0xc0]
call fcn.00408070
mov edx, 0x4ae074
lea ecx, [ebp - 0xc0]
call fcn.00407bd0
push ebx
lea ecx, [ebp - 0xc0]
call fcn.0041fd70
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0xffffffff
call fcn.00402230
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf023f
push 0
push 0
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test ebx, ebx
je 0x43f369
sub esp, 8
lea ecx, [ebp - 0xd0]
call fcn.00403750
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x1c], str.SetRegKeyValue
mov edx, str.RegCreateKeyEx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc0]
call fcn.00407bd0
mov edx, esi
lea ecx, [ebp - 0xc0]
call fcn.00408070
mov edx, 0x4ae074
lea ecx, [ebp - 0xc0]
call fcn.00407bd0
push ebx
lea ecx, [ebp - 0xc0]
call fcn.0041fd70
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0xffffffff
call fcn.00402230
xor al, al
jmp 0x43f423
mov ecx, edi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f370
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
mov edi, dword [ebp - 0x18]
push 1
push 0
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x43f413
sub esp, 8
lea ecx, [ebp - 0x188]
call fcn.00403750
mov dword [ebp - 0xd8], 4
mov dword [ebp - 0xd4], str.SetRegKeyValue
mov edx, str.RegSetValueEx
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x178]
call fcn.00407bd0
mov edx, edi
lea ecx, [ebp - 0x178]
call fcn.00408070
mov edx, 0x4ae074
lea ecx, [ebp - 0x178]
call fcn.00407bd0
push esi
lea ecx, [ebp - 0x178]
call fcn.0041fd70
lea ecx, [ebp - 0x188]
mov dword [ebp - 4], 0xffffffff
call fcn.00402230
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
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.00466e3c
mov esp, ebp
pop ebp
ret
Function at 0x43f440
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0516
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x4c2618]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
push 0x202
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
je 0x43f50c
sub esp, 8
lea ecx, [ebp - 0xd4]
call fcn.00403750
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x20], str.DeleteRegKeyValue
mov edx, str.RegOpenKeyEx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.00407bd0
mov edx, esi
lea ecx, [ebp - 0xc4]
call fcn.00408070
mov edx, 0x4ae074
lea ecx, [ebp - 0xc4]
call fcn.00407bd0
push ebx
lea ecx, [ebp - 0xc4]
call fcn.0041fd70
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 0xffffffff
call fcn.00402230
xor al, al
jmp 0x43f5a0
push edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test esi, esi
je 0x43f590
sub esp, 8
lea ecx, [ebp - 0x18c]
call fcn.00403750
mov dword [ebp - 0xdc], 4
mov dword [ebp - 0xd8], str.DeleteRegKeyValue
mov edx, str.RegDeleteValue
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x17c]
call fcn.00407bd0
mov edx, edi
lea ecx, [ebp - 0x17c]
call fcn.00408070
mov edx, 0x4ae074
lea ecx, [ebp - 0x17c]
call fcn.00407bd0
push esi
lea ecx, [ebp - 0x17c]
call fcn.0041fd70
lea ecx, [ebp - 0x18c]
mov dword [ebp - 4], 0xffffffff
call fcn.00402230
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00466e3c
mov esp, ebp
pop ebp
ret
Function at 0x43f5c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0556
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x4c2618]
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, edx
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
push 0x201
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
je 0x43f68c
sub esp, 8
lea ecx, [ebp - 0xd0]
call fcn.00403750
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x1c], str.GetRegKeyValue
mov edx, str.RegOpenKeyEx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00407bd0
mov edx, edi
lea ecx, [ebp - 0xc0]
call fcn.00408070
mov edx, 0x4ae074
lea ecx, [ebp - 0xc0]
call fcn.00407bd0
push ebx
lea ecx, [ebp - 0xc0]
call fcn.0041fd70
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0xffffffff
call fcn.00402230
xor al, al
jmp 0x43f752
push 0x7fff
mov ecx, esi
call fcn.00415e30
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push ecx
push 0
push 0
push str.UserInfo
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x43f6cb
push dword [ebp - 0x14]
mov ecx, esi
call fcn.00415e30
jmp 0x43f742
sub esp, 8
lea ecx, [ebp - 0x188]
call fcn.00403750
mov dword [ebp - 0xd8], 4
mov dword [ebp - 0xd4], str.GetRegKeyValue
mov edx, str.RegQueryValueEx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x178]
call fcn.00407bd0
mov edx, str.UserInfo
lea ecx, [ebp - 0x178]
call fcn.00408070
mov edx, 0x4ae074
lea ecx, [ebp - 0x178]
call fcn.00407bd0
push edi
lea ecx, [ebp - 0x178]
call fcn.0041fd70
lea ecx, [ebp - 0x188]
mov dword [ebp - 4], 0xffffffff
call fcn.00402230
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
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.00466e3c
mov esp, ebp
pop ebp
ret
Function at 0x43f770
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a05a1
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x4c2618]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
push 0x202
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
je 0x43f8d3
sub esp, 8
lea ecx, [ebp - 0xd4]
call fcn.00403750
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x20], str.SetRegKeyValue
mov edx, str.RegOpenKeyEx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.00407bd0
mov edx, esi
lea ecx, [ebp - 0xc4]
call fcn.00408070
mov edx, 0x4ae074
lea ecx, [ebp - 0xc4]
call fcn.00407bd0
push edi
lea ecx, [ebp - 0xc4]
call fcn.0041fd70
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 0xffffffff
call fcn.00402230
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0xf023f
push 0
push 0
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test edi, edi
je 0x43f8d3
sub esp, 8
lea ecx, [ebp - 0xd4]
call fcn.00403750
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x20], str.SetRegKeyValue
mov edx, str.RegCreateKeyEx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.00407bd0
mov edx, esi
lea ecx, [ebp - 0xc4]
call fcn.00408070
mov edx, 0x4ae074
lea ecx, [ebp - 0xc4]
call fcn.00407bd0
push edi
lea ecx, [ebp - 0xc4]
call fcn.0041fd70
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 0xffffffff
call fcn.00402230
xor al, al
jmp 0x43f976
push dword [ebp + 0x10]
push ebx
push 3
push 0
push str.UserInfo
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x43f966
sub esp, 8
lea ecx, [ebp - 0x18c]
call fcn.00403750
mov dword [ebp - 0xdc], 4
mov dword [ebp - 0xd8], str.SetRegKeyValue
mov edx, str.RegSetValueEx
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x17c]
call fcn.00407bd0
mov edx, str.UserInfo
lea ecx, [ebp - 0x17c]
call fcn.00408070
mov edx, 0x4ae074
lea ecx, [ebp - 0x17c]
call fcn.00407bd0
push esi
lea ecx, [ebp - 0x17c]
call fcn.0041fd70
lea ecx, [ebp - 0x18c]
mov dword [ebp - 4], 0xffffffff
call fcn.00402230
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00466e3c
mov esp, ebp
pop ebp
ret
Function at 0x43f9a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a05e6
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x4c2618]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
push 0x201
push 0
push str..DEFAULTSoftwareSetID
push SysStringLen
mov dword [ebp - 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x43fa70
sub esp, 8
lea ecx, [ebp - 0xd8]
call fcn.00403750
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x24], str.GetRegKeyValue
mov edx, str.RegOpenKeyEx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.00407bd0
mov edx, str..DEFAULTSoftwareSetID
lea ecx, [ebp - 0xc8]
call fcn.00408070
mov edx, 0x4ae074
lea ecx, [ebp - 0xc8]
call fcn.00407bd0
push esi
lea ecx, [ebp - 0xc8]
call fcn.0041fd70
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0xffffffff
call fcn.00402230
xor al, al
jmp 0x43fb2a
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push 0
push 0x4b18d8
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x43faa3
cmp dword [ebp - 0x14], 4
je 0x43fb1a
xor al, al
jmp 0x43fb2a
sub esp, 8
lea ecx, [ebp - 0x190]
call fcn.00403750
mov dword [ebp - 0xe0], 4
mov dword [ebp - 0xdc], str.GetRegKeyValue
mov edx, str.RegQueryValueEx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x180]
call fcn.00407bd0
mov edx, 0x4b18d8
lea ecx, [ebp - 0x180]
call fcn.00408070
mov edx, 0x4ae074
lea ecx, [ebp - 0x180]
call fcn.00407bd0
push esi
lea ecx, [ebp - 0x180]
call fcn.0041fd70
lea ecx, [ebp - 0x190]
mov dword [ebp - 4], 0xffffffff
call fcn.00402230
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00466e3c
mov esp, ebp
pop ebp
ret
Function at 0x443fa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49be42
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4c2618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
mov dword [esi], 0x4ad1cc
mov dword [esi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea edi, [esi + 4]
mov eax, dword [esi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push ecx
push edi
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.0040c1d0
mov dword [ebp - 4], 2
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + esi - 4], eax
mov ecx, edi
call fcn.00405e20
lea eax, [edi + 4]
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [edi + 0xc], eax
lea ecx, [edi + 8]
lea eax, [edi + 0x14]
mov byte [edi + 0x4c], 0
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov byte [edi + 0x45], 0
mov dword [edi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x4c9ab8]
mov dword [edi + 0x50], 0
mov dword [edi + 0x48], eax
mov dword [edi + 0x40], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x4440c7
mov eax, dword [eax]
push ecx
push 2
push eax
mov ecx, edi
call fcn.00410330
test eax, eax
jne 0x4440ff
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x4440ed
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x4440ff
push 0
call fcn.0040e060
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 0x10
Function at 0x4443d0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4c2618]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x28], 0x10
push esi
mov word [ebp - 0x24], ax
xorps xmm0, xmm0
mov dword [ebp - 0xa], eax
mov esi, ecx
mov word [ebp - 6], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
movq qword [ebp - 0x12], xmm0
push eax
movdqu xmmword [ebp - 0x22], xmm0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x444427
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00466e3c
mov esp, ebp
pop ebp
ret
cmp word [ebp - 0x24], 0
jne 0x444432
xor eax, eax
jmp 0x44444f
lea eax, [ebp - 0x24]
lea edx, [eax + 2]
jmp 0x444440
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x444440
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.0040d860
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00466e3c
mov esp, ebp
pop ebp
ret

Function at 0x444910
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4c2618]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x25
push 0
mov esi, ecx
mov dword [ebp - 0xc], 0x25
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x25
push str.5B1674C0_22B8_411D_BD44_56BD4689568B
push eax
mov dword [ebp - 8], eax
call fcn.0046abe0
add esp, 0xc
lea eax, [ebp - 0xc]
push esi
push 4
push 0
push 0
push eax
push 0
lea eax, [ebp + 8]
push eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp eax, 1
mov eax, dword [ebp - 8]
sete bl
test eax, eax
je 0x444975
push eax
call esi
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x44497f
push ecx
call esi
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00466e3c
mov esp, ebp
pop ebp
ret

Function at 0x4449a0
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4c2618]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x25
push 0
mov esi, ecx
mov dword [ebp - 0xc], 0x25
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x25
push str.5B1674C0_22B8_411D_BD44_56BD4689568B
push eax
mov dword [ebp - 8], eax
call fcn.0046abe0
add esp, 0xc
lea eax, [ebp - 0xc]
push esi
push 4
push 0
push 0
push eax
push 0
lea eax, [ebp + 8]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp eax, 1
mov eax, dword [ebp - 8]
sete bl
test eax, eax
je 0x444a05
push eax
call esi
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x444a0f
push ecx
call esi
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00466e3c
mov esp, ebp
pop ebp
ret