joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435ecf
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x472972
call fcn.0045454c
sub esp, 0x8e0
push ebx
push esi
push edi
xor ebx, ebx
push 0x10
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.00454c00
push 0x44
lea eax, [ebp - 0x9c]
pop esi
push esi
push ebx
push eax
call fcn.00454c00
add esp, 0x18
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x9c], esi
mov word [ebp - 0x6c], bx
push 1
pop edi
mov dword [ebp - 0x70], edi
je 0x435f1d
mov word [ebp - 0x6c], di
push dword [ebp + 8]
lea eax, [ebp - 0x8ec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x8ec]
mov dword [ebp - 0x58], 0x4765e0
test eax, eax
mov dword [ebp - 0x38], 0x4765d8
lea eax, [ebp - 0x8ec]
jne 0x435f50
mov eax, 0x4947d8
lea ecx, [ebp + 0xf]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.004011a9
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], ebx
cmp eax, ebx
mov dword [ebp - 0x14], 0x4765fc
je 0x435f72
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xb]
push edi
mov esi, 0x48e9d4
push eax
push esi
lea ecx, [ebp - 0xec]
call fcn.00401889
mov eax, dword [eax + 8]
mov byte [ebp - 4], 1
cmp eax, ebx
jne 0x435f98
mov eax, 0x4765fc
push dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x4e9
push 0x48eb74
push eax
call fcn.0040a580
add esp, 0xc
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], bl
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401093
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x9c]
push eax
push ebx
push ebx
push 0x20
push edi
push ebx
lea eax, [ebp - 0x8ec]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0xd]
push edi
push eax
push esi
lea ecx, [ebp - 0xc4]
call fcn.00401889
mov eax, dword [eax + 8]
mov dword [ebp - 4], 2
cmp eax, ebx
jne 0x436017
mov eax, 0x4765fc
push dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x4ee
push 0x48eb50
push eax
call fcn.0040a580
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0xc4]
call fcn.00401093
cmp dword [ebp + 0xc], ebx
pop edi
pop esi
pop ebx
je 0x43605a
push 0x3e8
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
mov dword fs:[0], ecx
leave
ret 8
Function at 0x43985e
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x472b8e
call fcn.0045454c
sub esp, 0xf4
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 0x30]
mov dword [ebp - 4], esi
test bl, 0x10
je 0x4398b0
lea ecx, [ebp + 8]
call fcn.0043242d
test al, al
je 0x4398b0
push ebx
lea eax, [ebp + 8]
sub esp, 0x28
mov ecx, esp
mov dword [ebp + 0x30], esp
push 1
push eax
call fcn.0040798e
call fcn.00439d72
add esp, 0x2c
mov bl, al
jmp 0x439a2d
sub esp, 0x28
lea eax, [ebp + 8]
mov dword [ebp - 0x10], esp
mov ecx, esp
push esi
push eax
mov dword [ecx], 0x476628
mov dword [ecx + 0x20], 0x476620
call fcn.00403c6a
call fcn.00443272
add esp, 0x28
cmp eax, 0xffffffff
je 0x4398fd
test bl, 4
je 0x4398e5
test al, 0x10
je 0x4398f6
test bl, 8
je 0x439a2b
test al, 0x10
je 0x439a2b
mov bl, 1
jmp 0x439a2d
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov esi, eax
cmp esi, 2
je 0x439a3d
cmp esi, 3
je 0x439a3d
push 1
cmp esi, 5
pop ebx
jne 0x4399b2
lea ecx, [ebp - 0x100]
call fcn.00439ce3
or dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 8]
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x14], esp
push ebx
push eax
call fcn.0040798e
call fcn.0044311c
add esp, 0x2c
cmp eax, 0xffffffff
je 0x43999f
test byte [ebp + 0x30], 4
je 0x43996d
test byte [ebp - 0x100], 0x10
je 0x43997e
test byte [ebp + 0x30], 8
je 0x43997c
test byte [ebp - 0x100], 0x10
jne 0x43997e
xor bl, bl
mov ecx, dword [sym.imp.KERNEL32.dll_FindClose]
test ecx, ecx
je 0x43998b
push eax
call ecx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x100]
call fcn.00439d3c
jmp 0x439a2d
call edi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x100]
mov esi, eax
call fcn.00439d3c
test byte [ebp + 0x30], 0x20
je 0x439a2b
lea eax, [ebp + 8]
push 0
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x477c94
mov dword [ebp - 0x1c], 0x477c8c
call fcn.00403c6a
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
mov dword [ebp - 0x84], 0x477c84
call fcn.00439a5a
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.00439bdb
mov eax, dword [ebp - 0x84]
push 0x483910
mov dword [ebp - 4], 3
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x84], 0x477c7c
lea eax, [ebp - 0x84]
push eax
call fcn.00455746
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402424
mov al, bl
jmp 0x439a4b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402424
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x43c9dc
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 0x43ca57
cmp dword [ebp - 0x10c], 0
je 0x43ca4f
cmp dword [ebp - 0x10c], 0xa
je 0x43ca3a
cmp dword [ebp - 0x10c], 0x5a
je 0x43ca43
xor al, al
mov dword [esi], 0x80
jmp 0x43cac8
call fcn.0043cdb0
test al, al
je 0x43ca47
mov al, 1
jmp 0x43ca2f
mov dword [esi], 0x40
jmp 0x43cab1
mov dword [esi], 0x10
jmp 0x43cab1
cmp dword [ebp - 0x104], 2
jne 0x43cac6
mov eax, dword [ebp - 0x110]
sub eax, 4
je 0x43cabe
mov ecx, dword [ebp - 0x10c]
dec eax
je 0x43ca81
dec eax
je 0x43caa7
xor al, al
mov dword [esi], 0x2000000
jmp 0x43cac8
test ecx, ecx
jne 0x43ca8d
mov dword [esi], 0x100000
jmp 0x43cab1
cmp ecx, 1
jne 0x43ca9a
mov dword [esi], 0x400000
jmp 0x43cab1
cmp ecx, 2
jne 0x43caa7
mov dword [esi], 0x800000
jmp 0x43cab1
test ecx, ecx
jne 0x43cab5
mov dword [esi], 0x1000000
mov al, 1
jmp 0x43cac8
cmp ecx, 1
jne 0x43ca77
mov al, cl
jmp 0x43ca79
mov dword [esi], 0x10000
jmp 0x43cab1
xor al, al
pop esi
leave
ret

