joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c308
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x114], 0x114
and dword [eax], 0
lea eax, [ebp - 0x114]
and dword [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x104], 1
jne 0x43c383
cmp dword [ebp - 0x10c], 0
je 0x43c37b
cmp dword [ebp - 0x10c], 0xa
je 0x43c366
cmp dword [ebp - 0x10c], 0x5a
je 0x43c36f
xor al, al
mov dword [esi], 0x80
jmp 0x43c3f4
call fcn.0043c6dc
test al, al
je 0x43c373
mov al, 1
jmp 0x43c35b
mov dword [esi], 0x40
jmp 0x43c3dd
mov dword [esi], 0x10
jmp 0x43c3dd
cmp dword [ebp - 0x104], 2
jne 0x43c3f2
mov eax, dword [ebp - 0x110]
sub eax, 4
je 0x43c3ea
mov ecx, dword [ebp - 0x10c]
dec eax
je 0x43c3ad
dec eax
je 0x43c3d3
xor al, al
mov dword [esi], 0x2000000
jmp 0x43c3f4
test ecx, ecx
jne 0x43c3b9
mov dword [esi], 0x100000
jmp 0x43c3dd
cmp ecx, 1
jne 0x43c3c6
mov dword [esi], 0x400000
jmp 0x43c3dd
cmp ecx, 2
jne 0x43c3d3
mov dword [esi], 0x800000
jmp 0x43c3dd
test ecx, ecx
jne 0x43c3e1
mov dword [esi], 0x1000000
mov al, 1
jmp 0x43c3f4
cmp ecx, 1
jne 0x43c3a3
mov al, cl
jmp 0x43c3a5
mov dword [esi], 0x10000
jmp 0x43c3dd
xor al, al
pop esi
leave
ret

