joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442340
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x6069b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
test eax, eax
je 0x4424f4
push 0x60bcd8
push 0x100
call fcn.0055246e
xor ebx, ebx
mov dword [ebp - 0x34], vtable.CxAutoArray_unsigned_char_.0
add esp, 8
mov dword [ebp - 0x30], ebx
test eax, eax
je 0x4423a6
mov ebx, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x4423bb
mov esi, dword [edi + 4]
sub esi, dword [edi]
jmp 0x4423bd
xor esi, esi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0
call fcn.0041e000
mov ecx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x4423dc
test eax, eax
je 0x4423e8
test edi, edi
je 0x4423e8
push eax
mov ecx, edi
call fcn.00413500
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push ecx
push 0x100
push ebx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4424ca
mov edx, dword [ebp + 0xc]
nop
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4424ed
test edi, edi
je 0x44246d
mov edx, dword [edi + 4]
xor eax, eax
sub edx, dword [edi]
mov dword [ebp - 0x18], ecx
add dword [ebp - 0x18], esi
adc eax, dword [ebp - 0x1c]
test eax, eax
jb 0x442458
ja 0x44244a
cmp dword [ebp - 0x18], edx
jbe 0x442458
lea eax, [esi + ecx]
mov ecx, edi
push eax
call fcn.00413500
mov ecx, dword [ebp - 0x10]
mov eax, dword [edi]
push ecx
add eax, esi
push ebx
push eax
call fcn.005557b0
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
add esi, ecx
adc eax, 0
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x442499
push ecx
push eax
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x28]
call edx
add esp, 0x24
test eax, eax
je 0x4424ca
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push ecx
push 0x100
push ebx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edx, dword [ebp + 0xc]
test eax, eax
jne 0x442420
xor esi, esi
test ebx, ebx
je 0x4424d9
push ebx
call fcn.005525cc
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 1
jmp 0x4424cc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442510
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585eae
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6069b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
test edi, edi
je 0x44260f
test esi, esi
je 0x44260f
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.00442180
test eax, eax
je 0x4425ca
mov ebx, dword [ebp - 0x18]
test ebx, ebx
setne al
test al, al
je 0x4425ca
mov ecx, ebx
call fcn.0041de90
mov ecx, eax
mov eax, 0x51eb851f
mul ecx
shr edx, 5
cmp edx, 3
je 0x4425a2
cmp edx, 4
je 0x4425ca
cmp edx, 5
je 0x4425ca
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4425b2
lea eax, [ebp - 0x18]
push eax
call fcn.004243d0
sub esp, 8
mov edx, ebx
push dword [ebp + 0xc]
push ecx
push esi
mov ecx, edi
call fcn.00442630
add esp, 0x14
mov ebx, eax
jmp 0x4425cc
xor ebx, ebx
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4425fb
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4425fb
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4425fb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
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
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442e50
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx], vtable.MD5_CTX.0
xorps xmm0, xmm0
mov dword [ecx + 0x18], 0
mov eax, ecx
mov dword [ecx + 0x14], 0
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
movups xmmword [ecx + 0x5c], xmm0
movups xmmword [ecx + 0x6c], xmm0
movups xmmword [ecx + 0x7c], xmm0
movups xmmword [ecx + 0x8c], xmm0
mov byte [ecx + 0x5c], 0x80
ret