Function at 0x43cca5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x48f1c8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43ccd4
push 0x48f1ac
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43ccd4
call eax
jmp 0x43cdab
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 0x48f150
push edi
mov dword [ebp - 0xc], 0xa
call esi
test eax, eax
jne 0x43cd20
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x4947d8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43cd81
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push ebx
push 0
push 0x48f104
push edi
call esi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x43cd55
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push 0x48f0f4
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 0x43cd69
cmp esi, ebx
je 0x43cd69
push dword [ebp - 8]
call esi
cmp edi, ebx
je 0x43cd89
cmp dword [ebp - 4], ebx
je 0x43cd7b
cmp esi, ebx
je 0x43cd7b
push dword [ebp - 4]
call esi
mov ax, 0x409
jmp 0x43cdab
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
push 0x10
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.004546ac
add esp, 0xc
cmp dword [ebp - 4], ebx
mov edi, eax
je 0x43cda8
cmp esi, ebx
je 0x43cda8
push dword [ebp - 4]
call esi
mov ax, di
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43cec9
Capabilities:
Get common file path

Disassembly:
mov eax, 0x473323
call fcn.0045454c
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 0x43cf74
push 0x48f214
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43cf74
push 0x48f1f8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x48f1f4], eax
je 0x43cf74
lea ecx, [ebp - 0x26c]
push esi
push ecx
call eax
test eax, eax
je 0x43cf74
lea eax, [ebp + 0xf]
push 0
push eax
lea eax, [ebp - 0x26c]
mov edi, 0x477c94
mov esi, 0x477c8c
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x44], esi
call fcn.00403cfd
push 0x48c148
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.0043d006
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 0x43cfef
lea eax, [ebp - 0x26c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x43cf9c
lea ecx, [ebp - 0x30]
call fcn.00439fae
lea eax, [ebp - 0x30]
push 0x484580
push eax
call fcn.00455746
lea eax, [ebp - 0xd]
push 0
push eax
lea eax, [ebp - 0x26c]
mov edi, 0x477c94
mov esi, 0x477c8c
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x1c], esi
call fcn.00403cfd
push 0x48c148
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 2
call fcn.0043d006
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 0x44370a
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call fcn.00443783
test al, al
je 0x44376f
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 0x44376f
lea eax, [ebp - 0xc]
push esi
push eax
xor esi, esi
push 0x48fad8
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 0x446039
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 0x44604f
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 0x446084
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.0043a007
lea eax, [ebp - 0x48]
push 0x483910
push eax
call fcn.00455746
mov eax, dword [ebp + 0xc]
pop esi
leave
ret 8

