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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
lea eax, [ebp - 8]
xor ebx, ebx
push eax
mov edi, 0xf01ff
mov dword [ebp - 8], ebx
push edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x43fbee
lea eax, [ebp - 0x10]
push eax
push 1
push 1
push ebx
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x43fbee
push str.Kernel32.dll
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x43fb39
push 0x5d9018
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43fb32
call eax
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0xc
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x43fbee
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.Wtsapi32.dll
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x43fc13
push 0x5d9074
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43fb85
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push ecx
push dword [ebp - 0x14]
call eax
push ebx
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
push dword [ebp - 0xc]
test eax, eax
jne 0x43fb83
call esi
jmp 0x43fbee
call esi
push 0x44
pop edi
push edi
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.005a2240
push 0x10
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.005a2240
add esp, 0x18
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x60], str.WinSta0Default
mov dword [ebp - 0x3c], 1
push 5
pop eax
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push dword [ebp - 4]
push 0x430
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x43fbee
cmp dword [ebp - 4], ebx
je 0x43fbec
push dword [ebp - 4]
call sub.USERENV.dll_DestroyEnvironmentBlock
mov bl, 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43fbfd
cmp eax, 0xffffffff
je 0x43fbfd
push eax
call esi
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x43fc0c
cmp ecx, 0xffffffff
je 0x43fc0c
push ecx
call esi
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
push ebx
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
jne 0x43fb85
push dword [ebp - 8]
jmp 0x43fb7f
Function at 0x43fd0f
Capabilities:
Create process on windows

Disassembly:
push 0x90
mov eax, 0x5d010d
call fcn.0059d2e0
mov eax, dword [ebp + 0x18]
xor esi, esi
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x44
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x9c]
push esi
push eax
mov dword [ebp - 0x44], esi
call fcn.005a2240
push 0x10
lea eax, [ebp - 0x58]
mov dword [ebp - 0x9c], 0x44
push esi
push eax
call fcn.005a2240
add esp, 0x18
mov dword [ebp - 0x18], esi
xor eax, eax
mov word [ebp - 0x28], ax
push 7
pop ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
test edi, edi
je 0x43fde7
push edi
call fcn.005afdc8
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.00403240
cmp dword [ebp - 0x30], esi
je 0x43fde7
mov edi, 0x5d4950
push edi
call fcn.005afdc8
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00403240
push ebx
call fcn.005afdc8
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00405a30
mov edi, 0x5d4954
push edi
call fcn.005afdc8
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00405a30
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.00405a30
jmp 0x43fdf8
push ebx
call fcn.005afdc8
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00403240
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x67
call fcn.0043f1dd
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
pop ecx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x9c]
push ecx
push esi
push esi
push esi
push 1
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x43fe81
cmp byte [ebp + 0x10], 0
je 0x43fe51
or eax, 0xffffffff
cmp dword [ebp + 0x14], 0
cmovg eax, dword [ebp + 0x14]
push eax
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x43fe6e
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x43fe6e
mov eax, dword [ebp - 0x44]
mov dword [esi], eax
push dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x54]
call esi
xor esi, esi
inc esi
lea ecx, [ebp - 0x40]
call fcn.00402fe0
lea ecx, [ebp - 0x28]
call fcn.00402fe0
mov eax, esi
call fcn.0059d28a
ret
Function at 0x440604
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
mov eax, dword [0x667ce0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x656858
mov dword [ebp - 0xa38], ebx
push edi
call fcn.005afdc8
pop ecx
push eax
push edi
mov ecx, ebx
call fcn.00403240
push 0x20a
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005a2240
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x105
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x44081b
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
call ebx
mov esi, eax
test esi, esi
je 0x44081b
xor ecx, ecx
lea eax, [esi + 1]
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0059cf3d
mov edi, eax
pop ecx
test edi, edi
je 0x44081b
lea ecx, [esi*2 + 2]
push ecx
push 0
push edi
call fcn.005a2240
add esp, 0xc
push edi
push esi
call ebx
test eax, eax
je 0x440814
mov eax, dword [0x5d90e4]
mov ebx, 0x208
mov dword [ebp - 0xc], eax
mov ax, word [0x5d90e8]
push ebx
mov word [ebp - 8], ax
call fcn.0059cf3d
mov esi, eax
pop ecx
test esi, esi
je 0x440814
push ebx
push 0
push esi
call fcn.005a2240
movzx eax, word [edi]
add esp, 0xc
mov ebx, edi
push 0x104
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x44075c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4407fe
push esi
call fcn.0059cf46
push 2
call fcn.0059cf3d
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4407fe
push 2
push 0
push esi
call fcn.005a2240
add esp, 0xc
lea eax, [ebp - 0xc]
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4407fe
push esi
call fcn.005afdc8
push eax
mov dword [ebp - 0xa34], eax
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.005af14e
add esp, 0x10
test eax, eax
je 0x440795
movzx eax, word [ebx]
add ebx, 2
test ax, ax
jne 0x44077d
movzx eax, word [ebx]
test ax, ax
je 0x4407fe
jmp 0x4406fa
push 0x800
lea eax, [ebp - 0xa18]
push 0
push eax
call fcn.005a2240
mov eax, dword [ebp - 0xa34]
lea ecx, [ebp - 0x218]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x5d82b8
lea eax, [ebp - 0xa18]
push 0x400
push eax
call fcn.00442c30
add esp, 0x20
lea eax, [ebp - 0xa18]
lea ecx, [ebp - 0xa30]
push eax
call fcn.00403040
mov ecx, dword [ebp - 0xa38]
push eax
call fcn.00406e80
lea ecx, [ebp - 0xa30]
call fcn.00402fe0
push edi
call fcn.0059cf46
pop ecx
test esi, esi
je 0x440810
push esi
call fcn.0059cf46
pop ecx
mov al, 1
jmp 0x44081d
push edi
call fcn.0059cf46
pop ecx
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059cf09
leave
ret
Function at 0x44082c
Capabilities:
Enumerate processes

Disassembly:
push 0x46c
mov eax, 0x5d0216
call fcn.0059d2e0
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x230]
mov edi, 0x656858
mov dword [ebp - 0x478], esi
push edi
call fcn.00403040
xor ebx, ebx
lea eax, [ebp - 0x474]
push 0x22c
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.005a2240
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44088b
push edi
mov ecx, esi
call fcn.00403040
jmp 0x4409e9
lea eax, [ebp - 0x474]
mov dword [ebp - 0x474], 0x22c
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4409c0
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x248]
call fcn.00403040
mov byte [ebp - 4], 1
cmp dword [ebp - 0x46c], edi
je 0x4408f0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.00402fe0
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4408ad
jmp 0x4409c0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a2240
add esp, 0xc
push dword [ebp - 0x46c]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4409b5
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [ebp - 0x218]
push eax
call fcn.005afdc8
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403240
push 0x656858
lea ecx, [ebp - 0x230]
call fcn.0043ea07
test al, al
je 0x4409ae
lea eax, [ebp - 0x230]
push eax
push edi
call fcn.00440604
pop ecx
pop ecx
push 0x656858
lea ecx, [ebp - 0x230]
call fcn.0043ea07
test al, al
je 0x4409ae
lea eax, [ebp - 0x450]
push eax
call fcn.005afdc8
pop ecx
push eax
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403240
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x248]
call fcn.00402fe0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, esi
mov byte [ebp - 0x478], al
push dword [ebp - 0x478]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x230]
push eax
call fcn.0043e8c2
lea ecx, [ebp - 0x230]
call fcn.00402fe0
mov eax, esi
call fcn.0059d28a
ret
Function at 0x440acf
Capabilities:
Enumerate processes

Disassembly:
push 0x280
mov eax, 0x5d0282
call fcn.0059d2e0
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
mov dword [ebp - 0x28c], esi
test eax, eax
je 0x440c23
push eax
lea ecx, [ebp - 0x40]
call fcn.00403040
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
call fcn.004441ad
mov dword [esp], 0x22c
lea eax, [ebp - 0x284]
push ebx
push eax
call fcn.005a2240
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x440c19
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x440c12
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403040
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.004441ad
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0043e9d7
test al, al
jne 0x440ba9
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004435b2
pop ecx
pop ecx
or esi, 1
lea ecx, [ebp - 0x40]
push eax
mov dword [ebp - 0x28c], esi
call fcn.0043e9d7
mov byte [ebp - 0x285], bl
test al, al
je 0x440bb0
mov byte [ebp - 0x285], 1
mov eax, dword [ebp - 0x28c]
test al, 1
je 0x440bcb
and eax, 0xfffffffe
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x28c], eax
call fcn.00402fe0
cmp byte [ebp - 0x285], 0
jne 0x440bfb
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00402fe0
lea eax, [ebp - 0x284]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x440c12
mov esi, dword [ebp - 0x28c]
jmp 0x440b51
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x27c]
lea ecx, [ebp - 0x28]
call fcn.00402fe0
jmp 0x440c19
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
call fcn.00402fe0
mov eax, ebx
call fcn.0059d28a
ret

Function at 0x440c29
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x667ce0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push edi
mov edi, dword [ebp + 8]
push 0x208
push 0
push eax
mov dword [ebp - 0x210], edi
call fcn.005a2240
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x440cad
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x440ca6
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00403040
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0059cf09
leave
ret
Function at 0x442243
Capabilities:
Enumerate processes

Disassembly:
push 0x288
mov eax, 0x5d06a3
call fcn.0059d2e0
mov edi, dword [ebp + 0xc]
xor eax, eax
mov ebx, dword [ebp + 0x10]
mov esi, eax
mov dword [ebp - 0x290], esi
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x288], eax
push 0x22c
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x284]
push eax
call fcn.005a2240
add esp, 0xc
lea ecx, [ebp - 0x58]
push edi
call fcn.00403040
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00403040
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.004441ad
lea eax, [ebp - 0x40]
push eax
call fcn.004441ad
pop ecx
pop ecx
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4423b6
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], 0x22c
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x44235d
mov esi, dword [ebp + 8]
cmp dword [ebp - 0x27c], esi
je 0x442346
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403040
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
call fcn.004441ad
pop ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.0043e9d7
test al, al
je 0x44233a
mov eax, dword [ebp - 0x27c]
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x294]
push eax
call fcn.0043f8bf
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00402fe0
lea eax, [ebp - 0x284]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4422e7
mov esi, dword [ebp - 0x290]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x28c]
jmp 0x4423a8
push dword [esi]
lea eax, [ebp - 0x28]
push eax
call fcn.00440593
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
call fcn.004441ad
add esp, 0xc
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x28]
push edi
push eax
call fcn.00442bfd
lea ecx, [ebp - 0x28]
cmp eax, 0xffffffff
jg 0x4423ae
mov byte [ebp - 4], 2
call fcn.00402fe0
add esi, 4
cmp esi, ebx
jne 0x44236c
jmp 0x4423b6
xor edi, edi
inc edi
call fcn.00402fe0
lea ecx, [ebp - 0x40]
call fcn.00402fe0
lea ecx, [ebp - 0x58]
call fcn.00402fe0
lea ecx, [ebp - 0x290]
call fcn.0043f489
mov eax, edi
call fcn.0059d28a
ret
Function at 0x4423d9
Capabilities:
Enumerate processes

Disassembly:
push 0x260
mov eax, 0x5d06db
call fcn.0059d2e0
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x26c]
mov edi, 0x22c
xor ebx, ebx
push edi
push ebx
push eax
call fcn.005a2240
add esp, 0xc
lea ecx, [ebp - 0x40]
push esi
call fcn.00403040
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
call fcn.004441ad
pop ecx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x442497
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], edi
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x442482
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403040
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.004441ad
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0043e9d7
lea ecx, [ebp - 0x28]
test al, al
jne 0x442488
mov byte [ebp - 4], bl
call fcn.00402fe0
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44243d
jmp 0x442490
xor ebx, ebx
inc ebx
call fcn.00402fe0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
call fcn.00402fe0
mov eax, ebx
call fcn.0059d28a
ret

Function at 0x444827
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x667ce0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x118
xor ebx, ebx
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.005a2240
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.004447dc
mov eax, dword [ebp - 0x11c]
add esp, 0xc
cmp eax, 5
jne 0x4448a6
cmp dword [ebp - 0x118], ebx
jbe 0x4448f5
cmp dword [ebp - 0x118], 1
setne bl
inc ebx
jmp 0x4448f5
cmp eax, 6
jne 0x4448d1
cmp byte [ebp - 6], 1
jne 0x4448cc
mov eax, dword [ebp - 0x118]
sub eax, ebx
je 0x4448c8
sub eax, 1
je 0x4448c4
push 6
jmp 0x4448ce
push 5
jmp 0x4448ce
push 3
jmp 0x4448ce
push 4
pop ebx
jmp 0x4448f5
cmp eax, 0xa
jne 0x4448ef
cmp dword [ebp - 0x118], ebx
jne 0x4448f5
cmp dword [ebp - 0x114], 0x4e20
sbb ebx, ebx
add ebx, 8
jmp 0x4448f5
push 9
pop ecx
cmova ebx, ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0059cf09
leave
ret
Function at 0x444d3f
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x667ce0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x114
lea eax, [ebp - 0x118]
push edi
xor ebx, ebx
xor esi, esi
push ebx
push eax
inc esi
call fcn.005a2240
add esp, 0xc
mov dword [ebp - 0x118], edi
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x444e14
cmp dword [ebp - 0x114], 5
jbe 0x444e12
push 4
pop eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x11c]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x11c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x444e14
lea eax, [ebp - 0x124]
mov dword [ebp - 0x120], ebx
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x128]
push eax
push ebx
push str.PromptOnSecureDesktop
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x444e04
cmp dword [ebp - 0x120], eax
cmove esi, eax
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x444e14
mov esi, ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059cf09
leave
ret

Function at 0x444e25
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x667ce0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.005a2240
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
pop esi
jg 0x444e88
cmp dword [ebp - 0x118], 2
jg 0x444e88
xor eax, eax
inc eax
jmp 0x444e8a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059cf09
leave
ret
Function at 0x44677c
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x667ce0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x61c]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, 0x208
push esi
push 0
push eax
mov dword [ebp - 0x620], ebx
call fcn.005a2240
push esi
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.005a2240
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.005afda6
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.005afda6
lea eax, [ebp - 0x61c]
push eax
call fcn.005afc92
lea eax, [ebp - 0x414]
push eax
call fcn.005afc92
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.005afd66
add esp, 0x38
test eax, eax
je 0x4468c1
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor esi, esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005a2240
add esp, 0xc
lea eax, [ebp - 0x20c]
test esi, esi
jne 0x44684a
push edi
push 0x5db358
push eax
call fcn.00405d80
add esp, 0xc
jmp 0x44685a
push esi
push edi
push str._s.bak_d
push eax
call fcn.00405d80
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x446878
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.005afadc
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
test eax, eax
lea eax, [ebp - 0x20c]
push 0
push eax
jne 0x4468bf
call ebx
cmp esi, 0xa
jge 0x4468c1
inc esi
jmp 0x446819
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059cf09
leave
ret
Function at 0x446bd5
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push 0xb0
mov eax, 0x5d0e29
call fcn.0059d2e0
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xb8], eax
xor esi, esi
lea ecx, [ebp - 0x28]
push 0x656858
mov dword [ebp - 4], esi
call fcn.00403040
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 1
call fcn.00456594
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov edi, esi
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x446c9d
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push esi
cmovae eax, dword [ebp + 8]
push 0x80
push 4
push esi
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x446c9f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0xb8]
push eax
mov dword [ecx], eax
call fcn.0059cf3d
mov edi, eax
pop ecx
test edi, edi
je 0x446c9f
mov eax, dword [ebp - 0xb8]
push dword [eax]
push esi
push edi
call fcn.005a2240
add esp, 0xc
lea eax, [ebp - 0xbc]
push esi
push eax
mov eax, dword [ebp - 0xb8]
push dword [eax]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, edi
lea ecx, [ebp - 0x28]
call fcn.00402fe0
lea ecx, [ebp + 8]
call fcn.00402fe0
mov eax, esi
call fcn.0059d28a
ret