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

Disassembly:
mov eax, 0x60cff8
call fcn.0060b6e8
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 0x4174a4
xor eax, eax
cmp ecx, ebx
cmovne eax, ecx
jmp 0x417607
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4174d3
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x4174d3
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 0x417606
cmp dword [esi + 0x4c], 0
je 0x417604
mov ecx, esi
call fcn.00417729
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x417503
push dword [esi + 0x4c]
mov esi, dword [ebp + 8]
push esi
call fcn.00416ea7
test al, al
pop ecx
pop ecx
cmovne ebx, esi
jmp 0x417604
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 0x4175f8
cmp eax, 1
jg 0x4175dd
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 0x4175ae
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x3c]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.005f1ea9
mov edx, dword [ebp - 0x20]
add esp, 0x10
cmp edx, eax
jne 0x4175f8
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x24], eax
jne 0x4175d8
test edx, edx
jne 0x41752e
cmp dword [ebp - 0x2c], 0x20
jae 0x4175f8
push edx
push 8
lea ecx, [ebp - 0x3c]
call fcn.0040a72d
jmp 0x41752b
mov ebx, dword [ebp + 8]
jmp 0x4175f8
cmp eax, 3
jne 0x4175f8
mov eax, dword [ebp - 0x14]
push dword [eax + 0x4c]
push dword [ebp - 0x10]
call fcn.00416ea7
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 0x417777
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x60d00a
call fcn.0060b6e8
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x41787b
cmp byte [ebx + 0x3d], 0
je 0x41787b
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x4177b5
xor al, al
jmp 0x41787d
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 0x417813
sub eax, 1
je 0x417817
dec eax
sub eax, 1
je 0x417869
xor bl, bl
jmp 0x41786b
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 0x41784f
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.005f1ea9
add esp, 0x10
cmp esi, eax
jne 0x41780f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp byte [ebx + 0x3d], 0
je 0x417869
test esi, esi
jne 0x4177d9
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040a72d
jmp 0x4177d3
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004097fa
mov al, bl
jmp 0x41787d
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 0x417b17
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 0x694368
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x417b55
xor al, al
jmp 0x417b6b
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push edi
call eax
test eax, eax
je 0x417b51
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.005e1180
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 0x417beb
test ecx, ecx
jle 0x417c0d
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [esi], eax
jmp 0x417c0d
cmp edx, edi
jne 0x417c09
sub ecx, 0
je 0x417c01
sub ecx, 1
jne 0x417c0d
mov dword [esi], 4
jmp 0x417c0d
mov dword [esi], 3
jmp 0x417c0d
jle 0x417c0d
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 0x417c24
cmp dword [esi], edi
jne 0x417c56
push ecx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00417d5b
test eax, eax
jne 0x417c56
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.00417dfe
mov dword [esi], eax
push str.GetNativeSystemInfo
push 0x694368
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x417c7d
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x417c83
lea ecx, [ebp - 0x34]
push ecx
call eax
movzx eax, word [ebp - 0x34]
test eax, eax
je 0x417cb4
cmp eax, edi
je 0x417cab
cmp eax, 9
je 0x417ca2
cmp eax, 0xc
jne 0x417cb8
mov dword [esi + 0x18], 4
jmp 0x417cb8
mov dword [esi + 0x18], 1
jmp 0x417cb8
mov dword [esi + 0x18], 2
jmp 0x417cb8
and dword [esi + 0x18], 0
mov eax, dword [ebp - 0x20]
mov ecx, esi
mov dword [esi + 0x1c], eax
call fcn.00417ef2
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.00417f8a
test eax, eax
jne 0x417cda
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 0x417f8a
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 0x417fb0
push 0x57
pop esi
jmp 0x41802c
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 0x41801e
cmp dword [ebp - 4], ebx
jne 0x417fe5
push 6
jmp 0x417fad
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x6951d4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x41801e
cmp dword [ebp - 8], 4
jne 0x41801b
cmp dword [ebp - 0xc], 4
jne 0x41801b
mov eax, dword [ebp - 0x10]
mov esi, ebx
mov dword [edi], eax
jmp 0x41801e
push 0xd
pop esi
cmp dword [ebp - 4], ebx
je 0x41802c
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 0x41898c
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 0x4189b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x418a75
push esi
push 0x228
lea eax, [ebp - 0x230]
mov dword [ebp - 4], ebx
push ebx
push eax
mov esi, 0x490
call fcn.005e1180
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 0x418a2f
lea eax, [ebp - 0x210]
push str.explorer.exe
push eax
call fcn.005f1428
pop ecx
pop ecx
test eax, eax
je 0x418a22
lea eax, [ebp - 0x234]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4189f7
jmp 0x418a33
mov eax, dword [ebp - 0x22c]
xor esi, esi
mov dword [ebp - 4], eax
jmp 0x418a33
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 0x418a54
call ebx
jmp 0x418a74
push dword [ebp - 8]
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x418a6b
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 0x418b11
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
mov esi, ecx
test esi, esi
jne 0x418b26
or eax, 0xffffffff
jmp 0x418b7f
push 0x110
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.005e1180
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 0x418b69
cmp dword [ebp - 0x110], 5
jne 0x418b69
cmp dword [ebp - 0x10c], 0
je 0x418b74
mov ecx, esi
call fcn.00418a7b
test eax, eax
je 0x418b7d
mov ecx, esi
call fcn.0041898c
jmp 0x418b7f
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x418b84
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 0x418c3a
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 0x418be1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x418c39
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 0x418c2e
mov edi, ebx
cmp dword [esi], ebx
jbe 0x418c2e
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 0x418c2c
mov eax, dword [ebp - 0xc]
inc edi
add eax, 8
mov dword [ebp - 0xc], eax
cmp edi, dword [esi]
jb 0x418c0d
jmp 0x418c2e
mov bl, 1
test esi, esi
je 0x418c39
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
cmp dword [ebp - 4], 0
je 0x418c49
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 0x418c51
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 0x418cc3
push 0x110
lea eax, [ebp - 0x118]
push ebx
push eax
call fcn.005e1180
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 0x418cbd
cmp dword [ebp - 0x118], 6
jne 0x418cbd
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x418cf9
mov dword [edi], ebx
xor eax, eax
jmp 0x418cf9
mov ecx, dword [ebp - 8]
mov eax, ebx
push esi
mov esi, 0x490
cmp dword [ebp - 4], eax
jbe 0x418cef
lea edx, [ecx + 8]
cmp dword [edx], ebx
je 0x418ce5
inc eax
add edx, 0xc
cmp eax, dword [ebp - 4]
jb 0x418cd6
jmp 0x418cef
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 0x418d8a
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.005e1180
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.00418e55
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.00418e55
push 8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00418e55
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.005e1180
push 8
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.005e1180
push 0x40
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.005e1180
add esp, 0x24
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x419178
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x60d0d2
call fcn.0060b6e8
mov eax, 0x1024
call fcn.0060ad50
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.00418f2c
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.005e1180
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 0x41921d
cmp dword [ebp - 0x1c], eax
setne al
test eax, eax
je 0x41921d
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 0x41921d
lea eax, [ebp - 0x1030]
push eax
jmp 0x419222
push 0x692da4
mov ecx, esi
call fcn.00406173
cmp dword [ebp - 0x1c], 0
je 0x419238
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 0x4193df
Capabilities:
Get hostname