Function at 0x44608c
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 0x4460a2
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 0x4460d7
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.0043a007
lea eax, [ebp - 0x48]
push 0x483910
push eax
call fcn.00455746
mov eax, dword [ebp + 0xc]
pop esi
leave
ret 8

Function at 0x4460df
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 0x4460f3
push 1
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x446127
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0044cee5
test al, al
jne 0x44615a
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00439f3c
lea eax, [ebp - 0x4c]
push 0x483ad0
push eax
call fcn.00455746
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 0x44615a
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.0043a007
lea eax, [ebp - 0x48]
push 0x483910
push eax
call fcn.00455746
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x44747d
Capabilities:
Check if file exists
Get file attributes

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

Function at 0x447928
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x474417
call fcn.0045454c
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 0x48fe7c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x447a05
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x18], 0x104
mov eax, 0x48fe5c
je 0x447992
mov eax, 0x48fe3c
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, 0x477c94
mov esi, 0x477c8c
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x20], esi
call fcn.00415b01
push 0x48c148
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0043d006
lea ecx, [ebp - 0x40]
call fcn.0044756d
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 0x447a54
lea eax, [ebp + 0xf]
push 0
push eax
lea eax, [ebp - 0x144]
mov edi, 0x477c94
mov esi, 0x477c8c
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x20], esi
call fcn.00415b01
push 0x48c148
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0043d006
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 0x447a6d
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x447a6d
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 0x44859f
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 0x4485b5
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 0x4485ea
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.0043a007
lea eax, [ebp - 0x48]
push 0x483910
push eax
call fcn.00455746
mov eax, dword [ebp + 0xc]
pop esi
leave
ret 8
Function at 0x4485f2
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 0x448608
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 0x44863d
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.0043a007
lea eax, [ebp - 0x48]
push 0x483910
push eax
call fcn.00455746
mov eax, dword [ebp + 0xc]
pop esi
leave
ret 8

