joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410c80
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x5905bf
call fcn.0058e54c
sub esp, 0xf0
push ebx
push esi
mov esi, ecx
push edi
push str.uninstall_text
mov ecx, dword [esi + 0x54]
call fcn.00411c64
mov edi, eax
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x410d97
mov ecx, eax
sub ecx, dword [esi + 0x60]
cmp ecx, 0x64
jb 0x410d97
push 0xc
xor ebx, ebx
mov dword [ebp - 0x1c], 0xf
push 0x5ce1f4
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.00403fdc
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004030f9
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xfc]
call fcn.00411b8f
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
push ecx
lea ecx, [esi + 0x30]
push ecx
push ecx
mov ecx, eax
call fcn.00405262
pop ecx
mov ecx, eax
call fcn.00404bd9
lea ecx, [ebp - 0xfc]
call fcn.004031a8
lea ecx, [ebp - 0x60]
call fcn.00403f6b
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00403f6b
mov eax, dword [ebp - 0x14]
xor edx, edx
mov ecx, 0x1f4
div ecx
mov edi, eax
and edi, 3
inc edi
lea ecx, [ebp - 0x48]
push 1
cmp ebx, edi
jge 0x410d64
push 0x5c2a6c
jmp 0x410d69
push 0x5ce2ec
call fcn.00404080
inc ebx
cmp ebx, 4
jl 0x410d54
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea ecx, [ecx + 0x80]
call fcn.00408c84
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x48]
mov dword [esi + 0x60], eax
call fcn.00403f6b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x413934
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 4], 0
and dword [ecx], 0
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
ret