Disassembly:
mov eax, 0x60d0f5
call fcn.0060b6e8
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.005e1180
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.005e4060
push eax
lea edx, [ebp - 0x13c]
lea ecx, [ebp - 0x38]
call fcn.00418ef3
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 0x41946d
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 0x41949a
Capabilities:
Get common file path
Get disk size

Disassembly:
mov eax, 0x60d118
call fcn.0060b6e8
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.005e1180
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 0x4197fd
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.005e4060
xor esi, esi
mov edx, eax
pop ecx
test edi, edi
je 0x419837
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 0x41981f
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
pop ebp
ret
Function at 0x419aa5
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x60d1c4
call fcn.0060b6e8
sub esp, 0x28
push ebx
push esi
push edi
call fcn.00404f47
push eax
lea ecx, [ebp - 0x10]
call fcn.004065d8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], str.wq.cloud.duba.net
mov dword [ebp - 0x18], str.221.228.204.36:80
mov dword [ebp - 0x14], str.122.193.207.36:80
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 4], 1
mov edi, ebx
push str.http:__
lea ecx, [ebp - 0x10]
call fcn.004060f8
push dword [ebp + edi*4 - 0x1c]
lea ecx, [ebp - 0x10]
call fcn.004062d3
push 0x2f
lea ecx, [ebp - 0x10]
call fcn.004062a6
push str.cityinfo
lea ecx, [ebp - 0x10]
call fcn.004062d3
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x34]
mov edx, dword [ebp + 0xc]
push eax
push ecx
push ecx
push 0x1c
mov ecx, esi
call fcn.0041422b
add esp, 0x10
cmp dword [ebp - 0x24], 0
jne 0x419b49
inc edi
cmp edi, 3
jb 0x419af0
or edi, 0xffffffff
jmp 0x419b62
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
push dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0x14]
push eax
call fcn.00406921
mov edi, ebx
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.004097fa
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x41b522
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x60d3a4
call fcn.0060b6e8
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.0041ce9a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42102e
Capabilities:
Get system information on windows

Disassembly:
mov eax, 0x60dcde
call fcn.0060b6e8
sub esp, 0x44
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
lea ecx, [edi + 0x240]
push dword [ecx + 8]
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
lea ecx, [edi + 0xc]
call fcn.00429c93
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3c]
or dword [edi + 0x58], 0xffffffff
or dword [edi + 0x5c], 0xffffffff
mov dword [edi + 0x54], eax
mov dword [edi + 0x50], ebx
mov dword [edi + 0x10], 4
cmp ebx, dword [ebp + 0x14]
jge 0x421169
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push dword [eax + ebx*4]
call fcn.0041ad91
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_CharUpperW]
cmp dword [ebp - 0x18], 0
jne 0x4210b6
mov esi, 0x80070057
jmp 0x42115c
mov ecx, dword [ebp - 0x1c]
mov eax, ebx
shl eax, 4
add eax, dword [ebp + 0x10]
cmp word [ecx], 0x42
jne 0x42114c
push 1
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004212cd
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x1c]
call fcn.00420fda
mov esi, eax
pop ecx
test esi, esi
jne 0x42115c
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0x3a
jne 0x4210ac
push 1
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004212cd
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
call fcn.00420fda
mov esi, eax
pop ecx
test esi, esi
jne 0x42115c
cmp dword [ebp - 0x18], eax
jne 0x4210ac
test esi, esi
jne 0x42115c
sub esp, 0x10
lea esi, [ebp - 0x2c]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
lea ecx, [edi + 0x240]
call fcn.0041d011
mov byte [ebp - 4], 0
push dword [ebp - 0x1c]
call fcn.0049930e
pop ecx
inc ebx
jmp 0x421082
push eax
push ecx
lea ecx, [edi + 0xc]
call fcn.00429cec
mov esi, eax
test esi, esi
je 0x421139
push dword [ebp - 0x1c]
call fcn.0049930e
pop ecx
mov eax, esi
jmp 0x421178
xor eax, eax
jmp 0x421178
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10