joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4358d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579e40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
push 8
mov dword [ebp - 0x10], ebx
mov dword [ebx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0054dc34
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00537c99
add esp, 8
mov dword [esi + 4], eax
mov ecx, ebx
mov dword [ebx + 0x34], esi
call fcn.00441210
mov eax, ebx
lea esi, [eax + 8]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea edx, [eax + 0x24]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x2c], edx
mov dword [eax], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [eax + 0x48], 0
mov byte [eax + 0x3d], 0
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [0x5d1e78]
mov dword [eax], 0
mov eax, dword [0x5d1e74]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword [edx + 0x44], ecx
mov ecx, dword [ebp - 0xc]
mov dword [edx + 0x40], eax
mov eax, edx
mov dword [edx + 0x4c], 0
mov dword [edx + 0x38], 0
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43fe00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b885
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
push 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
call fcn.00537f54
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x60], 0
xor eax, eax
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 0x54], eax
mov word [ebp - 0x50], ax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], al
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push 0x59c4a8
push eax
call fcn.00537d96
lea eax, [ebp - 0x3c]
push eax
call fcn.0053816c
movups xmm0, xmmword [eax]
movups xmmword [esi + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 8
push eax
call fcn.00537de1
mov eax, dword [ebp - 0x44]
add esp, 0x10
test eax, eax
je 0x43fecf
push eax
call fcn.00552cc4
add esp, 4
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], 0
test eax, eax
je 0x43fee6
push eax
call fcn.00552cc4
add esp, 4
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], 0
test eax, eax
je 0x43fefd
push eax
call fcn.00552cc4
add esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], 0
test eax, eax
je 0x43ff14
push eax
call fcn.00552cc4
add esp, 4
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x5c], 0
test eax, eax
je 0x43ff2b
push eax
call fcn.00552cc4
add esp, 4
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x64], 0
test eax, eax
je 0x43ff42
push eax
call fcn.00552cc4
add esp, 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x6c], 0
call fcn.00537fac
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x440b70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b97c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
lea edi, [esi + 0x38]
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 0
mov dword [ebp + 8], edi
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x440c17
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 5
lea ecx, [esi + 0x70]
mov al, byte [ebp + 0xc]
mov byte [esi + 0x60], al
push 9
mov byte [esi + 0x68], 9
call fcn.0042c640
lea eax, [ebp + 0xf]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x10]
mov byte [ebp + 0xf], 1
call fcn.00440b20
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x440c5b
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x30

Function at 0x441e10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57afad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.00426eb0
mov eax, dword [ebp + 8]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x3c], 0
mov ebx, dword [eax + 4]
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 1
push eax
call fcn.00443190
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov byte [ebp + 0xb], al
mov byte [ebp - 4], 0
test ebx, ebx
je 0x441ec3
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
test eax, eax
je 0x441ec0
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov al, byte [ebp + 0xb]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x441edc
mov eax, dword [esi + 0xc]
mov ecx, esi
push 0
or eax, 4
push eax
call fcn.0042a640
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4444f0
Capabilities:
Hash data using crc32b

