joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cddc
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40cee2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4c7c10
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4c7c28]
jne 0x40ce28
mov eax, esi
mov edx, 0x4c7c2a
mov ecx, 0x55
call fcn.0040a2c4
push 0x4c7c10
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40ceca
push 0x4c7c10
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.004097dc
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40ce97
cmp byte [0x4c7c0c], 0
je 0x40ce5c
mov edx, esi
mov eax, ebx
call fcn.0040ccc0
jmp 0x40ce97
mov edx, esi
mov eax, ebx
call fcn.0040cac0
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40ce97
cmp dword [esi], 0
je 0x40ce80
mov eax, esi
mov edx, 0x40cefc
call fcn.0040a41c
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040cac0
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040a41c
push 0x4c7c10
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4c7c28], bx
mov eax, dword [esi]
call fcn.0040a224
mov ecx, eax
mov eax, 0x4c7c2a
mov edx, 0xaa
call fcn.0040c93c
push 0x4c7c10
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cee9
lea eax, [ebp - 4]
call fcn.004097dc
pop eax
jmp eax
Function at 0x40d114
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004098c0
xor eax, eax
push ebp
push 0x40d33d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40d154
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40d16e
mov eax, dword [ebp - 4]
call fcn.0040a224
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040c93c
cmp word [ebp - 0x21a], 0
je 0x40d325
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d34c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d23d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d34c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d23d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d388
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d23d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d388
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d23d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d3bc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d23d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d3f0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40d325
xor eax, eax
push ebp
push 0x40d31e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040cf24
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40d2ac
mov eax, dword [ebp - 0x10]
call fcn.00407024
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040a288
jmp 0x40d2f7
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40d430
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40d2f7
mov eax, dword [ebp - 0x10]
call fcn.00407024
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40d430
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040a288
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d325
cmp dword [ebp - 8], 0
je 0x40d312
mov eax, dword [ebp - 8]
call fcn.00407040
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d344
lea eax, [ebp - 4]
call fcn.004097dc
pop eax
jmp eax
Function at 0x40d650
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004098c0
xor eax, eax
push ebp
push 0x40d712
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040a2c4
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a474
mov eax, dword [ebx]
call fcn.0040d4f8
test al, al
jne 0x40d6ed
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040a2c4
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a474
mov eax, dword [ebx]
call fcn.0040d4f8
test al, al
jne 0x40d6ed
mov eax, ebx
call fcn.004097dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d719
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040983c
lea eax, [ebp - 4]
call fcn.004097dc
pop eax
jmp eax

Function at 0x40efcc
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x41e17c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41e1d5
test eax, edx
je 0x41e1d8
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41e193
movzx eax, word [eax]
sub eax, ecx
jmp 0x41e1ba
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41e1bb
add ecx, 4
js 0x41e1ab
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41e1b8
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41e1ba
xor eax, eax
ret
test eax, eax
je 0x41e1e4
test edx, edx
jne 0x41e184
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4229dc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x422a15
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409964
jmp 0x422a1e
mov eax, ebx
mov edx, esi
call fcn.00409bbc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x422a28
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x422a4a
movzx eax, word [esp]
jmp 0x422a4c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x423a60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x423b87
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00423868
mov esi, eax
mov eax, dword [0x4c4e60]
cmp byte [eax], 0
je 0x423b2d
mov eax, dword [0x4c4cbc]
call fcn.004074e8
call fcn.00407208
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x423a30]
call fcn.0040c1f0
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x423ba0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x423b69
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4c4c90]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4c8634]
call fcn.0040c5e0
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423b8e
lea eax, [ebp - 4]
mov edx, dword [0x423a30]
call fcn.0040c314
pop eax
jmp eax
Function at 0x4249ac
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x424ab0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409c04
lea eax, [ebp - 4]
call fcn.00409d6c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a224
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x424a98
mov eax, ebx
call fcn.00407024
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x424a91
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a224
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x424a79
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x424ac4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x424a79
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424a98
mov eax, dword [ebp - 0x10]
call fcn.00407040
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424ab7
lea eax, [ebp - 4]
call fcn.004097dc
pop eax
jmp eax
Function at 0x46abec
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x46abf4
mov eax, edx
pop esi
pop ebx
ret

Function at 0x49ba50
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x49ba9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0049b518
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49bab7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b3dc8
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b3e10
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004b3d5c
mov eax, dword [ebp - 4]
call fcn.0040a224
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3e17
lea eax, [ebp - 4]
call fcn.004097dc
pop eax
jmp eax

Function at 0x4b4030
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b40c7
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x4b407b
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
lea edx, [ebp - 0x20c]
mov eax, edi
call fcn.00409964
jmp 0x4b40af
call sub.kernel32.dll_GetCommandLineW
mov ebx, eax
cmp word [ebx], 0
jne 0x4b4092
lea eax, [ebp - 4]
call fcn.004097dc
jmp 0x4b40a5
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004b3ee8
mov ebx, eax
test esi, esi
je 0x4b40a5
dec esi
jmp 0x4b4082
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00409bbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b40ce
lea eax, [ebp - 4]
call fcn.004097dc
pop eax
jmp eax

Function at 0x4b40d8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0041f214
add esp, 0x208
pop ebx
ret

