joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9fd0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x691a38
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x729140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 1
mov dword [ebp - 0x14], 0
call fcn.00634eb5
mov dword [ebp - 0x14], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp - 0x12c]
push eax
call fcn.0064d010
add esp, 0x10
mov dword [ebp - 0x130], 0x11c
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4aa054
cmp dword [ebp - 0x12c], 6
mov eax, dword [ebp - 0x14]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x14]
call fcn.004edd50
test al, al
je 0x4aa07e
lea ecx, [ebp - 0x14]
call fcn.004ed350
test al, al
jne 0x4aa07e
xor bl, bl
jmp 0x4aa0e4
lea edx, [esi + 4]
xor ecx, ecx
call fcn.004e9870
test al, al
jne 0x4aa094
lea ecx, [esi + 4]
call fcn.004142e0
lea edx, [esi + 0x1c]
mov ecx, 0x1a
call fcn.004e9870
test al, al
jne 0x4aa0ad
lea ecx, [esi + 0x1c]
call fcn.004142e0
lea edx, [esi + 0x34]
mov ecx, 2
call fcn.004e9870
test al, al
jne 0x4aa0c6
lea ecx, [esi + 0x34]
call fcn.004142e0
lea edx, [esi + 0x4c]
mov ecx, 0xb
call fcn.004e9870
test al, al
jne 0x4aa0df
lea ecx, [esi + 0x4c]
call fcn.004142e0
mov byte [esi], 1
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004ecca0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00634bf3
mov esp, ebp
pop ebp
ret
Function at 0x4aa1a0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x691a81
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x729140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], 0
call fcn.004028e0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4aa1ec
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4aa203
mov eax, edx
cmp word [eax], 0x25
je 0x4aa239
add eax, 2
sub ecx, 1
jne 0x4aa1f5
push edi
mov ecx, esi
call fcn.00414330
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00634bf3
mov esp, ebp
pop ebp
ret 8
test eax, eax
je 0x4aa203
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x4aa203
push edi
lea ecx, [ebp - 0x28]
call fcn.00414330
mov dword [ebp - 4], 1
mov ecx, edi
push 0
push 0
call fcn.00405860
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x4aa28c
push edi
mov ecx, esi
call fcn.00414330
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405870
jmp 0x4aa219
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006354e1
mov edx, dword [ebp - 0x30]
add esp, 4
inc edx
mov ebx, eax
mov ecx, edi
push edx
push ebx
call fcn.00405860
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4aa2e0
cmp eax, dword [ebp - 0x30]
ja 0x4aa2e0
xor ecx, ecx
push ebx
mov word [ebx + eax*2], cx
call fcn.00405dd0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push ebx
call fcn.00405b20
push ebx
call fcn.00634f16
add esp, 4
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00406120
jmp 0x4aa277
Function at 0x4aadf0
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x691c0c
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x729140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x264]
push 0x208
push 0
push eax
mov dword [ebp - 0x5c], method.DuiLib::CListHeaderItemUI.virtual_20
mov ebx, 0x6c
mov dword [ebp - 0x58], 0x720063
mov dword [ebp - 0x54], 0x6d006f
mov dword [ebp - 0x50], 0x640065
mov dword [ebp - 0x4c], 0x46005c
mov dword [ebp - 0x48], 0x61006c
mov dword [ebp - 0x44], 0x680073
mov dword [ebp - 0x40], 0x46005c
mov dword [ebp - 0x3c], 0x61006c
mov dword [ebp - 0x38], 0x680073
mov dword [ebp - 0x34], 0x650048
mov dword [ebp - 0x30], 0x70006c
mov dword [ebp - 0x2c], 0x720065
mov dword [ebp - 0x28], 0x650053
mov dword [ebp - 0x24], 0x760072
mov dword [ebp - 0x20], 0x630069
mov dword [ebp - 0x1c], 0x2e0065
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
call fcn.0064d010
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.00405880
mov dword [ebp - 4], 0
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.00405880
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c4]
push eax
lea edx, [ebp - 0x2ac]
lea ecx, [ebp - 0x294]
call fcn.004e05c0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2ac]
call fcn.00405870
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c4]
call fcn.00405870
lea ecx, [ebp - 0x294]
call fcn.004ddfc0
test al, al
jne 0x4aaf4e
xor bl, bl
jmp 0x4aafb0
lea edx, [ebp - 0x294]
lea ecx, [ebp - 0x27c]
call fcn.004f7360
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x27c]
call fcn.0040cdb0
test al, al
je 0x4aaf76
xor bl, bl
jmp 0x4aafa1
lea ecx, [ebp - 0x27c]
call fcn.004028e0
cmp esi, eax
je 0x4aaf9f
call fcn.004028e0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4aaf94
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.00405b20
mov bl, 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x27c]
call fcn.00405870
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x294]
call fcn.00405870
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00634bf3
mov esp, ebp
pop ebp
ret 4
Function at 0x4aaff0
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x691c7e
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x729140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x264]
push 0x208
push 0
push eax
mov dword [ebp - 0x5c], method.DuiLib::CListHeaderItemUI.virtual_20
mov ebx, 0x6c
mov dword [ebp - 0x58], 0x720063
mov dword [ebp - 0x54], 0x6d006f
mov dword [ebp - 0x50], 0x640065
mov dword [ebp - 0x4c], 0x46005c
mov dword [ebp - 0x48], 0x61006c
mov dword [ebp - 0x44], 0x680073
mov dword [ebp - 0x40], 0x46005c
mov dword [ebp - 0x3c], 0x61006c
mov dword [ebp - 0x38], 0x680073
mov dword [ebp - 0x34], 0x650048
mov dword [ebp - 0x30], 0x70006c
mov dword [ebp - 0x2c], 0x720065
mov dword [ebp - 0x28], 0x650053
mov dword [ebp - 0x24], 0x760072
mov dword [ebp - 0x20], 0x630069
mov dword [ebp - 0x1c], 0x2e0065
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
call fcn.0064d010
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00405880
mov dword [ebp - 4], 0
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x29c]
call fcn.00405880
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2b4]
push eax
lea edx, [ebp - 0x29c]
lea ecx, [ebp - 0x27c]
call fcn.004e05c0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x29c]
call fcn.00405870
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2b4]
call fcn.00405870
lea ecx, [ebp - 0x27c]
call fcn.004ddfc0
test al, al
je 0x4ab1e8
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00634eb5
add esp, 4
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 5
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 4
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x27c]
push 0x80
push 4
push 1
push SysReAllocString
push eax
lea ecx, [ebp - 0x280]
call fcn.004e08e0
test al, al
jne 0x4ab1ec
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x280]
test esi, esi
je 0x4ab1e8
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4ab1d3
test eax, eax
je 0x4ab1d3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.00634ee5
add esp, 8
mov dword [ebp - 0x280], 0
xor bl, bl
jmp 0x4ab235
push esi
lea ecx, [ebp - 0x280]
call fcn.004e0ac0
mov bl, al
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x280]
test esi, esi
je 0x4ab235
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4ab220
test eax, eax
je 0x4ab220
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.00634ee5
add esp, 8
mov dword [ebp - 0x280], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.00405870
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00634bf3
mov esp, ebp
pop ebp
ret 4
Function at 0x4b1ae0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6925bc
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x729140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x10]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 4
lea ecx, [esi + 0x48]
call fcn.00405870
mov byte [ebp - 4], 3
lea ecx, [esi + 0x30]
call fcn.00405870
mov byte [ebp - 4], 2
lea ecx, [esi + 0x18]
call fcn.00405870
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00405870
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.00405870
push 0x88
push ebx
call fcn.00634ee5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b8710
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x692f80
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x729140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.004b8d90
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov word [esi + 0xc], 0
push dword [ecx]
lea ecx, [esi + 0x10]
call fcn.00414330
mov dword [esi + 0x28], 0
mov eax, esi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4cd9e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x4cda11
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4cda00
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x4d7600
Capabilities:
Get common file path