Function at 0x442fa0
Capabilities:
Encrypt data using rc4 prga
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x6069b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor edx, edx
push edi
mov edi, dword [ebp + 8]
lea eax, [esi + 0x16]
nop dword [eax]
movzx ecx, byte [eax - 2]
lea eax, [eax + 4]
mov byte [ebp + edx - 0xc], cl
movzx ecx, byte [eax - 5]
mov byte [ebp + edx - 0xb], cl
movzx ecx, byte [eax - 4]
mov byte [ebp + edx - 0xa], cl
movzx ecx, byte [eax - 3]
mov byte [ebp + edx - 9], cl
add edx, 4
cmp edx, 8
jb 0x442fc0
mov edx, dword [esi + 0x14]
lea ebx, [esi + 0x5c]
shr edx, 3
mov ecx, 0x38
and edx, 0x3f
mov eax, 0x78
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovb eax, ecx
mov ecx, esi
push eax
push ebx
call fcn.00442ed0
push 8
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.00442ed0
lea ecx, [edi + 1]
mov edi, 4
lea edx, [esi + 6]
nop dword [eax]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov byte [ecx - 1], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 5]
mov byte [ecx - 4], al
movzx eax, byte [edx - 4]
mov byte [ecx - 3], al
movzx eax, byte [edx - 3]
mov byte [ecx - 2], al
sub edi, 1
jne 0x443030
xor eax, eax
mov edi, esi
xorps xmm0, xmm0
mov ecx, 0x27
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 4]
mov dword [esi + 0x18], eax
xor ecx, ebp
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
movups xmmword [ebx], xmm0
pop edi
movups xmmword [ebx + 0x10], xmm0
pop esi
movups xmmword [ebx + 0x20], xmm0
movups xmmword [ebx + 0x30], xmm0
mov byte [ebx], 0x80
pop ebx
call fcn.00551ee1
mov esp, ebp
pop ebp
ret 4
Function at 0x448140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5806c6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6069b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.005523d2
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0054ffd8
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
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 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, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44b740
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov eax, edi
mov dword [ebp - 4], eax
test edx, edx
je 0x44b78f
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x44b7a5
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x44b789
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push 0
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x44b7b3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44bc10
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d10
call fcn.00552fe0
mov eax, dword [0x6069b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x2d10], eax
test eax, eax
je 0x44bd76
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
nop
push esi
push str..PhysicalDrive_d
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.0044b7c0
add esp, 0x10
lea eax, [ebp - 0x204]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44bd59
push 0x2710
xorps xmm0, xmm0
mov dword [ebp - 0x2d0c], 0
lea eax, [ebp - 0x2cfc]
movq qword [ebp - 0x2d08], xmm0
push 0
push eax
mov dword [ebp - 0x2d00], 0
mov dword [ebp - 0x2d08], 0
mov dword [ebp - 0x2d04], 0
call fcn.00555650
add esp, 0xc
lea eax, [ebp - 0x2d0c]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2cfc]
push eax
push 0xc
lea eax, [ebp - 0x2d08]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x44bd4e
push 0x3e8
lea eax, [ebp - 0x5ec]
push 0
push eax
call fcn.00555650
mov edx, dword [ebp - 0x2ce4]
lea eax, [ebp - 0x5ec]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x2cfc]
call fcn.0044db70
add esp, 8
lea eax, [ebp - 0x5ec]
mov edx, 0x64
push SysReAllocString
push eax
push ecx
mov ecx, dword [ebp - 0x2d10]
call fcn.00437ef0
test eax, eax
mov eax, 1
cmove ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x44bd63
inc esi
cmp esi, 0x10
jl 0x44bc40
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00551ee1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00551ee1
mov esp, ebp
pop ebp
ret
Function at 0x44c090
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f4
mov eax, dword [0x6069b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x4f4], ebx
test ebx, ebx
je 0x44c289
push esi
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00555650
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x4e0]
add esp, 0xc
push eax
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x44c258
push edi
xor edi, edi
mov dword [ebp - 0x4e4], 0x104
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x2d4]
push eax
push edi
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x44c249
lea eax, [ebp - 0x4e8]
push eax
push 1
push 0
lea eax, [ebp - 0x2d4]
push eax
push dword [ebp - 0x4e0]
call esi
test eax, eax
jne 0x44c213
lea eax, [ebp - 0x4ec]
mov dword [ebp - 0x4f0], 1
push eax
lea eax, [ebp - 0x4dc]
mov dword [ebp - 0x4ec], 0x208
push eax
lea eax, [ebp - 0x4f0]
push eax
push 0
push str.ServiceName
push dword [ebp - 0x4e8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44c20b
push 0x64
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.00555650
add esp, 8
lea edx, [ebp - 0xcc]
lea ecx, [ebp - 0x4dc]
call fcn.0044bf70
add esp, 4
test eax, eax
je 0x44c20b
cmp byte [ebp - 0x68], 0
je 0x44c1cf
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jns 0x44c20b
lea ecx, [ebp - 0x68]
mov edx, 0x64
lea esi, [ebp - 0xcc]
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7fffff9a]
test eax, eax
je 0x44c1fa
mov al, byte [esi + ecx]
test al, al
je 0x44c1fa
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x44c1e1
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov byte [eax], 0
push dword [ebp - 0x4e8]
call ebx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x4e4]
mov dword [ebp - 0x4e4], 0x104
push eax
lea eax, [ebp - 0x2d4]
inc edi
push eax
push edi
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x44c124
push dword [ebp - 0x4e0]
call ebx
mov ebx, dword [ebp - 0x4f4]
pop edi
cmp byte [ebp - 0x68], 0
pop esi
je 0x44c289
push SysReAllocString
lea eax, [ebp - 0x68]
mov edx, 0x64
push eax
push ecx
mov ecx, ebx
call fcn.00437ef0
not eax
shr eax, 0x1f
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00551ee1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.00551ee1
mov esp, ebp
pop ebp
ret
Function at 0x44c8a0
Capabilities:
Check os version
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586c78
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6069b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x10], 0
mov dword [ebp - 4], 0
je 0x44c926
mov eax, dword [0x607884]
mov esi, dword [ebp + 8]
cmp eax, 0xffffffff
jne 0x44c90a
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x44c8f5
mov dword [0x607884], 1
jmp 0x44c90e
push esi
push dword [ebp + 0xc]
mov dword [0x607884], 0
call fcn.0044d890
jmp 0x44c951
test eax, eax
je 0x44c91b
push esi
push dword [ebp + 0xc]
call fcn.0044c990
test eax, eax
jne 0x44c951
push esi
push dword [ebp + 0xc]
call fcn.0044d890
jmp 0x44c951
push dword [ebp + 0xc]
call fcn.0044d5b0
mov edi, dword [ebp + 0xc]
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call esi
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44c973
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44d890
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586e96
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x6069b0]
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 ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x21c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44da2c
mov edi, dword [ebp - 0x21c]
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], eax
call fcn.00402a00
mov ecx, eax
test ecx, ecx
jne 0x44d940
push 0x80004005
call fcn.00402a80
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x21c]
push dword [esi + 8]
push dword [esi]
push str.__s___s
push eax
call fcn.00406400
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00555650
add esp, 0x1c
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
call fcn.0044daf0
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.0055edc9
add esp, 8
test eax, eax
je 0x44d9f6
test esi, esi
jne 0x44d9cb
lea eax, [esi + 0xd]
jmp 0x44d9fc
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44d9d0
sub eax, edx
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x44d9fc
mov eax, dword [ebp - 0x220]
xor ebx, ebx
mov byte [ebp - 4], 0
test eax, eax
sete bl
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44da1f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x44da2e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44da2e
xor ebx, ebx
mov eax, ebx
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.00551ee1
mov esp, ebp
pop ebp
ret 8

