joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404b84
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x419723
call fcn.0040bdc3
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x42c], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x424], edx
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test eax, eax
je 0x404da1
push eax
call fcn.0040c95c
inc eax
push 2
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
call fcn.004033d9
add esp, 0x10
test eax, eax
js 0x404d9b
mov edi, dword [ebp - 0x420]
cmp edi, 0x400
jg 0x404c27
push edi
call fcn.00406074
pop ecx
test al, al
je 0x404c27
mov eax, edi
call fcn.0040cb40
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x404c39
push edi
lea ecx, [ebp - 0x428]
call fcn.00403d31
mov esi, dword [ebp - 0x428]
push 3
push edi
push dword [ebp - 0x41c]
push eax
call fcn.00403fdd
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x404d9b
push 0x60
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x404c93
push 2
push ebx
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x404c93
call fcn.00403f99
mov ebx, eax
jmp 0x404d6f
push dword [ebp - 0x424]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x404cba
call fcn.00403f99
jmp 0x404d62
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x424], eax
test eax, eax
je 0x404cb0
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x41c], eax
lea ecx, [eax + 1]
cmp ecx, eax
jae 0x404ced
mov ebx, 0x8007000e
jmp 0x404d64
push ecx
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00403d8d
jmp 0x404d13
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x404ce6
mov eax, dword [ebp - 0x41c]
push eax
push dword [ebp - 0x424]
push eax
push dword [ebp - 0x418]
call fcn.004060e8
mov eax, dword [ebp - 0x418]
add esp, 0x10
mov ecx, dword [ebp - 0x41c]
push dword [ebp + 0x14]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x434]
push dword [ebp - 0x418]
call fcn.00404a42
mov ebx, eax
test edi, edi
je 0x404d6f
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x404d93
lea ecx, [ebp - 0x418]
call fcn.00404275
jmp 0x404d93
push esi
mov esi, dword [esi]
call fcn.0040b064
pop ecx
test esi, esi
jne 0x404d8a
mov eax, ebx
jmp 0x404dca
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x404dc1
lea ecx, [ebp - 0x418]
call fcn.00404275
jmp 0x404dc1
push esi
mov esi, dword [esi]
call fcn.0040b064
pop ecx
test esi, esi
jne 0x404db8
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.0040bd15
ret 0x10
Function at 0x40578f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
mov dword [ebp - 4], ecx
jne 0x4057a1
push 0xd
pop eax
jmp 0x4057d1
push ebx
mov ebx, dword [ebp + 0xc]
push edi
xor edi, edi
push ebx
call fcn.0040aeb0
inc eax
add ebx, eax
add edi, eax
pop ecx
cmp eax, 1
jne 0x4057a8
mov eax, dword [ebp - 4]
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x415101
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42a1c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040d565
mov dword [ebp - 0x14], eax
cmp dword [0x42cdb4], esi
jne 0x4151f4
push 0x800
push esi
push 0x41eea8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x415181
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4152d4
push esi
push esi
push 0x41eea8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4152d4
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4152d4
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x42cdb4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x42cdb8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x42cdbc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42cdc4], eax
test eax, eax
je 0x4151f1
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42cdc0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x415219
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41520c
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41522e
push 4
pop eax
jmp 0x4152d6
cmp dword [ebp - 0x14], esi
je 0x41522e
push dword [0x42cdb4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x415213
mov eax, dword [0x42cdc0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x41528c
cmp dword [0x42cdc4], edi
je 0x41528c
push eax
call ebx
push dword [0x42cdc4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41528c
test eax, eax
je 0x41528c
call ecx
test eax, eax
je 0x415281
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x415281
test byte [ebp - 8], 1
jne 0x41528c
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4152bc
mov eax, dword [0x42cdb8]
cmp eax, edi
je 0x4152b9
push eax
call ebx
test eax, eax
je 0x4152b9
call eax
mov esi, eax
test esi, esi
je 0x4152b9
mov eax, dword [0x42cdbc]
cmp eax, edi
je 0x4152b9
push eax
call ebx
test eax, eax
je 0x4152b9
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x42cdb4]
call ebx
test eax, eax
je 0x4152d4
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4152d6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b2ad
mov esp, ebp
pop ebp
ret
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e004]
jne 0x401010
repz ret
jmp fcn.004016e5

Function at 0x409663
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004043c0
and dword [ebp - 4], 0
cmp dword [0x4308e0], 0
mov ebx, eax
jne 0x409714
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4097c5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4097c5
push eax
call fcn.0040434e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4308e0], eax
call esi
push eax
call fcn.0040434e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4308e4], eax
call esi
push eax
call fcn.0040434e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4308e8], eax
call esi
push eax
call fcn.0040434e
pop ecx
mov dword [0x4308f0], eax
test eax, eax
je 0x409714
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040434e
pop ecx
mov dword [0x4308ec], eax
mov eax, dword [0x4308ec]
cmp eax, ebx
je 0x40976c
cmp dword [0x4308f0], ebx
je 0x40976c
push eax
call fcn.004043c9
push dword [0x4308f0]
mov esi, eax
call fcn.004043c9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40976c
test edi, edi
je 0x40976c
call esi
test eax, eax
je 0x409763
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409763
test byte [ebp - 0xc], 1
jne 0x40976c
or dword [ebp + 0x10], 0x200000
jmp 0x4097a5
mov eax, dword [0x4308e4]
cmp eax, ebx
je 0x4097a5
push eax
call fcn.004043c9
pop ecx
test eax, eax
je 0x4097a5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4097a5
mov eax, dword [0x4308e8]
cmp eax, ebx
je 0x4097a5
push eax
call fcn.004043c9
pop ecx
test eax, eax
je 0x4097a5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4308e0]
call fcn.004043c9
pop ecx
test eax, eax
je 0x4097c5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4097c7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x424e19
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x42e004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
xor edi, edi
cmp dword [ebp + 0xc], 0x19f
mov dword [ebp - 0x808], eax
jne 0x424e49
push edi
call dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
xor ebx, ebx
cmp dword [ebp + 0xc], edi
jle 0x424eca
push esi
lea esi, [ebp - 0x80c]
mov dword [ebp - 0x80c], edi
call fcn.00424e0e
mov eax, dword [ebp - 0x808]
mov cl, byte [ebp - 0x80c]
add eax, ebx
xor byte [eax], cl
cmp dword [ebp + 0xc], 0xf
jne 0x424ec3
push edi
push dword [ebp - 0x808]
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push str.texeholiturafayeroj
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push str.rivarixux_lofoxu_hexekavoga_fucuwotahokariz
push edi
push edi
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push edi
lea eax, [ebp - 0x804]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
inc ebx
cmp ebx, dword [ebp + 0xc]
jl 0x424e51
pop esi
cmp dword [ebp + 0xc], 0x2d
pop edi
pop ebx
jne 0x424ee3
or dword [0x43e864], 0xffffffff
mov dword [0x43e860], 0xa62e7790
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401006
leave
ret
Function at 0x408190
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa1960b21
mov ecx, 0x18b71962
rorx edx, eax, 0xb
sarx ecx, ecx, ecx
mulx eax, edx, ecx
xor eax, edx
mov ecx, 0xf5f7ffbe
pext eax, eax, ecx
cmp eax, 0x22f270c
sete al
ret

