joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445490
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x5b03ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x5ba298
mov dword [ebp - 0x68], 0x4f0053
lea esi, [ebp - 0x68]
mov dword [ebp - 0x64], 0x540046
push edi
mov dword [ebp - 0x60], 0x410057
mov edx, 0x32
mov dword [ebp - 0x5c], 0x450052
sub esi, eax
mov dword [ebp - 0x58], 0x4d005c
mov dword [ebp - 0x54], 0x630069
mov dword [ebp - 0x50], 0x6f0072
mov dword [ebp - 0x4c], 0x6f0073
mov dword [ebp - 0x48], 0x740066
mov dword [ebp - 0x44], 0x57005c
mov dword [ebp - 0x40], 0x6e0069
mov dword [ebp - 0x3c], 0x6f0064
mov dword [ebp - 0x38], 0x730077
mov dword [ebp - 0x34], 0x43005c
mov dword [ebp - 0x30], 0x720075
mov dword [ebp - 0x2c], 0x650072
mov dword [ebp - 0x28], 0x74006e
mov dword [ebp - 0x24], 0x650056
mov dword [ebp - 0x20], 0x730072
mov dword [ebp - 0x1c], 0x6f0069
mov dword [ebp - 0x18], 0x5c006e
mov dword [ebp - 0x14], 0x460055
mov dword [ebp - 0x10], 0x5c0048
mov dword [ebp - 0xc], 0x480053
mov dword [ebp - 8], 0x43
lea ecx, [edx + 0x7fffffcc]
test ecx, ecx
je 0x44557f
movzx ecx, word [esi + eax]
test cx, cx
je 0x44557f
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x445561
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4cdc
mov esp, ebp
pop ebp
ret

