joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435eb0
Capabilities:
Delete service

Disassembly:
push esi
push edi
push 0xf003f
push 0
push 0
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x435ed1
pop edi
mov eax, 0x80004003
pop esi
ret
push ebx
push 0xf01ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x435ef7
push esi
mov ebx, 0x80004005
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
pop ebx
pop edi
pop esi
ret
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
neg eax
push edi
sbb ebx, ebx
and ebx, 0x7fffbffb
add ebx, 0x80004005
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
pop ebx
pop edi
pop esi
ret

Function at 0x435f30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.004d9710
mov eax, dword [0x5a33dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x4000
lea eax, [ebp - 0x4004]
mov esi, ecx
push 0
push eax
call fcn.00515b70
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x436022
lea eax, [ebp - 0x4008]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x436022
cmp eax, 0x3fff
ja 0x436022
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x436022
lea eax, [ebp - 0x400c]
push eax
lea eax, [ebp - 0x4010]
push eax
push 0x5823b4
lea eax, [ebp - 0x4004]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x436022
push 0x208
push 0
push 0x5ab300
call fcn.00515b70
mov ecx, dword [ebp - 0x4010]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push 0x103
push 0x5ab300
call fcn.00413f50
add esp, 0x28
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d84d0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004d84d0
mov esp, ebp
pop ebp
ret

Function at 0x436180
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5a33dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edx
test edi, edi
je 0x4361fe
test esi, esi
je 0x4361fe
push 5
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4361fe
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4361f8
mov eax, dword [esi]
mov dword [edi], eax
mov al, byte [esi + 4]
mov byte [edi + 4], al
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4361f8
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d84d0
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.004d84d0
mov esp, ebp
pop ebp
ret
Function at 0x43ece0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5505a8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5a33dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004388c0
mov ecx, dword [ebp + 0x10]
mov esi, eax
mov dword [ebp - 4], 0
lea edi, [esi + 8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
mov eax, dword [ecx]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
movups xmm0, xmmword [ecx + 4]
movups xmmword [edi + 4], xmm0
movq xmm0, qword [ecx + 0x14]
movq qword [edi + 0x14], xmm0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 7
mov word [ecx + 4], ax
mov byte [ebp - 4], 1
mov eax, dword [ecx + 0x1c]
xor ecx, ecx
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 7
mov word [edi + 0x1c], cx
lea ecx, [eax + 2]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43ed87
sub eax, dword [ebp + 0xc]
lea ecx, [edi + 0x1c]
sar eax, 1
push eax
push dword [ebp + 8]
call fcn.00429380
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x20]
mov dword [edi + 0x34], eax
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 0xc
Function at 0x445400
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
imul esi, ebx, 0x4058
mov edi, ecx
add esi, edi
push esi
push dword [esi + 0x28]
mov dword [esi + 0x4038], 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x44544b
mov byte [esi + 0x2c], 0
mov dword [esi + 0x4038], 1
mov ecx, dword [edi + 0x283ec]
test ecx, ecx
je 0x44544b
mov eax, dword [ecx]
push 0
push ebx
push edi
call dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x445479
cmp eax, 0x3e5
je 0x445468
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4
pop edi
mov byte [esi + 0x2c], 1
mov al, 1
mov byte [esi + 0x2d], 0
pop esi
pop ebx
pop ebp
ret 4
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
mov byte [esi + 0x2d], 0
mov al, 1
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4455e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5a33dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
imul edx, ebx, 0x4058
mov esi, ecx
mov ecx, dword [ebp + 0xc]
add edx, esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], edx
lea eax, [edx + 0x14]
imul edi, ebx, 0x4058
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push ecx
push dword [edx + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
add edi, esi
test eax, eax
je 0x445632
xor al, al
jmp 0x445641
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x44567e
mov al, 1
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x2d], al
cmp byte [edi + 0x2d], 0
jne 0x445669
push dword [edi + 0x24]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x445669
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax + 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d84d0
mov esp, ebp
pop ebp
ret 0xc
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push ebx
mov ecx, esi
call fcn.00445400
test al, al
jne 0x445669
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d84d0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4456b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5a33dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
imul edi, ebx, 0x4058
mov esi, ecx
mov dword [ebp - 8], 0
add edi, esi
cmp byte [edi + 0x2c], 0
je 0x44578e
push 0
lea eax, [ebp - 8]
push eax
push edi
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [edi + 0x4038]
sub ecx, 0
je 0x44576a
sub ecx, 1
jne 0x44578e
test eax, eax
je 0x44572d
mov eax, dword [ebp - 8]
test eax, eax
je 0x44572d
mov dword [edi + 0x30], eax
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x44578e
mov edx, dword [ecx]
push 0
push eax
lea eax, [edi + 0x38]
push eax
push ebx
push esi
call dword [edx + 8]
jmp 0x44578e
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push ebx
mov ecx, esi
call fcn.00445400
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x4457f0
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax + 4]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d84d0
mov esp, ebp
pop ebp
ret 4
test eax, eax
je 0x445829
mov dword [edi + 0x4038], 1
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x44578e
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax]
push 0x2000
lea eax, [edi + 0x38]
push 0
push eax
call fcn.00515b70
add esp, 0xc
lea eax, [edi + 0x30]
push edi
push eax
push 0x2000
lea eax, [edi + 0x38]
push eax
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4457c0
xor al, al
jmp 0x4457cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x445805
mov al, 1
mov byte [edi + 0x2c], al
test al, al
jne 0x4457f0
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x4457f0
mov eax, dword [ecx]
lea edx, [edi + 0x38]
push 0
push dword [edi + 0x30]
push edx
push ebx
push esi
call dword [eax + 8]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d84d0
mov esp, ebp
pop ebp
ret 4
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push ebx
mov ecx, esi
call fcn.00445400
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x445829
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax + 4]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d84d0
mov esp, ebp
pop ebp
ret 4
Function at 0x4489a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5948d8
push 0x514d70
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x5a33dc]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], 0
mov dword [ebp - 4], 0
push 0x200
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.00515b70
push edi
push str.SYSTEMCurrentControlSetServices_sParameters
push 0xff
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x438]
push eax
push 0x20219
push 0
lea eax, [ebp - 0x42c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x448abb
mov dword [ebp - 0x434], eax
push 0x210
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00515b70
add esp, 0xc
mov dword [ebp - 0x430], 0x210
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x434]
push eax
push 0
push str.ServiceDll
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x448abb
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x107
jge 0x448abb
push 0x107
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 4], 0xfffffffe
call fcn.00448aed
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004d84d0
mov esp, ebp
pop ebp
ret 4
Function at 0x448c10
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x594918
push 0x514d70
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5a33dc]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x44], edx
mov eax, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], 0
xor edi, edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], edi
mov dword [eax], edi
mov dword [edx], edi
lea eax, [ebp - 0x2c]
push eax
push edi
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x448c86
cmp dword [ebp - 0x2c], edi
je 0x448c86
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x448cbe
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x3f0
jne 0x448da0
lea eax, [ebp - 0x2c]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x448da0
cmp dword [ebp - 0x2c], 0
je 0x448da0
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 2
push dword [ebp - 0x2c]
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call ebx
test eax, eax
jne 0x448da0
cmp dword [ebp - 0x30], eax
jbe 0x448da0
call esi
cmp eax, 0x7a
jne 0x448da0
push dword [ebp - 0x30]
call fcn.0051e301
add esp, 4
mov edi, eax
mov dword [ebp - 0x38], edi
test edi, edi
je 0x448da0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x30]
push edi
push 2
push dword [ebp - 0x2c]
call ebx
test eax, eax
je 0x448da0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x30]
jne 0x448da0
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0x500
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x448da0
cmp dword [ebp - 0x34], 0
je 0x448da0
xor esi, esi
mov dword [ebp - 0x3c], esi
cmp esi, dword [edi]
jae 0x448da0
lea ebx, [edi + esi*8]
push dword [ebp - 0x34]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x448d89
inc esi
jmp 0x448d6c
mov eax, dword [ebp - 0x40]
mov dword [eax], 1
mov eax, dword [ebx + 8]
shr eax, 2
and eax, 1
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.00448dcb
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004d84d0
mov esp, ebp
pop ebp
ret
Function at 0x448fb0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5a33dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
mov esi, ecx
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x210], esi
push eax
mov dword [ebp - 0x210], esi
call fcn.00515b70
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44902b
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x20c]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449047
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00429380
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004d84d0
mov esp, ebp
pop ebp
ret
Function at 0x449df0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551426
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x5a33dc]
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, ecx
test edi, edi
jne 0x449e2a
xor eax, eax
jmp 0x449fc1
push 0x800
xorps xmm0, xmm0
mov dword [ebp - 0x81c], 0
lea eax, [ebp - 0x810]
movq qword [ebp - 0x824], xmm0
push 0
push eax
movups xmmword [ebp - 0x834], xmm0
mov word [ebp - 0x818], 0
call fcn.00515b70
lea edx, [ebp - 0x810]
mov dword [ebp - 0x830], 3
add esp, 0xc
mov ecx, edi
sub edx, edi
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x449e80
lea eax, [ebp - 0x810]
mov dword [ebp - 0x82c], eax
mov eax, 0x614
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x834]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x449fbc
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call esi
test eax, eax
jne 0x449fbc
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x449fbc
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x449eff
push edi
call esi
test eax, eax
jne 0x449fbc
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x449f1e
test al, 0x10
je 0x449f1e
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x449fbc
lea ecx, [ebp - 0x814]
mov dword [ebp - 0x814], 0
call fcn.00427020
push edi
lea ecx, [ebp - 0x838]
mov dword [ebp - 4], 0
call fcn.00426f50
lea edx, [ebp - 0x814]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x838]
call fcn.00449fe0
mov edx, dword [ebp - 0x838]
mov esi, eax
add edx, 0xfffffff0
mov byte [ebp - 4], 2
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x449f7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
test esi, esi
mov esi, dword [ebp - 0x814]
push 0
je 0x449f90
push esi
jmp 0x449f91
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
add esi, 0xfffffff0
mov dword [ebp - 4], 4
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x449fb8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
jmp 0x449fc1
mov eax, 1
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.004d84d0
mov esp, ebp
pop ebp
ret
Function at 0x44a4d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551498
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5a33dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], edx
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x34], eax
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x14], 0
jb 0x44a51f
mov ecx, dword [eax]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x44a529
mov eax, dword [edi]
lea edx, [ebp - 0x14]
push edx
mov edx, dword [ebp - 0x30]
push 0
push 0
push 2
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x44a55b
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x44a632
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
shr eax, 1
push eax
call fcn.00427310
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 8
jb 0x44a597
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x44a59f
mov edi, dword [edi]
lea edx, [ebp - 0x14]
push edx
push ecx
push 0
push 2
push eax
push edi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x44a602
mov edx, dword [ebp - 0x18]
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
cmp edx, 8
jb 0x44a632
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44a5f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44a64f
push edx
push ecx
call fcn.004d8a95
add esp, 8
jmp 0x44a632
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
shr eax, 1
push 0
dec eax
push eax
call fcn.00427310
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov eax, esi
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.004d84d0
mov esp, ebp
pop ebp
ret
call fcn.0051d2db
int3
Function at 0x44a660
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5a33dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x210
lea eax, [ebp - 0x214]
mov esi, ecx
push 0
push eax
call fcn.00515b70
add esp, 0xc
lea eax, [ebp - 0x214]
push 0x108
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
sub esp, 0x10
mov dword [ebp - 0x218], 0
lea eax, [ebp - 0x218]
mov edx, esi
lea ecx, [ebp - 0x214]
push eax
call fcn.004501c0
pop esi
test eax, eax
jne 0x44a6e1
push str._n_Adjustprivilege:_CreateProcess_fail.__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d84d0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004d84d0
mov esp, ebp
pop ebp
ret