Function at 0x411810
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x521104]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ecx + 0x18]
push ebx
lea ebx, [ecx + 0x18]
push esi
mov esi, dword [eax + 0x14]
mov ecx, esi
push edi
push 2
push 0xffffc000
mov dword [ebp - 0x78], ebx
call dword [0x4ed33c]
mov ecx, ebx
call esi
test eax, eax
jle 0x41192a
mov eax, dword [ebx]
push 0x4000
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4ed33c]
mov ecx, ebx
call esi
mov edi, eax
test edi, edi
je 0x41192a
cmp dword [edi + 0x3ff8], 0x53575341
jne 0x411882
cmp dword [edi + 0x3ffc], 0x646e6769
je 0x4118fa
push 0x3ff0
mov edx, edi
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x6c], 0x67452301
mov dword [ebp - 0x68], 0xefcdab89
mov dword [ebp - 0x64], 0x98badcfe
mov dword [ebp - 0x60], 0x10325476
call fcn.00491bd0
add esp, 4
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x74]
call fcn.00491cc0
lea edx, [edi + 0x3ff0]
mov esi, 0xc
lea ecx, [ebp - 0x18]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4118fa
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4118d7
push dword [ebp + 8]
push 0x3ff0
push edi
call fcn.00411e20
mov ebx, eax
jmp 0x4118ff
mov ebx, 0xd
mov eax, dword [ebp - 0x78]
push edi
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x4ed33c]
mov ecx, dword [ebp - 0x78]
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004a389b
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
mov eax, 0x52
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a389b
mov esp, ebp
pop ebp
ret 4
Function at 0x415f20
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
push esi
push edi
push 0x18
mov esi, ecx
mov dword [esp + 0x24], 0
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
push str.www.google_analytics.com
lea ecx, [esp + 0x18]
movaps xmmword [esp + 0x18], xmm0
call fcn.0040a370
push 0
push 0
push 0
push 0
push str.Avast_SFX_1.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esp + 0xc], eax
test eax, eax
je 0x415feb
cmp dword [esp + 0x24], 8
lea ecx, [esp + 0x10]
push 0
cmovae ecx, dword [esp + 0x14]
push 0
push ecx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
test edi, edi
je 0x415fe1
cmp dword [esi + 0x14], 8
jb 0x415f98
mov esi, dword [esi]
push 0
push 0
push 0
push 0
push esi
push 0x501050
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
test esi, esi
je 0x415fda
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x415fd3
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [esp + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea ecx, [esp + 0x10]
call fcn.0040a450
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x418b40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x521104]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 8], 0
cmp dword [esi + 0x40], 0
jne 0x418b9e
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x418930
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x40], eax
test eax, eax
je 0x418b9e
mov eax, dword [esi + 4]
test eax, eax
je 0x418b8d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a389b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.004a389b
mov esp, ebp
pop ebp
ret
Function at 0x41b000
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ecx, ecx
push edi
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ebx, ax
mov eax, ebx
and eax, 0x3ff
cmp eax, 0x1a
jne 0x41b05d
mov ax, bx
shr ax, 0xa
cmp ax, 2
je 0x41b058
cmp ax, 3
je 0x41b058
cmp ax, 9
je 0x41b058
cmp ax, 0xa
je 0x41b058
cmp ax, 6
je 0x41b058
cmp ax, 7
je 0x41b058
cmp ax, 0xb
je 0x41b058
cmp ax, 0xc
jne 0x41b05d
mov ebx, 0x81a
xor esi, esi
call fcn.0043a450
test eax, eax
je 0x41b0a0
xor edi, edi
nop word [eax + eax]
call fcn.0043a3c0
mov eax, dword [eax]
cmp bx, word [edi + eax + 0x40]
je 0x41b08d
inc esi
add edi, 0x4c
call fcn.0043a450
cmp esi, eax
jb 0x41b070
jmp 0x41b0a0
call fcn.0043a3c0
imul ecx, esi, 0x4c
add ecx, dword [eax]
mov dword [ebp - 4], ecx
jne 0x41b138
and ebx, 0x3ff
xor esi, esi
call fcn.0043a450
test eax, eax
je 0x41b0d9
xor edi, edi
call fcn.0043a3c0
mov ecx, 0x3ff
mov eax, dword [eax]
mov ax, word [edi + eax + 0x40]
and ax, cx
cmp bx, ax
je 0x41b119
inc esi
add edi, 0x4c
call fcn.0043a450
cmp esi, eax
jb 0x41b0b3
mov ebx, dword [ebp - 4]
xor esi, esi
call fcn.0043a450
test eax, eax
je 0x41b110
xor edi, edi
nop dword [eax]
call fcn.0043a3c0
mov ecx, 0x409
mov eax, dword [eax]
cmp word [edi + eax + 0x40], cx
je 0x41b12e
inc esi
add edi, 0x4c
call fcn.0043a450
cmp esi, eax
jb 0x41b0f0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0043a3c0
imul ebx, esi, 0x4c
add ebx, dword [eax]
je 0x41b0dc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0043a3c0
imul ecx, esi, 0x4c
add ecx, dword [eax]
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b150
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x521104]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ecx
push eax
push 8
xor bl, bl
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41b21a
push edi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0x19
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov eax, dword [ebp - 8]
xor ecx, ecx
shr eax, 3
mov edx, 8
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a391f
add esp, 4
mov edi, eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push edi
push 0x19
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x41b207
push esi
mov esi, dword [edi]
push esi
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x41b206
push esi
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
movzx eax, byte [eax]
dec eax
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov ecx, dword [ebp - 0x10]
mov bl, 1
mov eax, dword [eax]
mov dword [ecx], eax
pop esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.004a3911
add esp, 4
pop edi
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004a389b
mov esp, ebp
pop ebp
ret
Function at 0x422ad0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2abe
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x521104]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x40], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x58], esi
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
push ecx
push eax
mov dword [ebp - 0x3c], 1
movlpd qword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x422c72
cmp dword [ebp - 0x1c], 0
jne 0x422c66
mov edi, dword [ebp - 0x20]
cmp edi, 0x7fffffff
ja 0x422c66
mov eax, dword [esi + 4]
mov ecx, eax
mov edx, dword [esi]
sub ecx, edx
mov dword [ebp - 0x38], eax
cmp edi, ecx
jae 0x422b98
lea eax, [edx + edi]
jmp 0x422bc9
jbe 0x422bcc
mov eax, dword [esi + 8]
sub eax, edx
cmp edi, eax
jbe 0x422bb1
push ecx
push edi
mov ecx, esi
call fcn.004232a0
mov edi, dword [ebp - 0x20]
jmp 0x422bcc
sub edi, ecx
push edi
push 0
push dword [ebp - 0x38]
call fcn.004a6890
mov eax, dword [ebp - 0x38]
add esp, 0xc
add eax, edi
mov edi, dword [ebp - 0x20]
mov dword [esi + 4], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], 0
push eax
push edi
push dword [esi]
xorps xmm0, xmm0
push dword [ebp - 0x40]
movups xmmword [ebp - 0x34], xmm0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x422c94
mov eax, dword [esi + 4]
mov ecx, eax
mov edx, dword [esi]
sub ecx, edx
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
cmp edi, ecx
jae 0x422c18
lea eax, [edx + edi]
mov dword [esi + 4], eax
jmp 0x422c46
jbe 0x422c46
mov eax, dword [esi + 8]
sub eax, edx
cmp edi, eax
jbe 0x422c2e
push ecx
push edi
mov ecx, esi
call fcn.004232a0
jmp 0x422c46
sub edi, ecx
push edi
push 0
push dword [ebp - 0x38]
call fcn.004a6890
mov ecx, dword [ebp - 0x38]
add esp, 0xc
add ecx, edi
mov dword [esi + 4], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a389b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.get_file_content
push 0xdf
jmp 0x422c7e
push str.get_file_content:_GetFileSizeEx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x54]
call fcn.00491110
push 0x51dce8
lea eax, [ebp - 0x54]
push eax
call fcn.004a629b
push str.get_file_content:_ReadFile
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x54]
call fcn.00491110
push 0x51dce8
lea eax, [ebp - 0x54]
push eax
call fcn.004a629b
int3
Function at 0x428c30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e33dd
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x521104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
lea eax, [edi + 0x3c]
movlpd qword [ebp - 0x1c], xmm0
push eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
call fcn.004a1e43
add esp, 4
test eax, eax
jne 0x428d8e
mov byte [ebp - 0x18], 1
push 0x48
mov dword [ebp - 4], eax
call fcn.004a38e1
add esp, 4
mov esi, eax
mov ecx, esi
push dword [ebp - 0x28]
call fcn.00495e10
mov eax, dword [ebp - 0x2c]
xorps xmm0, xmm0
movups xmmword [esi + 0x18], xmm0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x14], esi
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x28], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], edi
mov dword [esi + 0x40], 0x428ef0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
push 0
push esi
push 0x42a2e0
push 0
push 0
call fcn.004b621c
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x24], edx
test edx, edx
je 0x428d80
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0x70]
cmp ecx, dword [edi + 0x74]
je 0x428d44
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ecx], edx
mov dword [ecx + 4], eax
add dword [edi + 0x70], 8
jmp 0x428d51
lea eax, [ebp - 0x24]
push eax
push ecx
lea ecx, [edi + 0x6c]
call fcn.00425e10
cmp dword [ebp - 0x20], 0
jne 0x428d94
lea eax, [edi + 0x3c]
push eax
call fcn.004a1e68
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a389b
mov esp, ebp
pop ebp
ret 0xc
push 6
mov dword [ebp - 0x20], 0
call fcn.004a1578
push eax
call fcn.004a154b
call fcn.004b4a75
int3