joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436086
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
lea eax, [ebp - 8]
push edi
xor ebx, ebx
push eax
push ebx
push 8
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], 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 0x4360e9
call esi
cmp eax, 0x3f0
jne 0x4360e0
lea eax, [ebp - 8]
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
je 0x436158
cmp eax, ebx
je 0x436158
lea eax, [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push eax
push ebx
push ebx
push 2
push dword [ebp - 8]
call edi
test eax, eax
jne 0x436158
call esi
cmp eax, 0x7a
jne 0x436158
push dword [ebp - 4]
call fcn.0045469e
mov esi, eax
pop ecx
lea eax, [ebp - 4]
cmp esi, ebx
push eax
push dword [ebp - 4]
setne byte [ebp - 0x24]
push esi
push 2
push dword [ebp - 8]
call edi
test eax, eax
je 0x43614c
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea eax, [ebp - 0x1c]
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x43615c
cmp byte [ebp - 0x24], bl
je 0x436158
push esi
call fcn.00439086
pop ecx
xor eax, eax
jmp 0x4361a7
xor edi, edi
cmp dword [esi], ebx
mov dword [ebp - 0x14], ebx
jbe 0x43618f
lea eax, [esi + 4]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x436188
add dword [ebp - 0xc], 8
inc edi
cmp edi, dword [esi]
jb 0x43616b
jmp 0x43618f
mov dword [ebp - 0x14], 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp byte [ebp - 0x24], bl
je 0x4361a4
push esi
call fcn.00439086
pop ecx
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4361ac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
mov esi, dword [ebp + 8]
cmp dword [0x4984e0], esi
jne 0x4361c8
mov eax, dword [0x48e930]
cmp eax, 0xffffffff
jne 0x436208
lea eax, [ebp - 0x48]
push 0x14
push eax
push 0x1004
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x436202
lea eax, [ebp - 0x48]
push eax
call fcn.0045566b
pop ecx
lea ecx, [ebp - 0x20]
push 2
push ecx
push eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
test eax, eax
je 0x43620b
movsx eax, word [ebp - 0x20]
mov dword [0x48e930], eax
mov ax, word [0x48e930]
pop esi
leave
ret
push 1
push esi
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x436202
xor ax, ax
jmp 0x436208
Function at 0x4366cc
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x4729d3
call fcn.0045454c
sub esp, 0x870
push ebx
push esi
mov esi, 0x81
push edi
xor ebx, ebx
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x646]
mov word [ebp - 0x648], bx
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x648]
push eax
push dword [0x498478]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x648]
lea ecx, [ebp - 0x87c]
push eax
call fcn.004334dd
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x236]
mov word [ebp - 0x238], bx
rep stosd dword es:[edi], eax
mov dword [ebp - 4], ebx
mov ebx, 0x496c18
mov ecx, ebx
stosw word es:[edi], ax
call fcn.00401a19
push eax
lea eax, [ebp - 0x87c]
push eax
call fcn.004368a5
pop ecx
test eax, eax
pop ecx
je 0x4367c1
and word [ebp - 0x440], 0
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x43e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x440]
mov byte [ebp - 0xd], 1
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x238]
push eax
push 0
lea eax, [ebp - 0x440]
push 0x48ebf4
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x238]
push 0
push eax
mov ecx, ebx
call fcn.00401a19
push eax
lea ecx, [ebp - 0x87c]
call fcn.00434224
jmp 0x436826
mov eax, 0x496c40
mov ecx, eax
test ecx, ecx
je 0x4367e6
cmp word [0x496c40], 0
je 0x4367e6
push eax
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x436822
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x648]
push eax
call fcn.004356a0
mov eax, dword [0x496c20]
test eax, eax
jne 0x43680e
mov eax, 0x4765fc
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.004358f6
and byte [ebp - 0xd], 0
lea ecx, [ebp - 0x30]
call fcn.004028ee
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.00402936
push dword [ebp + 0x14]
lea ecx, [ebp - 0x30]
push dword [ebp + 0x10]
push 0x4947d8
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402b35
cmp byte [ebp - 0xd], 0
pop edi
pop esi
pop ebx
je 0x436870
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00402f3d
and byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00403a04
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x87c]
call fcn.00433b1d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
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], vtable.is::file_exception.0
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 0x43a610
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0
je 0x43a655
mov eax, dword [ebp + 8]
test eax, eax
je 0x43a62a
and dword [eax], 0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43a6b1
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
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43a6b1
cmp dword [ebp + 8], 0
jne 0x43a68a
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
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x43a6b1
push 1
add esi, 0xc
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.0043a5a1
lea eax, [ebp - 0x48]
push 0x483910
push eax
call fcn.00455746
mov eax, edi
pop edi
pop esi
leave
ret 4
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 str.GetSystemDefaultUILanguage
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 str..DefaultControl_PaneldesktopResourceLocale
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 str..DEFAULTControl_PanelInternational
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 str.Locale
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 str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43cf74
push str.GetSystemWindowsDirectoryW
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 0x43f557
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x47363f
call fcn.0045454c
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], 0x476628
mov dword [ebp - 0x30], 0x476620
call fcn.00403bf5
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 5
cmp eax, ebx
jne 0x43f5a0
mov eax, 0x476650
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 0x43f5ca
lea ecx, [ebp - 0x14]
call fcn.00411283
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
push edi
cmp eax, ebx
mov edi, eax
jne 0x43f64f
mov eax, dword [ebp + 0x40]
cmp eax, ebx
jne 0x43f5dd
mov eax, 0x476650
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 0x43f64f
mov edi, dword [ebp + 0x40]
cmp edi, ebx
jne 0x43f608
mov edi, 0x476650
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 [0x49857c], edi
cmp edi, ebx
pop edi
lea eax, [ebp - 0x50]
je 0x43f660
lea eax, [ebp + 0x60]
mov esi, dword [ebp + 8]
push ebx
push eax
mov ecx, esi
mov dword [esi], 0x476628
mov dword [esi + 0x20], 0x476620
call fcn.00403c6a
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x14], ebx
je 0x43f691
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 0x43fe16
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 0x43fe3e
xor al, al
leave
ret
cmp dword [ebp - 0x104], 2
jne 0x43fe55
cmp dword [ebp - 0x110], 5
jb 0x43fe55
push 1
pop eax
leave
ret
xor eax, eax
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 str.SeShutdownPrivilege
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 0x446162
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 0x446176
push 1
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4461aa
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0044cee5
test al, al
jne 0x4461dd
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 0x4461dd
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 0x4461e5
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 0x4461fb
mov eax, 0x1ed
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x44622f
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0044cee5
test al, al
jne 0x446262
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 0x446262
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 0x44626a
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 0x446280
mov eax, 0x28e
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4462b4
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0044cee5
test al, al
jne 0x4462e7
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 0x4462e7
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 0x4462ef
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 0x446302
xor eax, eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x446336
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0044cee5
test al, al
jne 0x446369
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 0x446369
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