Disassembly:
push ecx
push ebx
push esi
push edi
push 0x400
mov edi, ecx
push 0
push edi
call fcn.0054fa10
add esp, 0xc
xor ecx, ecx
mov dword [esp + 0xc], ecx
nop dword [eax]
xor eax, eax
test cl, 1
je 0x44451b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x444526
bts eax, 6
shr ecx, 1
test cl, 1
je 0x444531
bts eax, 5
shr ecx, 1
test cl, 1
je 0x44453c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x444547
bts eax, 3
shr ecx, 1
test cl, 1
je 0x444552
bts eax, 2
shr ecx, 1
test cl, 1
je 0x44455d
bts eax, 1
test cl, 2
je 0x444566
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [esp + 0xc]
xor edx, edx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
test bl, 1
je 0x444603
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x4445f4
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esi], edx
mov dword [esp + 0xc], ecx
cmp ecx, 0xff
jle 0x444510
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4463a0
Capabilities:
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57bf6d
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x4464cd
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
cmp dword [eax - 0xc], ebx
jne 0x4463e1
mov eax, dword [esi + 0x84]
push 0
push 0x1bb
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
je 0x4464cd
mov dword [ebp - 4], 0
call fcn.0042f110
mov ecx, eax
test ecx, ecx
je 0x446545
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
cmp dword [ecx - 0xc], 0
jne 0x446440
mov ecx, dword [esi + 0x88]
push edx
push dword [ebp - 0x18]
push dword [eax]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
lea eax, [ebp - 0x10]
push dword [esi + 4]
push dword [esi]
push ecx
push dword [esi + 0x8c]
push eax
call fcn.00421a10
mov esi, dword [ebp - 0x10]
add esp, 0x2c
push 0x800000
push 0
push 0
push 0
push esi
push 0x59c89c
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
je 0x4464e2
push 0x2710
push 0x2710
push 0x2710
push 0x2710
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x4464e2
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call edi
push dword [ebp - 0x14]
call edi
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4464cd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4464fa
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x44652b
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov ebx, eax
test ebx, ebx
je 0x446528
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov ebx, eax
push edi
call esi
push dword [ebp - 0x14]
call esi
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0042f690
int3
Function at 0x447900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c07d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40c
push ebx
push esi
push edi
lea ecx, [ebp - 0x414]
mov dword [ebp - 4], 0
call fcn.004444f0
mov esi, dword [ebp + 8]
call fcn.0042f110
mov ecx, eax
test ecx, ecx
je 0x4479f1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0044de70
test al, al
jne 0x44796a
push esi
lea ecx, [ebp - 0x14]
call fcn.0044df50
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x447986
push esi
lea ecx, [ebp - 0x14]
call fcn.0044dfe0
mov eax, dword [ebp - 0x14]
or ebx, 0xffffffff
mov edi, eax
test esi, esi
je 0x4479aa
nop
movzx ecx, byte [edi]
lea edi, [edi + 1]
movzx edx, bl
xor edx, ecx
shr ebx, 8
xor ebx, dword [ebp + edx*4 - 0x414]
sub esi, 1
jne 0x447990
or esi, 0xffffffff
lea edx, [eax - 0x10]
not ebx
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4479c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x4479de
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0042f690
int3
Function at 0x4486a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c235
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 2
call fcn.0042f110
mov ecx, eax
test ecx, ecx
je 0x44881e
mov eax, dword [ecx]
push esi
push edi
call dword [eax + 0xc]
mov edi, eax
lea esi, [edi + 0x10]
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x14], 0x1000
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x448787
mov edx, dword [ebp - 0x14]
test edx, edx
js 0x448828
mov eax, dword [edi + 8]
mov ecx, 1
sub ecx, dword [edi + 0xc]
sub eax, edx
or ecx, eax
jge 0x448730
push edx
lea ecx, [ebp - 0x10]
call fcn.0042f610
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x28]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esi - 8]
push esi
call fcn.00552e53
add esp, 8
test eax, eax
js 0x448828
cmp eax, dword [esi - 8]
jg 0x448828
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esi - 0x10]
mov ecx, edi
call fcn.0042ea10
add eax, 0x10
mov dword [ebx], eax
jmp 0x4487c2
call fcn.0042f110
mov ecx, eax
test ecx, ecx
je 0x448832
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x594824
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.0042f380
test al, al
jne 0x4487c2
push 0
push 0x594824
mov ecx, ebx
call fcn.0042f6b0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4487d9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4487f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x44880b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0042f690
push 0x80070057
call fcn.0042f690
push 0x80004005
call fcn.0042f690
int3
Function at 0x448840
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c26d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 2
push eax
push dword [ebp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4488b9
mov eax, dword [ebp + 0xc]
mov esi, dword [eax - 0xc]
add esi, esi
cmp dword [eax - 4], 1
jle 0x448890
push dword [eax - 0xc]
lea ecx, [ebp + 0xc]
call fcn.0042f500
mov eax, dword [ebp + 0xc]
push esi
push eax
push 1
push dword [ebp + 8]
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
push dword [ebp - 0x10]
test eax, eax
jne 0x4488b3
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x4488bb
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov edx, dword [ebp + 8]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4488d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4488f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x44890a
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x448920
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push esi
lea eax, [esp + 8]
mov dword [esp + 0xc], 4
push eax
push dword [esp + 0x1c]
mov esi, ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x448969
lea eax, [esp + 0xc]
push eax
push esi
push 0
push 0
push dword [esp + 0x24]
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 8]
test eax, eax
jne 0x4489aa
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
mov edx, dword [esp + 0x14]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x448989
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x4489a2
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
pop esi
mov al, bl
pop ebx
add esp, 8
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x44896b
Function at 0x4489c0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebx
lea eax, [esp + 4]
mov dword [esp + 8], ecx
push eax
push dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x448a0d
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x20]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 4]
test eax, eax
je 0x448a07
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x448a0f
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov edx, dword [esp + 0x10]
push esi
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x448a2e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
pop esi
jg 0x448a48
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
pop ebx
add esp, 8
ret
Function at 0x44d200
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
sub esp, 0x208
lea eax, [esp]
push 0x104
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x44d225
or eax, 0xffffffff
add esp, 0x208
ret
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44d243
shr eax, 4
not eax
and eax, 1
add esp, 0x208
ret
xor eax, eax
add esp, 0x208
ret

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

Disassembly:
mov edx, dword [esp + 8]
mov ecx, 0
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x44e661
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x44e650
pop edi
mov eax, esi
pop esi
ret 8
Function at 0x4585d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor ecx, ecx
test esi, esi
je 0x4585fa
mov edx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4585e4
pop edi
mov eax, edx
pop esi
ret
mov eax, dword [esp + 8]
pop esi
ret
Function at 0x458f50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c1f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
push esi
push edi
push 0x27
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
push str.Q3lQ1SRAWgNj00UGCIssHykTpCDMJQAz0stCzU
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x54], xmm0
call fcn.0042d740
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
push str.NVliUcEYtXAwRA4Kg
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], 0
call fcn.0042d740
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 0xf003f
push 0
sub esp, 0x18
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x24], 4
mov ecx, esp
mov esi, 3
push eax
call fcn.0042eb20
lea ecx, [ebp - 0x1c]
call fcn.004451c0
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x1c]
or edi, 0xffffffff
mov dword [ebp - 0x20], eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45903b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x45909c
sub esp, 0x18
lea eax, [ebp - 0x3c]
mov ecx, esp
push eax
call fcn.0042eb20
lea ecx, [ebp - 0x20]
call fcn.004451c0
add esp, 0x18
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push dword [eax]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x45908d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
test eax, eax
cmove esi, dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x28]
cmp ecx, 8
jb 0x4590d2
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4590c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45911d
push ecx
push edx
call fcn.0054dc64
add esp, 8
mov ecx, dword [ebp - 0x40]
cmp ecx, 8
jb 0x459108
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4590fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45911d
push ecx
push edx
call fcn.0054dc64
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00552b3f
int3