Function at 0x4455a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x5b03ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x5ba300
mov dword [ebp - 0x68], 0x4f0053
lea esi, [ebp - 0x68]
mov dword [ebp - 0x64], 0x540046
push edi
mov dword [ebp - 0x60], 0x410057
mov edx, 0x32
mov dword [ebp - 0x5c], 0x450052
sub esi, eax
mov dword [ebp - 0x58], 0x4d005c
mov dword [ebp - 0x54], 0x630069
mov dword [ebp - 0x50], 0x6f0072
mov dword [ebp - 0x4c], 0x6f0073
mov dword [ebp - 0x48], 0x740066
mov dword [ebp - 0x44], 0x57005c
mov dword [ebp - 0x40], 0x6e0069
mov dword [ebp - 0x3c], 0x6f0064
mov dword [ebp - 0x38], 0x730077
mov dword [ebp - 0x34], 0x43005c
mov dword [ebp - 0x30], 0x720075
mov dword [ebp - 0x2c], 0x650072
mov dword [ebp - 0x28], 0x74006e
mov dword [ebp - 0x24], 0x650056
mov dword [ebp - 0x20], 0x730072
mov dword [ebp - 0x1c], 0x6f0069
mov dword [ebp - 0x18], 0x5c006e
mov dword [ebp - 0x14], 0x460055
mov dword [ebp - 0x10], 0x5c0048
mov dword [ebp - 0xc], 0x480053
mov dword [ebp - 8], 0x43
lea ecx, [edx + 0x7fffffcc]
test ecx, ecx
je 0x44568f
movzx ecx, word [esi + eax]
test cx, cx
je 0x44568f
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x445671
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4cdc
mov esp, ebp
pop ebp
ret
Function at 0x446890
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x5b03ec]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x94], 0x4f0053
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x94]
mov eax, 0x5ba368
mov dword [ebp - 0x90], 0x540046
push edi
mov dword [ebp - 0x8c], 0x410057
mov edx, 0x47
mov dword [ebp - 0x88], 0x450052
sub esi, eax
mov dword [ebp - 0x84], 0x4d005c
mov dword [ebp - 0x80], 0x630069
mov dword [ebp - 0x7c], 0x6f0072
mov dword [ebp - 0x78], 0x6f0073
mov dword [ebp - 0x74], 0x740066
mov dword [ebp - 0x70], 0x57005c
mov dword [ebp - 0x6c], 0x6e0069
mov dword [ebp - 0x68], 0x6f0064
mov dword [ebp - 0x64], 0x730077
mov dword [ebp - 0x60], 0x43005c
mov dword [ebp - 0x5c], 0x720075
mov dword [ebp - 0x58], 0x650072
mov dword [ebp - 0x54], 0x74006e
mov dword [ebp - 0x50], 0x650056
mov dword [ebp - 0x4c], 0x730072
mov dword [ebp - 0x48], 0x6f0069
mov dword [ebp - 0x44], 0x5c006e
mov dword [ebp - 0x40], 0x780045
mov dword [ebp - 0x3c], 0x6c0070
mov dword [ebp - 0x38], 0x72006f
mov dword [ebp - 0x34], 0x720065
mov dword [ebp - 0x30], 0x55005c
mov dword [ebp - 0x2c], 0x650073
mov dword [ebp - 0x28], 0x410072
mov dword [ebp - 0x24], 0x730073
mov dword [ebp - 0x20], 0x730069
mov dword [ebp - 0x1c], 0x5c0074
mov dword [ebp - 0x18], 0x730025
mov dword [ebp - 0x14], 0x43005c
mov dword [ebp - 0x10], 0x75006f
mov dword [ebp - 0xc], 0x74006e
lea ecx, [edx + 0x7fffffb7]
test ecx, ecx
je 0x4469e0
movzx ecx, word [esi + eax]
test cx, cx
je 0x4469e0
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4469c2
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4cdc
mov esp, ebp
pop ebp
ret
Function at 0x448500
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x5b03ec]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x591c40]
mov eax, 0x5ba4b0
movups xmmword [ebp - 0x64], xmm0
mov edx, 0x5d
mov dword [ebp - 0x14], 0x202c6461
movaps xmm0, xmmword [0x591c70]
movups xmmword [ebp - 0x54], xmm0
push esi
movaps xmm0, xmmword [0x591c90]
lea esi, [ebp - 0x64]
movups xmmword [ebp - 0x44], xmm0
sub esi, eax
mov dword [ebp - 0x10], 0x6f727265
movaps xmm0, xmmword [0x591c80]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0xc], 0x203d2072
movaps xmm0, xmmword [0x591c60]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 8], 0
lea ecx, [edx + 0x7fffffa1]
test ecx, ecx
je 0x448589
mov cl, byte [esi + eax]
test cl, cl
je 0x448589
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x448570
test edx, edx
lea ecx, [eax - 1]
pop esi
cmovne ecx, eax
mov byte [ecx], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4cdc
mov esp, ebp
pop ebp
ret
Function at 0x449870
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 0x4498bb
mov byte [esi + 0x2c], 0
mov dword [esi + 0x4038], 1
mov ecx, dword [edi + 0x283ec]
test ecx, ecx
je 0x4498bb
mov eax, dword [ecx]
push 0
push ebx
push edi
call dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x4498e9
cmp eax, 0x3e5
je 0x4498d8
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 0x449900
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5b03ec]
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 0x449952
xor al, al
jmp 0x449961
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x44999e
mov al, 1
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x2d], al
cmp byte [edi + 0x2d], 0
jne 0x449989
push dword [edi + 0x24]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x449989
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.004e4cdc
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.00449870
test al, al
jne 0x449989
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e4cdc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4499d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5b03ec]
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 0x449aae
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 0x449a8a
sub ecx, 1
jne 0x449aae
test eax, eax
je 0x449a4d
mov eax, dword [ebp - 8]
test eax, eax
je 0x449a4d
mov dword [edi + 0x30], eax
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x449aae
mov edx, dword [ecx]
push 0
push eax
lea eax, [edi + 0x38]
push eax
push ebx
push esi
call dword [edx + 8]
jmp 0x449aae
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push ebx
mov ecx, esi
call fcn.00449870
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x449b10
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.004e4cdc
mov esp, ebp
pop ebp
ret 4
test eax, eax
je 0x449b49
mov dword [edi + 0x4038], 1
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x449aae
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.00521d00
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 0x449ae0
xor al, al
jmp 0x449aef
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x449b25
mov al, 1
mov byte [edi + 0x2c], al
test al, al
jne 0x449b10
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x449b10
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.004e4cdc
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.00449870
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x449b49
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.004e4cdc
mov esp, ebp
pop ebp
ret 4
Function at 0x44b1d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x5b03ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x5ba540
mov dword [ebp - 0x5c], 0x6c0047
lea esi, [ebp - 0x5c]
mov dword [ebp - 0x58], 0x62006f
push edi
mov dword [ebp - 0x54], 0x6c0061
mov edx, 0x2c
mov dword [ebp - 0x50], 0x66005c
sub esi, eax
mov dword [ebp - 0x4c], 0x300033
mov dword [ebp - 0x48], 0x390065
mov dword [ebp - 0x44], 0x300030
mov dword [ebp - 0x40], 0x2d0065
mov dword [ebp - 0x3c], 0x310034
mov dword [ebp - 0x38], 0x620063
mov dword [ebp - 0x34], 0x34002d
mov dword [ebp - 0x30], 0x610064
mov dword [ebp - 0x2c], 0x2d0034
mov dword [ebp - 0x28], 0x660062
mov dword [ebp - 0x24], 0x660036
mov dword [ebp - 0x20], 0x36002d
mov dword [ebp - 0x1c], 0x640065
mov dword [ebp - 0x18], 0x360065
mov dword [ebp - 0x14], 0x620031
mov dword [ebp - 0x10], 0x380039
mov dword [ebp - 0xc], 0x650066
mov dword [ebp - 8], 0x37
nop dword [eax]
lea ecx, [edx + 0x7fffffd2]
test ecx, ecx
je 0x44b2ae
movzx ecx, word [esi + eax]
test cx, cx
je 0x44b2ae
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x44b290
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4cdc
mov esp, ebp
pop ebp
ret