Function at 0x43c5d1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x48df58
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43c600
push 0x48df3c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43c600
call eax
jmp 0x43c6d7
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
mov ebx, 0xf003f
push eax
push ebx
push 0
mov edi, SysStringLen
push 0x48dee0
push edi
mov dword [ebp - 0xc], 0xa
call esi
test eax, eax
jne 0x43c64c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x493568
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43c6ad
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push ebx
push 0
push 0x48de94
push edi
call esi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x43c681
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push 0x48de84
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp dword [ebp - 8], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x43c695
cmp esi, ebx
je 0x43c695
push dword [ebp - 8]
call esi
cmp edi, ebx
je 0x43c6b5
cmp dword [ebp - 4], ebx
je 0x43c6a7
cmp esi, ebx
je 0x43c6a7
push dword [ebp - 4]
call esi
mov ax, 0x409
jmp 0x43c6d7
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
push 0x10
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00453fec
add esp, 0xc
cmp dword [ebp - 4], ebx
mov edi, eax
je 0x43c6d4
cmp esi, ebx
je 0x43c6d4
push dword [ebp - 4]
call esi
mov ax, di
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43c7f5
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4728a3
call fcn.00453e8c
sub esp, 0x260
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
push 1
mov esi, 0x104
pop ebx
cmp dword [ebp + 0xc], ebx
jne 0x43c8a0
push 0x48dfa4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43c8a0
push 0x48df88
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x48df84], eax
je 0x43c8a0
lea ecx, [ebp - 0x26c]
push esi
push ecx
call eax
test eax, eax
je 0x43c8a0
lea eax, [ebp + 0xf]
push 0
push eax
lea eax, [ebp - 0x26c]
mov edi, 0x476c94
mov esi, 0x476c8c
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x44], esi
call fcn.00403cfd
push 0x48b148
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.0043c932
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00403c6a
mov dword [ebp - 0x14], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
jmp 0x43c91b
lea eax, [ebp - 0x26c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x43c8c8
lea ecx, [ebp - 0x30]
call fcn.004398da
lea eax, [ebp - 0x30]
push 0x4834c8
push eax
call fcn.00455086
lea eax, [ebp - 0xd]
push 0
push eax
lea eax, [ebp - 0x26c]
mov edi, 0x476c94
mov esi, 0x476c8c
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x1c], esi
call fcn.00403cfd
push 0x48b148
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 2
call fcn.0043c932
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00403c6a
and byte [ebp - 4], 0
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x3c]
call fcn.00402424
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43ee83
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x472bbf
call fcn.00453e8c
sub esp, 0x44
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0xd]
push ebx
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 3
mov dword [ebp - 0x50], 0x475628
mov dword [ebp - 0x30], 0x475620
call fcn.00403bf5
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 5
cmp eax, ebx
jne 0x43eecc
mov eax, 0x475650
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push ecx
push dword [ebp + 0x88]
push ebx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x43eef6
lea ecx, [ebp - 0x14]
call fcn.0041128a
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
push edi
cmp eax, ebx
mov edi, eax
jne 0x43ef7b
mov eax, dword [ebp + 0x40]
cmp eax, ebx
jne 0x43ef09
mov eax, 0x475650
lea ecx, [ebp + 0x88]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ecx
lea ecx, [ebp - 0x18]
push ebx
push ecx
push ebx
push eax
push dword [ebp - 0x14]
call esi
mov edi, eax
cmp edi, ebx
jne 0x43ef7b
mov edi, dword [ebp + 0x40]
cmp edi, ebx
jne 0x43ef34
mov edi, 0x475650
push dword [ebp + 0x88]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x50]
push eax
call fcn.00402dad
mov ecx, dword [eax]
mov byte [ebp - 4], 6
mov byte [eax + 4], 1
call fcn.00403dc2
mov eax, dword [eax]
lea ecx, [ebp + 0x88]
push ecx
push eax
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
push eax
push ebx
push edi
push dword [ebp - 0x14]
call esi
lea ecx, [ebp - 0x28]
mov edi, eax
mov byte [ebp - 4], 5
call fcn.00402ebf
mov dword [0x49730c], edi
cmp edi, ebx
pop edi
lea eax, [ebp - 0x50]
je 0x43ef8c
lea eax, [ebp + 0x60]
mov esi, dword [ebp + 8]
push ebx
push eax
mov ecx, esi
mov dword [esi], 0x475628
mov dword [esi + 0x20], 0x475620
call fcn.00403c6a
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x14], ebx
je 0x43efbd
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00402424
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.00402424
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 1
call fcn.00402424
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], bl
call fcn.00402424
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43f742
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x43f76a
xor al, al
leave
ret
cmp dword [ebp - 0x104], 2
jne 0x43f781
cmp dword [ebp - 0x110], 5
jb 0x43f781
push 1
pop eax
leave
ret
xor eax, eax
leave
ret
Function at 0x443036
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call fcn.004430af
test al, al
je 0x44309b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 4]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44309b
lea eax, [ebp - 0xc]
push esi
push eax
xor esi, esi
push 0x48e868
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push esi
lea eax, [ebp - 0x1c]
push esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
pop esi
push 0xffff
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
inc eax
leave
ret

Function at 0x445965
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
cmp dword [ebp + 0xc], 0xffffffff
push esi
mov esi, ecx
jne 0x44597b
mov dword [ebp + 0xc], 1
lea eax, [ebp + 0xc]
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4459b0
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00439933
lea eax, [ebp - 0x48]
push 0x482858
push eax
call fcn.00455086
mov eax, dword [ebp + 0xc]
pop esi
leave
ret 8

Function at 0x4459b8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
cmp dword [ebp + 0xc], 0xffffffff
push esi
mov esi, ecx
jne 0x4459ce
mov dword [ebp + 0xc], 1
lea eax, [ebp + 0xc]
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x445a03
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00439933
lea eax, [ebp - 0x48]
push 0x482858
push eax
call fcn.00455086
mov eax, dword [ebp + 0xc]
pop esi
leave
ret 8