Disassembly:
sub esp, 0x418
mov eax, dword [0x729140]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
mov esi, ecx
call fcn.004142e0
push 0x412
lea eax, [esp + 8]
push 0
push eax
call fcn.0064d010
add esp, 0xc
lea eax, [esp + 4]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x4d765c
xor al, al
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00634bf3
add esp, 0x418
ret
cmp eax, 0x208
jae 0x4d7644
xor eax, eax
mov word [esp + 0x414], ax
lea eax, [esp + 4]
push eax
call fcn.00405dd0
add esp, 4
mov ecx, esi
push eax
lea eax, [esp + 8]
push eax
call fcn.00405b20
mov ecx, dword [esp + 0x418]
mov al, 1
pop esi
xor ecx, esp
call fcn.00634bf3
add esp, 0x418
ret

Function at 0x4d8390
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x729140]
xor eax, esp
mov dword [esp + 0x128], eax
push esi
push 0x110
lea eax, [esp + 0x18]
mov esi, ecx
push 0
push eax
call fcn.0064d010
add esp, 0xc
mov dword [esp + 0x10], 0x114
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4d840e
cmp dword [esp + 0x14], 6
jb 0x4d840e
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x207
push eax
push esi
push str.Progid
mov edx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov ecx, reloc.gdiplus.dll_Ordinal_1
call fcn.004d8200
add esp, 0xc
test al, al
je 0x4d840e
cmp word [esi], 0
jne 0x4d8466
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push 0
mov edx, str.http_shellopencommand
mov ecx, SysReAllocString
call fcn.004d8200
add esp, 0xc
test al, al
je 0x4d843a
cmp word [esi], 0
jne 0x4d8466
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push 0
mov edx, str.SoftwareClasses.html
mov ecx, reloc.gdiplus.dll_Ordinal_1
call fcn.004d8200
add esp, 0xc
test al, al
je 0x4d847b
cmp word [esi], 0
je 0x4d847b
mov al, 1
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00634bf3
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x12c]
xor al, al
pop esi
xor ecx, esp
call fcn.00634bf3
mov esp, ebp
pop ebp
ret
Function at 0x4d89e0
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x695b7b
mov eax, dword fs:[0]
push eax
mov eax, 0x285c
call fcn.00635b70
mov eax, dword [0x729140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x2000
xor ebx, ebx
lea eax, [ebp - 0x2218]
push ebx
push eax
call fcn.0064d010
add esp, 0xc
mov eax, 0x22
mov word [ebp - 0x2218], ax
test esi, esi
je 0x4d8bf4
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 1
jl 0x4d8bf4
push esi
call edi
cmp eax, 0xffa
jge 0x4d8bf4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x2218]
push eax
call esi
push 0x6cc678
lea eax, [ebp - 0x2218]
push eax
call esi
push str.Shell32.dll
lea ecx, [ebp - 0x2868]
call fcn.00405880
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2868]
push eax
call fcn.004f08f0
mov ecx, eax
call fcn.004f09b0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2868]
call fcn.00405870
test esi, esi
je 0x4d8bf4
push str.ShellExecuteW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x284c], eax
test eax, eax
je 0x4d8bf4
lea ecx, [ebp - 0x2848]
call fcn.004d8490
xor edi, edi
lea esi, [ebp - 0x2848]
nop dword [eax]
cmp word [esi], 0
je 0x4d8b14
push 1
push 0
lea eax, [ebp - 0x2218]
push eax
push esi
push str.open
push 0
call dword [ebp - 0x284c]
cmp eax, 0x20
ja 0x4d8b22
inc edi
add esi, 0x210
cmp edi, 3
jl 0x4d8af0
jmp 0x4d8b44
imul ebx, edi, 0x210
cmp dword [ebp + ebx - 0x2640], 0
mov ebx, dword [ebp + ebx - 0x263c]
jne 0x4d8b3c
add ebx, 0x10
test ebx, ebx
jne 0x4d8bf0
mov edi, dword [ebp - 0x284c]
lea eax, [ebp - 0x2218]
push 1
push 0
push 0
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x4d8beb
mov dword [ebp - 0x2850], str._programfiles_x86__Internet_Exploreriexplore.exe
xor esi, esi
mov dword [ebp - 0x284c], str._programfiles_Internet_Exploreriexplore.exe
nop
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0064d010
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x103
push eax
push dword [ebp + esi*4 - 0x2850]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4d8be1
push 1
push 0
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x218]
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x4d8beb
inc esi
cmp esi, 2
jb 0x4d8b80
mov eax, ebx
jmp 0x4d8bf6
mov ebx, 0x10
mov eax, ebx
jmp 0x4d8bf6
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00634bf3
mov esp, ebp
pop ebp
ret
Function at 0x4d8d20
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x140
mov eax, dword [0x729140]
xor eax, esp
mov dword [esp + 0x13c], eax
push esi
mov esi, ecx
push 0x118
push 0
lea eax, [esi + 4]
push eax
call fcn.0064d010
add esp, 0xc
mov dword [esi], 0x11c
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4d8e62
cmp dword [esi + 4], 6
push edi
ja 0x4d8d76
jne 0x4d8dfe
cmp dword [esi + 8], 2
jb 0x4d8dfe
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x4d8dfe
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4d8dfe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4d8dfe
movups xmm0, xmmword [0x6db0b0]
push eax
movups xmmword [esp + 0x128], xmm0
movups xmm0, xmmword [0x6db0c0]
movups xmmword [esp + 0x138], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4d8dfe
lea eax, [esp + 0x124]
push eax
lea ecx, [edi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4d8dfe
cmp word [edi + 2], ax
jbe 0x4d8dfe
movzx edx, word [edi + 0x32]
movzx ecx, word [edi + 0x30]
movzx eax, word [edi + 0x36]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
push 0x6d266c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4d8e49
push 0x118
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0064d010
add esp, 0xc
mov dword [esp + 8], 0x11c
lea eax, [esp + 8]
push eax
call edi
test eax, eax
jne 0x4d8e49
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.00634bf3
add esp, 0x140
ret
mov ecx, dword [esp + 0x140]
xor al, al
pop esi
xor ecx, esp
call fcn.00634bf3
add esp, 0x140
ret
Function at 0x4dabd0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x695e4f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x729140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea ecx, [esi + 0x7c]
call fcn.00405870
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.00405870
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.00405870
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.00405870
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.00405870
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00405870
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4dbed0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x695fef
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x729140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.00406120
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.00406120
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.00406120
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.00406120
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.00406120
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.00406120
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4dcfc0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebx
push ebp
mov ebx, ecx
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
lea ecx, [eax - 1]
push esi
mov ebp, ecx
mov dword [esp + 0x14], ecx
push edi
mov edi, edx
sar ebp, 1
mov dword [esp + 0x14], edi
mov esi, edi
cmp edi, ebp
jge 0x4dd031
add esi, esi
lea eax, [esi + 2]
lea eax, [eax + eax*2]
lea ecx, [ebx + eax*8]
lea edx, [ecx - 0x18]
call fcn.0042aaa0
movzx eax, al
xor eax, 1
inc eax
add esi, eax
lea eax, [esi + esi*2]
lea eax, [ebx + eax*8]
push eax
call fcn.00405f00
add esp, 4
push eax
lea eax, [edi + edi*2]
lea ecx, [ebx + eax*8]
call fcn.0040cdf0
mov edi, esi
cmp esi, ebp
jl 0x4dcff0
mov eax, dword [esp + 0x10]
cmp esi, ebp
jne 0x4dd05b
test al, 1
jne 0x4dd05b
lea eax, [eax + eax*2]
lea eax, [eax - 3]
lea eax, [ebx + eax*8]
push eax
call fcn.00405f00
add esp, 4
push eax
lea eax, [edi + edi*2]
lea ecx, [ebx + eax*8]
call fcn.0040cdf0
mov edi, dword [esp + 0x18]
push dword [esp + 0x1c]
call fcn.00405f00
add esp, 4
mov ecx, eax
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x14], edi
jge 0x4dd0b0
lea esi, [edi - 1]
mov edx, ecx
sar esi, 1
lea eax, [esi + esi*2]
lea ebp, [ebx + eax*8]
mov ecx, ebp
call fcn.0042aaa0
test al, al
je 0x4dd0ac
push ebp
call fcn.00405f00
add esp, 4
push eax
lea eax, [edi + edi*2]
lea ecx, [ebx + eax*8]
call fcn.0040cdf0
mov edi, esi
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x14], esi
jl 0x4dd073
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00405f00
add esp, 4
push eax
lea eax, [edi + edi*2]
lea ecx, [ebx + eax*8]
call fcn.0040cdf0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x4dd0d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6961cf
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x729140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.00414330
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.00414330
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.00414330
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.00414330
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.00414330
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.00414330
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4