Function at 0x448645
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 0x448659
push 4
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x44868d
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0044cee5
test al, al
jne 0x4486c0
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00439f3c
lea eax, [ebp - 0x4c]
push 0x483ad0
push eax
call fcn.00455746
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 0x4486c0
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.0043a007
lea eax, [ebp - 0x48]
push 0x483910
push eax
call fcn.00455746
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x44bf0c
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 0x44bf73
call esi
cmp eax, 0x3f0
jne 0x44bf66
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 0x44bf6f
push 1
jmp 0x44bf92
cmp eax, ebx
je 0x44bf91
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 0x44bf91
call esi
cmp eax, 0x7a
je 0x44bfa1
push ebx
push dword [ebp - 4]
call fcn.0044befd
pop ecx
pop ecx
jmp 0x44c098
push dword [ebp - 8]
call fcn.0045469e
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 0x44bfe7
push ebx
push dword [ebp - 4]
call fcn.0044befd
cmp byte [ebp - 0x20], bl
pop ecx
pop ecx
mov byte [ebp + 0xb], al
je 0x44bfdf
push esi
call fcn.00439086
pop ecx
mov al, byte [ebp + 0xb]
jmp 0x44c098
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 0x44c031
push ebx
push dword [ebp - 4]
call fcn.0044befd
cmp byte [ebp - 0x20], bl
pop ecx
pop ecx
mov byte [ebp + 0xb], al
je 0x44c02c
push esi
call fcn.00439086
pop ecx
mov al, byte [ebp + 0xb]
jmp 0x44c098
xor edi, edi
cmp dword [esi], ebx
mov byte [ebp - 0xc], bl
jbe 0x44c070
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 0x44c05d
add dword [ebp + 8], 8
inc edi
cmp edi, dword [esi]
jb 0x44c040
jmp 0x44c070
cmp byte [ebp + 0xc], bl
je 0x44c06c
test byte [esi + edi*8 + 8], 0x10
mov byte [ebp - 0xc], bl
jne 0x44c070
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.0044befd
cmp byte [ebp - 0x20], bl
pop ecx
pop ecx
mov byte [ebp + 0xb], al
je 0x44c095
push esi
call fcn.00439086
pop ecx
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44c99d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
push ebx
push edi
mov edi, ecx
call fcn.0040ddf1
xor ebx, ebx
cmp eax, 1
jne 0x44ca3a
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push 0x490400
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x44ca27
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 0x4903e8
mov dword [ebp - 8], 4
push dword [ebp - 4]
call esi
test eax, eax
je 0x44c9fe
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 0x4903cc
push dword [ebp - 4]
call esi
test eax, eax
pop esi
je 0x44ca27
mov byte [ebp - 0x830], bl
cmp dword [ebp - 4], ebx
je 0x44ca3a
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x44ca3a
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.0044c479
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
Function at 0x44d185
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
call edi
sub eax, dword [esi + 0x74]
cmp eax, 0x7530
jbe 0x44d1bd
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x64], ecx
mov ecx, dword [esi + 0x6c]
xor eax, eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x60], ecx
mov dword [esi + 0x6c], eax
call edi
mov dword [esi + 0x74], eax
mov edi, dword [esi + 0x64]
test edi, edi
jne 0x44d1c9
mov eax, dword [esi + 0x5c]
jmp 0x44d212
push ebx
push ebp
push 0xa
xor eax, eax
pop ecx
xor ebp, ebp
test eax, eax
jne 0x44d210
or eax, 0xffffffff
xor edx, edx
div ecx
mov ebx, dword [esi + 0x5c]
cmp ebx, eax
jbe 0x44d1ee
shr ebx, 1
shr edi, 1
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], edi
mov eax, dword [esi + 0x5c]
mov edi, dword [esi + 0x64]
imul eax, ecx
xor edx, edx
div edi
xor edx, edx
imul eax, eax, 0x3e8
div ecx
lea ecx, [ecx + ecx*4]
inc ebp
shl ecx, 1
cmp ebp, 3
jb 0x44d1d2
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x44e773
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push ebx
push eax
mov ebx, ecx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [ebp - 4], eax
je 0x44e7c5
push eax
call fcn.0045469e
pop ecx
mov dword [ebx + 0x40], eax
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44e7c5
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x48c148
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x44e7c9
xor al, al
jmp 0x44e82a
push esi
push edi
mov edi, ebx
lea eax, [ebx + 4]
neg edi
sbb edi, edi
mov esi, dword [ebp - 0xc]
push 0xd
and edi, eax
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x48ea2c
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueW
pop edi
pop esi
test eax, eax
je 0x44e828
mov eax, dword [ebp - 4]
shr eax, 2
mov dword [ebx + 0x3c], eax
shl eax, 2
push eax
call fcn.0045469e
mov dword [ebx + 0x38], eax
xor eax, eax
cmp dword [ebx + 0x3c], eax
pop ecx
jbe 0x44e828
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x38]
mov edx, dword [edx + eax*4]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 0x3c]
jb 0x44e816
mov al, 1
pop ebx
leave
ret 4
Function at 0x464a60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
push eax
push 0x20019
push 0
push 0x4943d0
push SysReAllocStringLen
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x464aea
mov esi, dword [esp + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
lea edx, [esp + 8]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0x4943bc
push esi
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x464adf
mov ecx, dword [esp + 8]
push ebx
cmp ecx, 1
sete bl
test esi, esi
je 0x464ad7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
pop esi
add esp, 0x10
ret
test esi, esi
je 0x464aea
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop esi
add esp, 0x10
ret