Function at 0x44d4b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5a1920
push 0x521480
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x5b03ec]
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.00521d00
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 0x44d5cb
mov dword [ebp - 0x434], eax
push 0x210
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00521d00
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 0x44d5cb
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x107
jge 0x44d5cb
push 0x107
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 4], 0xfffffffe
call fcn.0044d5fd
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.004e4cdc
mov esp, ebp
pop ebp
ret 4
Function at 0x44d720
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5a1960
push 0x521480
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5b03ec]
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 0x44d796
cmp dword [ebp - 0x2c], edi
je 0x44d796
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44d7ce
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x3f0
jne 0x44d8b0
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 0x44d8b0
cmp dword [ebp - 0x2c], 0
je 0x44d8b0
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 0x44d8b0
cmp dword [ebp - 0x30], eax
jbe 0x44d8b0
call esi
cmp eax, 0x7a
jne 0x44d8b0
push dword [ebp - 0x30]
call fcn.0052a9c5
add esp, 4
mov edi, eax
mov dword [ebp - 0x38], edi
test edi, edi
je 0x44d8b0
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 0x44d8b0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x30]
jne 0x44d8b0
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 0x44d8b0
cmp dword [ebp - 0x34], 0
je 0x44d8b0
xor esi, esi
mov dword [ebp - 0x3c], esi
cmp esi, dword [edi]
jae 0x44d8b0
lea ebx, [edi + esi*8]
push dword [ebp - 0x34]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x44d899
inc esi
jmp 0x44d87c
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.0044d8db
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.004e4cdc
mov esp, ebp
pop ebp
ret
Function at 0x44dae0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5b03ec]
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.00521d00
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 0x44db5b
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 0x44db77
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00429120
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004e4cdc
mov esp, ebp
pop ebp
ret
Function at 0x44e760
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 0x55e2b6
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x5b03ec]
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 0x44e79a
xor eax, eax
jmp 0x44e931
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.00521d00
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 0x44e7f0
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 0x44e92c
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call esi
test eax, eax
jne 0x44e92c
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44e92c
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x44e86f
push edi
call esi
test eax, eax
jne 0x44e92c
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44e88e
test al, 0x10
je 0x44e88e
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x44e92c
lea ecx, [ebp - 0x814]
mov dword [ebp - 0x814], 0
call fcn.00426990
push edi
lea ecx, [ebp - 0x838]
mov dword [ebp - 4], 0
call fcn.00426d80
lea edx, [ebp - 0x814]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x838]
call fcn.0044e950
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 0x44e8ef
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 0x44e900
push esi
jmp 0x44e901
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 0x44e928
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
jmp 0x44e931
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.004e4cdc
mov esp, ebp
pop ebp
ret
Function at 0x44ee40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e328
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5b03ec]
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 0x44ee8f
mov ecx, dword [eax]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x44ee99
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 0x44eecb
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x44ef88
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.00427140
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 0x44ef07
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x44ef0f
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]
lea ecx, [ebp - 0x2c]
test eax, eax
je 0x44ef3f
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x44ef83
mov eax, dword [ebp - 0x14]
shr eax, 1
push 0
dec eax
push eax
call fcn.00427140
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x2c]
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov word [ebp - 0x2c], ax
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
call fcn.00428da0
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.004e4cdc
mov esp, ebp
pop ebp
ret

Function at 0x44efb0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5b03ec]
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.00521d00
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.00454ea0
pop esi
test eax, eax
jne 0x44f031
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.004e4cdc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004e4cdc
mov esp, ebp
pop ebp
ret