Function at 0x413ac4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, edx
mov ebx, 0xcbf29ce4
push edi
mov edi, 0x84222325
test esi, esi
je 0x413b11
movzx eax, byte [ecx]
inc ecx
push eax
mov dword [esp + 0x10], ecx
call fcn.004d5ad3
cdq
mov dword [esp], 0x100
xor edx, ebx
push 0x1b3
xor eax, edi
push edx
push eax
call fcn.004ac290
mov ecx, dword [esp + 0xc]
mov edi, eax
mov ebx, edx
sub esi, 1
jne 0x413ade
mov eax, edi
mov edx, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4152a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
shr edx, 2
mov esi, 0xeeeeeeee
push edi
mov edi, ecx
test edx, edx
je 0x4152f2
push ebx
mov ebx, dword [ebp + 8]
movzx eax, bl
add esi, dword [eax*4 + 0x5c89e0]
mov eax, ebx
not eax
shl eax, 0x15
add eax, 0x11111111
lea ecx, [esi + ebx]
imul esi, esi, 0x21
xor ecx, dword [edi]
shr ebx, 0xb
or ebx, eax
mov dword [edi], ecx
lea edi, [edi + 4]
add esi, 3
add esi, ecx
sub edx, 1
jne 0x4152bf
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x4152f6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
shr edx, 2
mov esi, 0xeeeeeeee
push edi
mov edi, ecx
test edx, edx
je 0x415342
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [edi]
movzx eax, bl
add esi, dword [eax*4 + 0x5c89e0]
lea eax, [esi + ebx]
imul esi, esi, 0x21
xor eax, ecx
mov dword [edi], eax
lea edi, [edi + 4]
mov eax, ebx
shr ebx, 0xb
not eax
shl eax, 0x15
add esi, 3
add eax, 0x11111111
add esi, ecx
or ebx, eax
sub edx, 1
jne 0x41530d
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x415346
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov edi, 0x7fed7fed
mov ecx, 0xeeeeeeee
mov al, byte [esi]
inc esi
test al, al
je 0x41538a
shl ebx, 8
movzx eax, al
add edi, ecx
imul ecx, ecx, 0x21
mov al, byte [eax + 0x5c78e0]
movzx edx, al
add ecx, 3
add ecx, edx
lea eax, [ebx + edx]
xor edi, dword [eax*4 + 0x5c79e0]
mov al, byte [esi]
add ecx, edi
inc esi
test al, al
jne 0x415361
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x425e59
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x590e5e
call fcn.0058e54c
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0xf
mov dword [ebp - 0x10], edi
pop eax
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], eax
mov byte [edi + 4], bl
mov dword [ebp - 4], ebx
mov dword [edi], vtable.Blizzard::Streaming::Manifests::ServerItem.0
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], eax
mov byte [edi + 0x1c], bl
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
mov byte [ebp - 4], 3
call fcn.00428162
mov dword [ebp - 0x20], eax
lea ecx, [edi + 0x40]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], edx
push eax
mov dword [ebp - 0x18], 0x64
call fcn.00437688
mov ecx, dword [ebp - 0xc]
mov eax, edi
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x50], ebx
mov dword [edi + 0x54], 0xa
mov byte [edi + 0x58], 1
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42cda6
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x764
push ebx
push esi
push edi
mov edi, ecx
call fcn.004356c1
inc eax
mov dword [esp + 0x368], eax
cmp eax, 0x400
ja 0x42cdd4
lea esi, [esp + 0x370]
jmp 0x42cddd
push eax
call fcn.004ac0fa
pop ecx
mov esi, eax
push 7
push str.file:__
push edi
mov dword [esp + 0x378], esi
call fcn.004c4060
add esp, 0xc
test eax, eax
sete al
mov byte [esp + 0x13], al
test al, al
je 0x42ce4a
mov dl, byte [edi]
lea ecx, [edi + 1]
jmp 0x42ce3c
cmp dl, 0x25
jne 0x42ce32
mov al, byte [ecx]
test al, al
je 0x42ce40
mov bl, byte [ecx + 1]
add ecx, 2
test bl, bl
je 0x42ce40
movsx eax, al
mov dl, byte [eax + 0x5d1a00]
movsx eax, bl
shl dl, 4
or dl, byte [eax + 0x5d1a00]
mov byte [esi], dl
lea eax, [esi + 1]
mov dl, byte [ecx]
mov esi, eax
inc ecx
test dl, dl
jne 0x42ce08
mov byte [esi], 0
mov edi, dword [esp + 0x36c]
push 0x3c
pop esi
push esi
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004c3e40
add esp, 0xc
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esp + 0x24], edi
lea eax, [esp + 0x14]
mov dword [esp + 0x20], str.open
inc ebx
mov dword [esp + 0x18], 0x400
push eax
mov dword [esp + 0x34], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp eax, ebx
sete bl
cmp eax, 1
jne 0x42ce99
xor ebx, ebx
inc ebx
jmp 0x42cf54
cmp byte [esp + 0x13], 0
jne 0x42cf54
lea eax, [esp + 0x158]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x42cf54
call fcn.00436b27
push eax
lea eax, [esp + 0x15c]
push eax
push str._sTempHTMLFile_x.html
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.0043577d
add esp, 0x14
lea eax, [esp + 0x50]
push 0x5d0bb0
push eax
call fcn.004d5759
pop ecx
pop ecx
test eax, eax
je 0x42cf54
push eax
call fcn.004d5b89
pop ecx
lea eax, [esp + 0x260]
push eax
push 0
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.SHELL32.dll_FindExecutableA]
mov esi, eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, 0x20
seta bl
jbe 0x42cf54
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x260]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x2c], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
lea eax, [esp + 0x370]
cmp dword [esp + 0x36c], eax
je 0x42cf71
push dword [esp + 0x36c]
call fcn.004ab853
pop ecx
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d468
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
push edi
push esi
push 3
push esi
push esi
push dword [ebp + 8]
mov dword [edi + 0x1c], esi
push edx
push dword [edi]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
test ebx, ebx
jne 0x42d4a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42d4cf
push 0xffffffffffffffff
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [edi + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 2
push ebx
call esi
push 4
lea eax, [ebp - 4]
push eax
push 6
push ebx
call esi
mov esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42e9a7
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x591495
call fcn.0058e54c
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], ebx
lea esi, [edi + 0x28]
mov dword [edi], vtable.Blizzard::URL::HttpCallback.0
or eax, 0xffffffff
mov dword [edi + 4], 1
mov byte [edi + 8], 1
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [ebp - 0x14], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.0043a9b1
mov dword [esi], eax
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 1
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], eax
push 3
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0xf
push 0x5d0c58
mov byte [ecx], bl
call fcn.00403fdc
mov dword [edi + 0x54], ebx
mov dword [edi + 0x58], ebx
lea ecx, [edi + 0x5c]
mov byte [ebp - 4], 3
call fcn.0043235b
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x42eb9f
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
push esi
mov esi, ecx
test esi, esi
je 0x42ebea
push 2
call fcn.004d4c5a
push eax
push esi
call fcn.004d68fc
add esp, 0xc
lea ecx, [esp + 8]
push esi
call fcn.0043580a
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esp + 0x10]
cmp dword [esp + 0xc], eax
je 0x42ebea
push dword [esp + 0xc]
call fcn.004ab853
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4303de
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0xffffffff
jne 0x430426
push 8
pop ecx
call fcn.0043023b
push dword [edi + 0x54]
lea eax, [esp + 0x1c]
push str.Win32_Execute____s
push eax
call fcn.004383b9
add esp, 0xc
mov edx, eax
push 1
push 8
pop ecx
call fcn.00430274
pop ecx
xor al, al
jmp 0x4304b0
mov esi, dword [ebp + 0x14]
mov ebx, dword [esi]
test ebx, ebx
je 0x4304ae
push dword [ebp + 0x10]
lea eax, [esp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
test eax, eax
jne 0x4304ae
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x26
jne 0x4304b7
lea eax, [esp + 0x10]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4304b7
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov eax, dword [edx + 0xc]
or ecx, dword [edx + 8]
cmp eax, dword [esp + 0x14]
jg 0x4304b7
jl 0x430484
cmp ecx, dword [esp + 0x10]
ja 0x4304b7
push 7
pop ecx
call fcn.0043023b
push dword [edi + 0x54]
lea eax, [esp + 0x1c]
push str.Win32_Read___End_of_File____s
push eax
call fcn.004383b9
add esp, 0xc
mov edx, eax
push 1
push 7
pop ecx
call fcn.00430274
pop ecx
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call esi
mov esi, eax
mov ecx, esi
call fcn.004302cf
push 5
pop ecx
call fcn.0043023b
push dword [esp + 0xc]
lea eax, [esp + 0x1c]
push ebx
push dword [edi + 0x54]
push esi
push str.Win32_Read___d_____s__u__u
push eax
call fcn.004383b9
push 1
push 5
mov edx, eax
pop ecx
call fcn.00430274
add esp, 0x1c
jmp 0x43041f

Function at 0x4304f6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x408
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0xffffffff
jne 0x43051b
push 8
pop ecx
call fcn.0043023b
xor al, al
jmp 0x4305ae
mov esi, dword [ebp + 0x14]
cmp dword [esi], 0
je 0x4305ac
push dword [ebp + 0x10]
lea eax, [esp + 0x10]
mov byte [edi + 8], 0
push eax
push dword [esi]
push dword [ebp + 0xc]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
test eax, eax
jne 0x4305ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x27
je 0x43057d
cmp esi, 0x70
je 0x43057d
push 6
pop ecx
call fcn.0043023b
push dword [edi + 0x54]
lea eax, [esp + 0x14]
push esi
push str.Win32_Write___d_____s
push eax
call fcn.004383b9
push 1
push 6
jmp 0x43059c
push 0xb
pop ecx
call fcn.0043023b
push dword [edi + 0x54]
lea eax, [esp + 0x14]
push esi
push str.Win32_Write___d_____s
push eax
call fcn.004383b9
push 1
push 0xb
mov edx, eax
pop ecx
call fcn.00430274
add esp, 0x14
jmp 0x430514
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x430639
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
push esi
push edi
mov edi, ecx
cmp byte [edi + 8], 0
je 0x430656
test byte [edi + 4], 8
je 0x430794
lea eax, [ebp - 0xc]
mov byte [edi + 8], 0
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43067b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x430794
mov eax, dword [edi + 0x50]
test eax, eax
je 0x430687
cmp dword [eax], 0
jne 0x430694
mov ecx, dword [ebp - 0xc]
xor eax, eax
or eax, esi
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x18], eax
push dword [edi + 0x10]
lea ecx, [ebp - 0x290]
call fcn.0043580a
lea ecx, [ebp - 4]
push ecx
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
lea ecx, [ebp - 0x288]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x28c], ecx
je 0x4306cf
push dword [ebp - 0x28c]
call fcn.004ab853
mov eax, dword [ebp - 8]
pop ecx
cmp eax, 0xffffffff
jne 0x4306e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x430794
mov eax, dword [ebp - 8]
push dword [edi + 0x54]
mov dword [edi + 0x20], eax
lea ecx, [ebp - 0x290]
mov eax, dword [ebp - 4]
mov dword [edi + 0x24], eax
call fcn.0043580a
lea ecx, [ebp - 0x30]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov esi, eax
lea eax, [ebp - 0x288]
cmp dword [ebp - 0x28c], eax
je 0x430727
push dword [ebp - 0x28c]
call fcn.004ab853
pop ecx
test esi, esi
je 0x430790
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0043689c
push dword [ebp - 0x18]
mov dword [edi + 0x30], eax
push dword [ebp - 0x1c]
mov dword [edi + 0x34], edx
call fcn.0043689c
push dword [ebp - 0x20]
mov dword [edi + 0x38], eax
push dword [ebp - 0x24]
mov dword [edi + 0x3c], edx
call fcn.0043689c
mov esi, dword [ebp - 0x30]
add esp, 0x18
mov ecx, esi
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], edx
call fcn.004307f1
mov ecx, eax
mov dword [edi + 0x28], eax
shr ecx, 5
and cl, 1
mov byte [edi + 0x4c], cl
cmp esi, 0xffffffff
jne 0x430784
and dword [edi + 0x48], 0
jmp 0x430790
test al, 0x40
push 0
pop eax
setne al
inc eax
mov dword [edi + 0x48], eax
mov byte [edi + 8], 1
pop edi
pop esi
leave
ret