Function at 0x445a0b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x445a1f
push 1
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x445a53
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0044c811
test al, al
jne 0x445a86
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00439868
lea eax, [ebp - 0x4c]
push 0x482a18
push eax
call fcn.00455086
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x445a86
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00439933
lea eax, [ebp - 0x48]
push 0x482858
push eax
call fcn.00455086
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x445a8e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x445aa2
push 1
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x445ad6
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0044c811
test al, al
jne 0x445b09
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00439868
lea eax, [ebp - 0x4c]
push 0x482a18
push eax
call fcn.00455086
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x445b09
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00439933
lea eax, [ebp - 0x48]
push 0x482858
push eax
call fcn.00455086
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x445b11
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x445b27
mov eax, 0x1ed
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x445b5b
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0044c811
test al, al
jne 0x445b8e
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00439868
lea eax, [ebp - 0x4c]
push 0x482a18
push eax
call fcn.00455086
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x445b8e
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00439933
lea eax, [ebp - 0x48]
push 0x482858
push eax
call fcn.00455086
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x445b96
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x445bac
mov eax, 0x28e
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x445be0
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0044c811
test al, al
jne 0x445c13
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00439868
lea eax, [ebp - 0x4c]
push 0x482a18
push eax
call fcn.00455086
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x445c13
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00439933
lea eax, [ebp - 0x48]
push 0x482858
push eax
call fcn.00455086
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x445c1b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x445c2e
xor eax, eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x445c62
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0044c811
test al, al
jne 0x445c95
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00439868
lea eax, [ebp - 0x4c]
push 0x482a18
push eax
call fcn.00455086
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x445c95
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00439933
lea eax, [ebp - 0x48]
push 0x482858
push eax
call fcn.00455086
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x446da9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [ecx + 8]
test eax, eax
jne 0x446db5
mov eax, 0x475650
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
ret

Function at 0x447254
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x473997
call fcn.00453e8c
sub esp, 0x138
and byte [ebp - 0x144], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x143]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
stosb byte es:[edi], al
push 1
lea eax, [ebp - 0x10]
pop ebx
push eax
push 0x48ec0c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x447331
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x18], 0x104
mov eax, 0x48ebec
je 0x4472be
mov eax, 0x48ebcc
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x144]
push ecx
push esi
push esi
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 0xf]
push 0
push eax
lea eax, [ebp - 0x144]
mov edi, 0x476c94
mov esi, 0x476c8c
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x20], esi
call fcn.00415b0f
push 0x48b148
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0043c932
lea ecx, [ebp - 0x40]
call fcn.00446e99
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push 0
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00403c6a
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
jmp 0x447380
lea eax, [ebp + 0xf]
push 0
push eax
lea eax, [ebp - 0x144]
mov edi, 0x476c94
mov esi, 0x476c8c
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x20], esi
call fcn.00415b0f
push 0x48b148
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0043c932
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00403c6a
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
call fcn.00402424
cmp dword [ebp - 0x10], 0
je 0x447399
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x447399
push dword [ebp - 0x10]
call eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x447ecb
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
cmp dword [ebp + 0xc], 0xffffffff
push esi
mov esi, ecx
jne 0x447ee1
mov dword [ebp + 0xc], 4
lea eax, [ebp + 0xc]
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x447f16
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00439933
lea eax, [ebp - 0x48]
push 0x482858
push eax
call fcn.00455086
mov eax, dword [ebp + 0xc]
pop esi
leave
ret 8
Function at 0x447f1e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
cmp dword [ebp + 0xc], 0xffffffff
push esi
mov esi, ecx
jne 0x447f34
mov dword [ebp + 0xc], 1
lea eax, [ebp + 0xc]
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x447f69
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00439933
lea eax, [ebp - 0x48]
push 0x482858
push eax
call fcn.00455086
mov eax, dword [ebp + 0xc]
pop esi
leave
ret 8