Function at 0x4b4138
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0041f214
add esp, 0x208
pop ebx
ret
Function at 0x4b428c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4b43c4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4b43ac
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x4b42e9
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x4b43ac
cmp dword [ebp - 0x14], 0
jne 0x4b42fe
mov eax, dword [ebp - 0xc]
call fcn.004097dc
mov bl, 1
jmp 0x4b43ac
cmp dword [ebp - 0x14], 0x70000000
jb 0x4b430c
call fcn.00423bc4
mov esi, dword [ebp - 0x14]
inc esi
shr esi, 1
lea eax, [ebp - 4]
mov ecx, esi
xor edx, edx
call fcn.00409964
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
call fcn.00409d5c
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
je 0x4b42b2
test eax, eax
jne 0x4b43ac
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x4b435a
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x4b43ac
mov esi, dword [ebp - 0x14]
shr esi, 1
jmp 0x4b4362
dec esi
test esi, esi
je 0x4b4371
mov eax, dword [ebp - 4]
cmp word [eax + esi*2 - 2], 0
je 0x4b4361
cmp dword [ebp - 0x10], 7
jne 0x4b437c
test esi, esi
je 0x4b437c
inc esi
lea eax, [ebp - 4]
mov edx, esi
call fcn.0040a39c
cmp dword [ebp - 0x10], 7
jne 0x4b439f
test esi, esi
je 0x4b439f
lea eax, [ebp - 4]
call fcn.00409d5c
mov word [eax + esi*2 - 2], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00409bbc
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b43cb
lea eax, [ebp - 4]
call fcn.004097dc
pop eax
jmp eax
Function at 0x4b44f8
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov byte [ebp - 1], 0
mov edx, 0x4c4ad0
mov dword [ebp - 0x1c], edx
lea edx, [ebp - 8]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0x20
push 2
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_AllocateAndInitializeSid
test eax, eax
je 0x4b46ca
xor eax, eax
push ebp
push 0x4b46c3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b46d4
push 0x4b4700
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.0041077c
mov ebx, eax
test ebx, ebx
je 0x4b457e
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call ebx
test eax, eax
je 0x4b46aa
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
jmp 0x4b46aa
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
test eax, eax
jne 0x4b45cf
call sub.kernel32.dll_GetLastError
cmp eax, 0x3f0
je 0x4b45b0
call fcn.00408fc8
jmp 0x4b46ca
lea eax, [ebp - 0x10]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x4b45cf
call fcn.00408fc8
jmp 0x4b46ca
xor eax, eax
push ebp
push 0x4b46a3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x4b4612
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x4b4612
call fcn.00408fc8
call fcn.00408fc8
jmp 0x4b46ca
mov eax, dword [ebp - 0x14]
call fcn.00407024
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x4b4647
call fcn.00408fc8
call fcn.00408fc8
jmp 0x4b46ca
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x4b4682
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x4b467e
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 8]
and eax, 0x14
cmp eax, 4
jne 0x4b467e
mov byte [ebp - 1], 1
jmp 0x4b4682
inc ebx
dec esi
jne 0x4b4654
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b46aa
mov eax, dword [ebp - 0x18]
call fcn.00407040
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b46ca
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
pop eax
jmp eax
movzx eax, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b5c68
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x4cdad4
mov eax, esi
mov edx, 8
test al, 1
je 0x4b5c84
shr eax, 1
xor eax, 0xedb88320
jmp 0x4b5c86
shr eax, 1
dec edx
jne 0x4b5c77
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4b5c70
pop esi
ret

Function at 0x4b5c9c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x4cdad0], 0
jne 0x4b5cc6
call fcn.004b5c68
mov dword [esp], 0x4cdad0
mov edx, dword [esp]
mov eax, 1
lock xchg dword [edx], eax
mov eax, edi
test esi, esi
je 0x4b5cf0
mov edx, 0xff
and edx, ebx
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x4cdad4]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4b5ccc
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4b8acc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004b8a80
test al, al
jne 0x4b8aed
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4b8b3b
xor eax, eax
push ebp
push 0x4b8b2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040a224
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8b32
lea eax, [ebp - 0xc]
call fcn.004b8abc
pop eax
jmp eax
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b937c
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x4b9395
xor eax, eax
jmp 0x4b93e9
lea eax, [esp + 8]
push eax
push 0x4b93f0
push 0
call sub.advapi32.dll_LookupPrivilegeValueW
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError
test eax, eax
je 0x4b93da
xor eax, eax
jmp 0x4b93e9
push 0
push 2
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x14
ret

Function at 0x4b9418
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x4b9472
inc esi
xor edi, edi
cmp edi, 1
jne 0x4b943e
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep
jmp 0x4b944c
cmp edi, 1
jle 0x4b944c
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004b8acc
test eax, eax
jne 0x4b9472
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x4b9472
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x4b9472
inc edi
dec esi
jne 0x4b942e
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x4b947c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x4b94a0
mov eax, dword [ebp - 4]
jmp 0x4b94a3
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret

Function at 0x4b94a8
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], dl
mov edi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test esi, esi
je 0x4b94f5
xor ebx, ebx
jmp 0x4b94ea
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, esi
call fcn.0041e27c
test eax, eax
jne 0x4b94e9
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x4b95a0
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4b94cb
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x4b9501
je 0x4b950a
jmp 0x4b9513
call fcn.004b4728
mov esi, eax
jmp 0x4b9515
call sub.kernel32.dll_GetUserDefaultLangID
mov esi, eax
jmp 0x4b9515
xor esi, esi
test si, si
je 0x4b95a0
xor ebx, ebx
jmp 0x4b953b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, si
cmp eax, edx
jne 0x4b953a
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x4b95a0
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4b9522
xor ebx, ebx
jmp 0x4b9595
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov dx, 0x3ff
and dx, si
movzx edx, dx
cmp eax, edx
jne 0x4b9594
mov ax, 0x3ff
and ax, si
cmp ax, 4
jne 0x4b9589
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x28]
call fcn.004b947c
push eax
mov eax, esi
call fcn.004b947c
pop edx
cmp edx, eax
jne 0x4b9594
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x4b95a0
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4b954a
movzx eax, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4