Function at 0x43099f
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
push ebx
push ecx
lea ecx, [esp + 0xc]
call fcn.0043580a
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea eax, [esp + 0x10]
cmp dword [esp + 0xc], eax
je 0x4309d5
push dword [esp + 0xc]
call fcn.004ab853
pop ecx
cmp ebx, 0xffffffff
jne 0x4309de
xor eax, eax
jmp 0x4309e8
test bl, 0x10
push 0
pop eax
setne al
inc eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430edb
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x260
push ebx
push esi
push ecx
lea ecx, [esp + 0xc]
mov esi, edx
call fcn.0043580a
push esi
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
lea eax, [esp + 0x10]
neg ebx
sbb bl, bl
inc bl
cmp dword [esp + 0xc], eax
je 0x430f1b
push dword [esp + 0xc]
call fcn.004ab853
pop ecx
test bl, bl
je 0x430f2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
jmp 0x430f31
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x431d87
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea eax, [edi + 4]
mov byte [edi + 0xc], bl
push eax
push str.SeManageVolumePrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push edi
push 0x28
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 3
push dword [edi]
call esi
mov eax, dword [ebp - 4]
call fcn.004ac340
mov ebx, esp
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push 3
push dword [edi]
call esi
test eax, eax
je 0x431e1b
xor edx, edx
cmp dword [ebx], edx
jbe 0x431e1b
mov esi, dword [edi + 8]
lea ecx, [ebx + 4]
cmp dword [ecx + 4], esi
jne 0x431e13
mov eax, dword [ecx]
cmp eax, dword [edi + 4]
jne 0x431e13
cmp dword [ecx + 8], 2
je 0x431e0e
cmp dword [ecx + 8], 1
je 0x431e0e
xor al, al
jmp 0x431e10
mov al, 1
mov byte [edi + 0xc], al
inc edx
add ecx, 0xc
cmp edx, dword [ebx]
jb 0x431df2
mov eax, edi
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x431e7b
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x408
lea eax, [esp]
push esi
push edi
push 0
push eax
push dword [ebp + 0xc]
mov edi, ecx
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x431ed9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 7
pop ecx
mov esi, eax
call fcn.0043023b
push dword [edi + 0x54]
push esi
push str.PreallocateFast_Win___SetFilePointerEx___err__d____s
lea eax, [esp + 0x1c]
push eax
call fcn.004383b9
push 1
push 7
mov edx, eax
pop ecx
call fcn.00430274
add esp, 0x14
xor al, al
jmp 0x431f2f
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x431f00
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 7
pop ecx
mov esi, eax
call fcn.0043023b
push dword [edi + 0x54]
push esi
push str.PreallocateFast_Win___SetEndOfFile___err__d____s
jmp 0x431ebc
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetFileValidData]
test eax, eax
jne 0x431f2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 7
pop ecx
mov esi, eax
call fcn.0043023b
push dword [edi + 0x54]
push esi
push str.PreallocateFast_Win___SetFileValidData___err__d____s
jmp 0x431ebc
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x432244
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
inc eax
cmp dword [ebp - 0x10], 0
pop edi
cmovne eax, dword [ebp - 0x10]
leave
ret