Function at 0x447f71
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x447f85
push 4
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x447fb9
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0044c811
test al, al
jne 0x447fec
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00439868
lea eax, [ebp - 0x4c]
push 0x482a18
push eax
call fcn.00455086
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x447fec
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00439933
lea eax, [ebp - 0x48]
push 0x482858
push eax
call fcn.00455086
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x44b838
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
push ebx
push 8
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44b89f
call esi
cmp eax, 0x3f0
jne 0x44b892
lea eax, [ebp - 4]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call esi
cmp eax, 0x78
jne 0x44b89b
push 1
jmp 0x44b8be
cmp eax, ebx
je 0x44b8bd
lea eax, [ebp - 8]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push eax
push ebx
push ebx
push 2
push dword [ebp - 4]
call edi
test eax, eax
jne 0x44b8bd
call esi
cmp eax, 0x7a
je 0x44b8cd
push ebx
push dword [ebp - 4]
call fcn.0044b829
pop ecx
pop ecx
jmp 0x44b9c4
push dword [ebp - 8]
call fcn.00453fde
mov esi, eax
pop ecx
lea eax, [ebp - 8]
cmp esi, ebx
push eax
push dword [ebp - 8]
setne byte [ebp - 0x20]
push esi
push 2
push dword [ebp - 4]
call edi
test eax, eax
jne 0x44b913
push ebx
push dword [ebp - 4]
call fcn.0044b829
cmp byte [ebp - 0x20], bl
pop ecx
pop ecx
mov byte [ebp + 0xb], al
je 0x44b90b
push esi
call fcn.004389b2
pop ecx
mov al, byte [ebp + 0xb]
jmp 0x44b9c4
lea eax, [ebp - 0x10]
push eax
mov al, byte [ebp + 8]
neg al
push ebx
push ebx
sbb eax, eax
push ebx
and al, 0xfd
push ebx
push ebx
add eax, 0x223
push ebx
push eax
push 0x20
lea eax, [ebp - 0x18]
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x44b95d
push ebx
push dword [ebp - 4]
call fcn.0044b829
cmp byte [ebp - 0x20], bl
pop ecx
pop ecx
mov byte [ebp + 0xb], al
je 0x44b958
push esi
call fcn.004389b2
pop ecx
mov al, byte [ebp + 0xb]
jmp 0x44b9c4
xor edi, edi
cmp dword [esi], ebx
mov byte [ebp - 0xc], bl
jbe 0x44b99c
lea eax, [esi + 4]
mov dword [ebp + 8], eax
push dword [ebp - 0x10]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x44b989
add dword [ebp + 8], 8
inc edi
cmp edi, dword [esi]
jb 0x44b96c
jmp 0x44b99c
cmp byte [ebp + 0xc], bl
je 0x44b998
test byte [esi + edi*8 + 8], 0x10
mov byte [ebp - 0xc], bl
jne 0x44b99c
mov byte [ebp - 0xc], 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0xc]
push dword [ebp - 4]
call fcn.0044b829
cmp byte [ebp - 0x20], bl
pop ecx
pop ecx
mov byte [ebp + 0xb], al
je 0x44b9c1
push esi
call fcn.004389b2
pop ecx
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44c2c9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
push ebx
push edi
mov edi, ecx
call fcn.0040ddf8
xor ebx, ebx
cmp eax, 1
jne 0x44c366
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push 0x48f190
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x44c353
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push ebx
push ebx
push 0x48f178
mov dword [ebp - 8], 4
push dword [ebp - 4]
call esi
test eax, eax
je 0x44c32a
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x824
push eax
lea eax, [ebp - 0x830]
push eax
push ebx
push ebx
push 0x48f15c
push dword [ebp - 4]
call esi
test eax, eax
pop esi
je 0x44c353
mov byte [ebp - 0x830], bl
cmp dword [ebp - 4], ebx
je 0x44c366
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x44c366
push dword [ebp - 4]
call eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044bda5
add esp, 0x14
xor ecx, ecx
cmp eax, ebx
mov dword [edi + 4], eax
setne cl
pop edi
mov al, cl
pop ebx
leave
ret 0x14