Function at 0x44a700
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [0x5a33dc]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
xorps xmm0, xmm0
push edi
movlpd qword [esp + 8], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x28
lea ecx, [esp + 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
test eax, eax
je 0x44a73f
mov esi, dword [esp + 0x60]
xor edi, edi
jmp 0x44a747
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov edx, edi
mov ecx, esi
call fcn.004d96a0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movsd qword [esp + 8], xmm0
call fcn.004d96a0
movsd xmm1, qword [esp + 8]
divsd xmm1, xmm0
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
cvtpd2ps xmm0, xmm1
call fcn.004d84d0
mov esp, ebp
pop ebp
ret
Function at 0x44a9b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55152d
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x5a33dc]
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, edx
mov dword [ebp - 0x438], ebx
mov esi, ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x454], esi
mov dword [ebp - 0x434], 0
push 0
movq qword [esi], xmm0
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00439de0
mov dword [esi], eax
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x434], 1
nop word [eax + eax]
push 0x412
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.00515b70
add esp, 0xc
mov dword [ebp - 0x428], 0x208
lea eax, [ebp - 0x42c]
push 0
push 0
push eax
push 0
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x424]
push eax
push edi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x44ab61
mov dword [ebp - 0x440], eax
inc edi
mov word [ebp - 0x450], ax
lea eax, [ebp - 0x424]
mov dword [ebp - 0x43c], 7
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44aab0
sub eax, edx
lea ecx, [ebp - 0x450]
sar eax, 1
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00429380
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x450]
mov ebx, dword [esi]
push ecx
mov eax, dword [ebx + 4]
push eax
push ebx
mov dword [ebp - 0x430], eax
call fcn.00451e80
mov edx, dword [esi + 4]
mov ecx, 0x7fffffe
sub ecx, edx
cmp ecx, 1
jb 0x44ab84
lea ecx, [edx + 1]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x43c]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x430]
mov dword [ebx + 4], eax
mov dword [ecx], eax
cmp edx, 8
jb 0x44ab56
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44ab4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ab7f
push edx
push ecx
call fcn.004d8a95
add esp, 8
mov ebx, dword [ebp - 0x438]
jmp 0x44aa40
mov eax, esi
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.004d84d0
mov esp, ebp
pop ebp
ret
call fcn.0051d2db
push str.list_T__too_long
call fcn.0045ea3c
int3