Function at 0x433a4d
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x400
push eax
lea eax, [ebp - 0x804]
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov ecx, esi
test eax, eax
je 0x433a90
sub esp, 0xc
lea eax, [ebp - 0x804]
mov edx, 0x100
push eax
call fcn.004358aa
add esp, 0x10
jmp 0x433aa2
push 0x100
mov edx, str._unknown_
call fcn.004354ee
add esp, 4
mov eax, esi
pop esi
leave
ret
Function at 0x4348a3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, edx
push edi
mov edi, ecx
cmp esi, 0x104
jl 0x4348ec
lea eax, [ebp - 0x208]
push eax
xor eax, eax
push eax
push eax
push 0x23
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4348ec
sub esp, 0xc
lea eax, [ebp - 0x208]
mov edx, esi
mov ecx, edi
push eax
call fcn.004358aa
add esp, 0x10
mov al, 1
jmp 0x4348ee
xor al, al
pop edi
pop esi
leave
ret
Function at 0x435d6b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.00435b05
push dword [ebp + 0xc]
mov edx, esi
mov ecx, edi
call fcn.00435bf2
mov edi, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [edi], eax
mov dword [eax + 0x18], 1
mov esi, dword [edi]
test ecx, ecx
jne 0x435da6
mov eax, dword [0x60ecc0]
test eax, eax
cmovne ecx, eax
xor edx, edx
lea ebx, [esi + 4]
push ebx
test ecx, ecx
mov eax, 0x10000
cmovle eax, edx
push eax
push esi
push 0x436067
push ecx
push edx
call fcn.004d5d60
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x435de4
lea ecx, [esi + 0x38]
test ecx, ecx
je 0x435de0
cmp byte [ecx], 0
je 0x435de0
mov edx, dword [ebx]
call fcn.0043600a
mov al, 1
jmp 0x435df0
mov ecx, dword [edi]
call fcn.00435ccd
and dword [edi], 0
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x435eb7
Capabilities:
Set thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, edx
push esi
mov eax, dword [edi]
not eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [edi + 4], 0
je 0x435ee8
test esi, esi
je 0x435ee8
call fcn.00435df5
test eax, eax
jne 0x435ee8
mov edx, dword [edi + 4]
mov ecx, esi
pop edi
pop esi
jmp fcn.0043628d
pop edi
pop esi
ret

Function at 0x436d29
Capabilities:
Hash data using fnv

Disassembly:
mov edx, 0x1000193
jmp 0x436d3c
movzx eax, al
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x436d30
xor eax, eax
inc eax
test edx, edx
cmovne eax, edx
ret

Function at 0x43fee3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov edx, dword [ebp + 8]
mov esi, edi
mov dword [ebp - 4], esi
mov ecx, edi
lea eax, [edx - 1]
sar eax, 1
mov dword [ebp - 8], eax
cmp edi, eax
jge 0x43ff3e
lea esi, [ecx + ecx]
lea ecx, [ebx + 0x10]
lea ecx, [ecx + esi*8]
lea eax, [ecx - 8]
push eax
push ecx
call fcn.0043f630
movzx ecx, al
xor ecx, 1
inc ecx
add ecx, esi
mov eax, dword [ebx + ecx*8]
mov dword [ebx + edi*8], eax
mov eax, dword [ebx + ecx*8 + 4]
mov dword [ebx + edi*8 + 4], eax
mov edi, ecx
mov eax, dword [ebp - 8]
cmp ecx, eax
jl 0x43ff05
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 4]
cmp ecx, eax
jne 0x43ff59
test dl, 1
jne 0x43ff59
mov eax, dword [ebx + edx*8 - 8]
mov dword [ebx + edi*8], eax
mov eax, dword [ebx + edx*8 - 4]
mov dword [ebx + edi*8 + 4], eax
lea edi, [edx - 1]
cmp esi, edi
jge 0x43ff87
push dword [ebp + 0xc]
lea esi, [edi - 1]
sar esi, 1
lea eax, [ebx + esi*8]
push eax
call fcn.0043f630
test al, al
je 0x43ff87
mov eax, dword [ebx + esi*8]
mov dword [ebx + edi*8], eax
mov eax, dword [ebx + esi*8 + 4]
mov dword [ebx + edi*8 + 4], eax
mov edi, esi
cmp dword [ebp - 4], esi
jl 0x43ff5d
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [ebx + edi*8], eax
mov eax, dword [ecx + 4]
mov dword [ebx + edi*8 + 4], eax
pop edi
pop esi
pop ebx
leave
ret