Function at 0x44da50
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp word [0x60fbf8], 0
mov dword [ebp - 8], 0
jne 0x44da7d
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x100
push eax
push 0x60fbf8
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov ecx, dword [ebp + 8]
push 0x60fbf8
call fcn.00407780
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x44daa0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp word [0x60fdf8], 0
mov dword [ebp - 8], 0
jne 0x44dacf
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x100
push eax
push 0x60fdf8
push 2
call dword [sym.imp.Secur32.dll_GetUserNameExW]
mov ecx, dword [ebp + 8]
push 0x60fdf8
call fcn.00407780
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x44daf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44db61
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x44db2f
cmp eax, 2
jne 0x44db4b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x44db5b
test ecx, ecx
je 0x44db56
test cl, 1
jne 0x44db4b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x44db5b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x450b80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
mov esi, dword [edi]
test esi, esi
je 0x450bdf
mov dword [edi], 0
mov edx, 0x400000
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
cmp esi, 0x400000
mov eax, esi
cmova eax, edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x450be8
test ecx, ecx
je 0x450bdf
mov ecx, dword [ebp - 4]
mov edx, 0x400000
test esi, esi
jne 0x450ba0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450e30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
push ebx
push esi
push edi
nop dword [eax + eax]
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x6104e0], ecx
inc eax
cmp eax, 0x100
jb 0x450e40
cmp eax, 0x800
jae 0x450f13
nop dword [eax]
mov edx, dword [eax*4 + 0x6100e0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x6104e0]
mov dword [eax*4 + 0x6104e0], edx
inc eax
cmp eax, 0x800
jb 0x450ef0
lea ecx, [ebp - 0x20]
mov dword [0x60e138], 0x451b40
call fcn.00451c40
test eax, eax
je 0x450fcc
mov edi, dword [ebp - 0x10]
xor ecx, ecx
mov esi, edi
mov eax, 0x607788
shr esi, 8
shr edi, 4
and esi, 0xff00f
and edi, 0xf00f
xor edx, edx
nop dword [eax]
mov ebx, dword [ebp - 0x1c]
cmp dword [eax - 8], ebx
jne 0x450f67
mov ebx, dword [ebp - 0x18]
cmp dword [eax - 4], ebx
mov ebx, dword [ebp - 0x14]
jne 0x450f67
cmp dword [eax], ebx
je 0x450f76
add edx, 0xc
inc ecx
add eax, 0xc
cmp edx, 0x24
jb 0x450f50
or ecx, 0xffffffff
sub ecx, 0
je 0x450fb3
sub ecx, 1
je 0x450fa2
sub ecx, 1
jne 0x450fcc
cmp esi, 6
jb 0x450fcc
jne 0x450fc2
cmp edi, 0xf
jb 0x450fcc
mov dword [0x60e138], 0x451be0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 5
jb 0x450fcc
jne 0x450fc2
cmp edi, 6
jb 0x450fcc
cmp edi, 0xa
jmp 0x450fc0
cmp esi, 6
jb 0x450fcc
jne 0x450fc2
cmp edi, 0x100c
je 0x450fcc
mov dword [0x60e138], 0x451be0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453920
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov eax, dword [eax]
and eax, 7
cmp edx, 5
jae 0x453940
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
add edx, 0xfffffffc
or ebx, 0xffffffff
add edx, ecx
push esi
mov dword [ebp - 8], edx
nop dword [eax]
lea esi, [edi + ecx]
cmp esi, edx
jae 0x453969
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x453966
inc esi
cmp esi, edx
jb 0x453957
mov ecx, dword [ebp - 4]
mov edi, esi
sub edi, ecx
mov ecx, edi
sub ecx, ebx
cmp esi, edx
jae 0x453a79
cmp ecx, 3
jbe 0x4539a8
xor eax, eax
mov cl, byte [esi + 4]
mov ebx, edi
mov dword [ebp - 0x10], ebx
test cl, cl
je 0x4539e6
cmp cl, 0xff
je 0x4539e6
mov edx, dword [ebp - 8]
and eax, 3
add eax, eax
mov ecx, 1
or eax, 1
add edi, ecx
mov ecx, dword [ebp - 4]
jmp 0x453950
dec ecx
shl eax, cl
and eax, 7
je 0x453980
movzx ecx, byte [eax + 0x5dcb2c]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x5dcb24], 0
mov cl, byte [edx + 4]
je 0x4539d0
test cl, cl
je 0x4539d0
cmp cl, 0xff
jne 0x453980
mov edx, dword [ebp - 8]
and eax, 3
mov ecx, dword [ebp - 4]
add eax, eax
mov ebx, edi
or eax, 1
inc edi
jmp 0x453950
movzx edx, cl
movzx ecx, byte [esi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 1]
shl edx, 8
or edx, ecx
sub edx, edi
lea ebx, [edx - 5]
test eax, eax
je 0x453a42
movzx edx, byte [eax + 0x5dcb2c]
mov ecx, 0x18
shl edx, 3
sub ecx, edx
mov dword [ebp - 0xc], edx
mov edx, ebx
shr edx, cl
test dl, dl
je 0x453a2e
cmp dl, 0xff
jne 0x453a42
mov ecx, 0x20
mov edx, 1
sub ecx, dword [ebp - 0xc]
shl edx, cl
dec edx
xor edx, ebx
jmp 0x453a04
mov edx, dword [ebp - 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
mov byte [esi + 1], bl
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
mov ebx, dword [ebp - 0x10]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
add edi, ecx
mov ecx, dword [ebp - 4]
jmp 0x453950
pop esi
pop ebx
cmp ecx, 3
jbe 0x453a8e
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 7
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret