joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4185d1
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x60dda2
call fcn.0060c3a8
sub esp, 0x30
push ebx
push esi
mov esi, ecx
or ebx, 0xffffffff
mov ecx, dword [ebp + 8]
cmp ecx, ebx
mov dword [ebp - 0x14], esi
sete al
test al, al
je 0x4185f2
xor eax, eax
cmp ecx, ebx
cmovne eax, ecx
jmp 0x418755
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x418621
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x418621
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x418754
cmp dword [esi + 0x4c], 0
je 0x418752
mov ecx, esi
call fcn.00418879
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x418651
push dword [esi + 0x4c]
mov esi, dword [ebp + 8]
push esi
call fcn.00417ff5
test al, al
pop ecx
pop ecx
cmovne ebx, esi
jmp 0x418752
mov eax, dword [ebp + 8]
push ecx
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 0x3c], cl
lea ecx, [ebp - 0x3c]
push 8
mov byte [ebp - 0x10], al
mov dword [ebp - 0x28], 0xf
call fcn.0040984f
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x28]
mov esi, dword [esi + 0x38]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
cmp edi, 0x10
lea edx, [ebp - 0x3c]
mov edi, dword [esi]
cmovae ecx, dword [ebp - 0x3c]
cmovae edx, dword [ebp - 0x3c]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
lea eax, [ebp - 0xf]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
call dword [edi + 0x1c]
test eax, eax
js 0x418746
cmp eax, 1
jg 0x41872b
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
cmp edi, 0x10
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x20], edx
je 0x4186fc
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x3c]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.005f2ab9
mov edx, dword [ebp - 0x20]
add esp, 0x10
cmp edx, eax
jne 0x418746
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x24], eax
jne 0x418726
test edx, edx
jne 0x41867c
cmp dword [ebp - 0x2c], 0x20
jae 0x418746
push edx
push 8
lea ecx, [ebp - 0x3c]
call fcn.0040a72d
jmp 0x418679
mov ebx, dword [ebp + 8]
jmp 0x418746
cmp eax, 3
jne 0x418746
mov eax, dword [ebp - 0x14]
push dword [eax + 0x4c]
push dword [ebp - 0x10]
call fcn.00417ff5
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.004097fa
mov eax, ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4188c7
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x60ddb4
call fcn.0060c3a8
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x4189cb
cmp byte [ebx + 0x3d], 0
je 0x4189cb
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x418905
xor al, al
jmp 0x4189cd
xor eax, eax
mov dword [ebp - 0x18], 0xf
push eax
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
call fcn.0040984f
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
lea eax, [ebp - 0x14]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x2c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x418963
sub eax, 1
je 0x418967
dec eax
sub eax, 1
je 0x4189b9
xor bl, bl
jmp 0x4189bb
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
cmp ecx, 0x10
mov esi, dword [ebp - 0x14]
cmovae eax, edx
sub esi, eax
je 0x41899f
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.005f2ab9
add esp, 0x10
cmp esi, eax
jne 0x41895f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp byte [ebx + 0x3d], 0
je 0x4189b9
test esi, esi
jne 0x418929
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040a72d
jmp 0x418923
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004097fa
mov al, bl
jmp 0x4189cd
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418c67
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push esi
mov esi, ecx
push edi
and dword [esi], 0
mov dword [esi + 0x18], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push 0x695368
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x418ca5
xor al, al
jmp 0x418cbb
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push edi
call eax
test eax, eax
je 0x418ca1
cmp dword [ebp - 4], 0
setne al
and dword [esi + 0x24], 0
push 0x118
mov byte [esi + 0x20], al
lea eax, [ebp - 0x14c]
push 0
push eax
mov dword [ebp - 0x150], 0x11c
call fcn.005e1e60
add esp, 0xc
lea edi, [ebp - 0x34]
xor eax, eax
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
push 9
pop ecx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x150]
mov dword [ebp - 0xc], edx
push eax
mov dword [ebp - 0x10], edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x144]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
push 6
pop edi
cmp edx, 5
jne 0x418d3b
test ecx, ecx
jle 0x418d5d
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [esi], eax
jmp 0x418d5d
cmp edx, edi
jne 0x418d59
sub ecx, 0
je 0x418d51
sub ecx, 1
jne 0x418d5d
mov dword [esi], 4
jmp 0x418d5d
mov dword [esi], 3
jmp 0x418d5d
jle 0x418d5d
mov dword [esi], edi
cmp dword [esi], 0
movzx eax, word [ebp - 0x3c]
mov dword [esi + 0x10], eax
movzx eax, word [ebp - 0x3a]
mov dword [esi + 0x14], eax
je 0x418d74
cmp dword [esi], edi
jne 0x418da6
push ecx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418eab
test eax, eax
jne 0x418da6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
push eax
push ecx
push edx
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
call fcn.00418f4e
mov dword [esi], eax
push str.GetNativeSystemInfo
push 0x695368
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x418dcd
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x418dd3
lea ecx, [ebp - 0x34]
push ecx
call eax
movzx eax, word [ebp - 0x34]
test eax, eax
je 0x418e04
cmp eax, edi
je 0x418dfb
cmp eax, 9
je 0x418df2
cmp eax, 0xc
jne 0x418e08
mov dword [esi + 0x18], 4
jmp 0x418e08
mov dword [esi + 0x18], 1
jmp 0x418e08
mov dword [esi + 0x18], 2
jmp 0x418e08
and dword [esi + 0x18], 0
mov eax, dword [ebp - 0x20]
mov ecx, esi
mov dword [esi + 0x1c], eax
call fcn.00419042
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.004190da
test eax, eax
jne 0x418e2a
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x24], eax
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4190da
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
test edi, edi
jne 0x419100
push 0x57
pop esi
jmp 0x41917c
cmp dword [ecx + 0x18], ebx
lea eax, [ebp - 4]
push eax
mov edx, 0x20019
mov eax, 0x20119
cmove eax, edx
push eax
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x41916e
cmp dword [ebp - 4], ebx
jne 0x419135
push 6
jmp 0x4190fd
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x696530
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x41916e
cmp dword [ebp - 8], 4
jne 0x41916b
cmp dword [ebp - 0xc], 4
jne 0x41916b
mov eax, dword [ebp - 0x10]
mov esi, ebx
mov dword [edi], eax
jmp 0x41916e
push 0xd
pop esi
cmp dword [ebp - 4], ebx
je 0x41917c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x419adc
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 8], ecx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x419b07
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x419bc5
push esi
push 0x228
lea eax, [ebp - 0x230]
mov dword [ebp - 4], ebx
push ebx
push eax
mov esi, 0x490
call fcn.005e1e60
add esp, 0xc
mov dword [ebp - 0x234], 0x22c
lea eax, [ebp - 0x234]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x419b7f
lea eax, [ebp - 0x210]
push str.explorer.exe
push eax
call fcn.005f2038
pop ecx
pop ecx
test eax, eax
je 0x419b72
lea eax, [ebp - 0x234]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x419b47
jmp 0x419b83
mov eax, dword [ebp - 0x22c]
xor esi, esi
mov dword [ebp - 4], eax
jmp 0x419b83
call ebx
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x419ba4
call ebx
jmp 0x419bc4
push dword [ebp - 8]
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x419bbb
call ebx
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419c61
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
mov esi, ecx
test esi, esi
jne 0x419c76
or eax, 0xffffffff
jmp 0x419ccf
push 0x110
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.005e1e60
add esp, 0xc
mov dword [ebp - 0x114], 0x114
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x419cb9
cmp dword [ebp - 0x110], 5
jne 0x419cb9
cmp dword [ebp - 0x10c], 0
je 0x419cc4
mov ecx, esi
call fcn.00419bcb
test eax, eax
je 0x419ccd
mov ecx, esi
call fcn.00419adc
jmp 0x419ccf
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419cd4
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
mov word [ebp - 0x10], 0x500
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov esi, ecx
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x419d8a
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 2
push esi
call edi
test eax, eax
jne 0x419d31
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x419d89
push dword [ebp - 8]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push esi
push 2
push dword [ebp - 0xc]
call edi
test eax, eax
je 0x419d7e
mov edi, ebx
cmp dword [esi], ebx
jbe 0x419d7e
lea eax, [esi + 4]
mov dword [ebp - 0xc], eax
push dword [eax]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x419d7c
mov eax, dword [ebp - 0xc]
inc edi
add eax, 8
mov dword [ebp - 0xc], eax
cmp edi, dword [esi]
jb 0x419d5d
jmp 0x419d7e
mov bl, 1
test esi, esi
je 0x419d89
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
cmp dword [ebp - 4], 0
je 0x419d99
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419da1
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push edi
lea eax, [ebp - 4]
xor ebx, ebx
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push 1
push ebx
push ebx
mov edi, ecx
mov dword [ebp - 4], ebx
call dword [sym.imp.WTSAPI32.dll_WTSEnumerateSessionsW]
test eax, eax
jne 0x419e13
push 0x110
lea eax, [ebp - 0x118]
push ebx
push eax
call fcn.005e1e60
add esp, 0xc
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x419e0d
cmp dword [ebp - 0x118], 6
jne 0x419e0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x419e49
mov dword [edi], ebx
xor eax, eax
jmp 0x419e49
mov ecx, dword [ebp - 8]
mov eax, ebx
push esi
mov esi, 0x490
cmp dword [ebp - 4], eax
jbe 0x419e3f
lea edx, [ecx + 8]
cmp dword [edx], ebx
je 0x419e35
inc eax
add edx, 0xc
cmp eax, dword [ebp - 4]
jb 0x419e26
jmp 0x419e3f
imul eax, eax, 0xc
mov esi, ebx
mov eax, dword [eax + ecx]
mov dword [edi], eax
push ecx
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419eda
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
push edi
push 0x58
xor edi, edi
lea eax, [ebp - 0x64]
push edi
push eax
mov esi, ecx
call fcn.005e1e60
add esp, 0xc
mov dword [ebp - 0x50], edi
lea eax, [ebp - 0x64]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x64], 0x67452301
mov dword [ebp - 0x60], 0xefcdab89
push dword [ebp + 0x10]
mov dword [ebp - 0x5c], 0x98badcfe
push dword [ebp + 0xc]
mov dword [ebp - 0x58], 0x10325476
push eax
call fcn.00419fa5
push 8
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004131cf
mov edx, dword [ebp - 0x54]
push 0x38
pop ecx
push 0x78
shr edx, 3
pop eax
and edx, 0x3f
sub eax, edx
sub ecx, edx
cmp edx, 0x38
cmovb eax, ecx
push eax
push esi
lea eax, [ebp - 0x64]
push eax
call fcn.00419fa5
push 8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00419fa5
push 0x10
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 8]
call fcn.004131cf
push 0x10
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.005e1e60
push 8
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.005e1e60
push 0x40
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.005e1e60
add esp, 0x24
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41a2c8
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x60de7c
call fcn.0060c3a8
mov eax, 0x1024
call fcn.0060ba10
push esi
push edi
push ecx
mov esi, ecx
xor edi, edi
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
call fcn.0041a07c
mov eax, 0x1000
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x1030]
push edi
push eax
mov dword [ebp - 0x30], edi
call fcn.005e1e60
sub dword [ebp - 0x2c], 2
lea eax, [ebp - 0x1c]
add esp, 0xc
push eax
mov eax, dword [ebp - 0x10]
or eax, 0x2001f
push eax
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a36d
cmp dword [ebp - 0x1c], eax
setne al
test eax, eax
je 0x41a36d
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1030]
push eax
lea eax, [ebp - 0x30]
push eax
push edi
push str.idex
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
add eax, 1
je 0x41a36d
lea eax, [ebp - 0x1030]
push eax
jmp 0x41a372
push 0x693da4
mov ecx, esi
call fcn.00406173
cmp dword [ebp - 0x1c], 0
je 0x41a388
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x41a52f
Capabilities:
Get hostname

Disassembly:
mov eax, 0x60de9f
call fcn.0060c3a8
sub esp, 0x130
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x13c]
mov edi, 0x104
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
push ebx
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x14], ebx
call fcn.005e1e60
add esp, 0xc
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 7
xor eax, eax
mov byte [ebp - 0x38], bl
pop ecx
lea edi, [ebp - 0x37]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x13c]
push eax
call fcn.005e4d20
push eax
lea edx, [ebp - 0x13c]
lea ecx, [ebp - 0x38]
call fcn.0041a043
pop ecx
pop ecx
call fcn.00404f47
push eax
mov ecx, esi
call fcn.004065d8
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
movzx eax, byte [ebp + ebx - 0x38]
push eax
push str._02x
push esi
call fcn.004090e5
add esp, 0xc
inc ebx
cmp ebx, 0x10
jl 0x41a5bd
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x41a5ea
Capabilities:
Get common file path
Get disk size

Disassembly:
mov eax, 0x60dec2
call fcn.0060c3a8
sub esp, 0x218
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x224]
push 0x208
mov esi, ecx
mov dword [ebp - 0x1c], esi
push edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x10], edi
call fcn.005e1e60
add esp, 0xc
lea eax, [ebp - 0x224]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push edi
push edi
lea eax, [ebp - 0x224]
mov dword [ebp - 0x14], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
call fcn.00404f47
push eax
mov ecx, esi
call fcn.004065d8
mov dword [ebp - 4], edi
push dword [ebp - 0x18]
mov dword [ebp - 0x10], 1
push str._010lu
push esi
call fcn.00406cc8
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41a94d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push str.hCZHGrLSqVZLWvNN
mov edi, edx
mov ebx, ecx
call fcn.005e4d20
xor esi, esi
mov edx, eax
pop ecx
test edi, edi
je 0x41a987
mov ecx, dword [ebp + 8]
sub ebx, ecx
mov al, byte [ebx + ecx]
xor al, byte [esi + str.hCZHGrLSqVZLWvNN]
inc esi
cmp esi, edx
mov byte [ecx], al
sbb eax, eax
and esi, eax
inc ecx
sub edi, 1
jne 0x41a96f
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
pop ebp
ret
Function at 0x41c672
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x60e14e
call fcn.0060c3a8
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 4
mov dword [esi], vtable.CObjectVector_struct_NArchive::N7z::CMethodFull_.0
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0x10
mov dword [esi + 0x14], vtable.CRecordVector_struct_NArchive::N7z::CBind_.0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], 1
mov byte [esi + 0x2c], al
call fcn.0041dfea
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42c2fd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
mov esi, 0x80004005
cmp dword [eax + 0xc], ecx
je 0x42c32a
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x42c36a
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.0042c7d6
test eax, eax
je 0x42c36a
xor esi, esi
jmp 0x42c36a
push edi
mov edi, dword [eax + 0x10]
cmp edi, 0xffffffff
je 0x42c369
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
push ecx
jmp 0x42c353
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
sub ebx, dword [ebp + 8]
je 0x42c366
push 0
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42c343
jmp 0x42c368
xor esi, esi
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x10
Function at 0x42cb12
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push 0x80
push 2
push edi
push 1
push 0xc0000000
push ebx
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x42cb5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
push str.CreateFileByMem_CreateFile_error:_d__path:_ws
jmp 0x42cc47
xor ecx, ecx
push ecx
push dword [esi + 4]
push ecx
push 4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x10], edi
jne 0x42cb96
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push ebx
call esi
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
push 0x6c88e0
call fcn.0048e513
add esp, 0x10
jmp 0x42cc0e
push dword [esi + 4]
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x42cbc1
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push ebx
call esi
push eax
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
jmp 0x42cb87
mov ecx, eax
mov dword [esp + 0xc], eax
mov eax, dword [esi + 8]
mov esi, dword [eax]
cmp esi, eax
je 0x42cc01
mov ebx, dword [esp + 0x14]
mov edi, dword [esi + 8]
mov eax, dword [edi + 4]
sub eax, dword [edi]
push eax
push dword [edi]
push ecx
call fcn.005e0960
mov eax, dword [edi + 4]
add esp, 0xc
sub eax, dword [edi]
mov ecx, dword [esp + 0xc]
mov esi, dword [esi]
add ecx, eax
mov dword [esp + 0xc], ecx
cmp esi, dword [ebx + 8]
jne 0x42cbd4
mov ebx, dword [ebp + 8]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor edi, edi
inc edi
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42cc1f
push eax
call esi
push dword [esp + 0x10]
call esi
test edi, edi
je 0x42cc54
mov ecx, dword [esp + 0x14]
push ebx
call fcn.0042cc5f
mov edi, eax
test edi, edi
jne 0x42cc54
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push edi
push str.ChecksumFileByMem_return_d__path:_ws
push 0x6c88e0
call fcn.0048e513
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4