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

Disassembly:
sub esp, 0x418
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x414], eax
mov eax, dword [esp + 0x41c]
push ebx
mov ebx, dword [esp + 0x424]
push ebp
push esi
push edi
push 5
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [0x5275b4]
push eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, dword [0x5275b4]
mov esi, eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edx, dword [0x5275b4]
push esi
push edx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
call fcn.004df966
mov edi, eax
add esp, 4
test edi, edi
jne 0x460d59
mov dword [ebx], eax
jmp 0x460e99
push esi
push ebp
push edi
call fcn.004dfe60
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
add esp, 0xc
and eax, 0xffff0000
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
cmp eax, 0xffff0000
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push eax
sete bl
call fcn.004606c0
mov ebp, dword [esp + 0x1c]
test al, al
je 0x460de0
mov ecx, edi
test bl, bl
je 0x460da6
lea ecx, [edi + 8]
movsx edx, word [ecx + 0xe]
imul edx, ebp
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx edx, word [ecx + 0x10]
imul edx, dword [esp + 0x10]
mov word [ecx + 0xe], ax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov word [ecx + 0x10], ax
xor ecx, ecx
test bl, bl
setne cl
mov eax, 0xffff
lea ecx, [ecx*4 + 9]
cmp word [edi + ecx*2], ax
lea edx, [edi + ecx*2]
jne 0x460e03
mov eax, 2
jmp 0x460e20
mov eax, edx
lea esi, [eax + 2]
jmp 0x460e10
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x460e10
sub eax, esi
sar eax, 1
inc eax
lea edx, [edx + eax*2]
mov ecx, 0xffff
cmp word [edx], cx
jne 0x460e34
mov eax, 2
jmp 0x460e50
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x460e40
sub eax, esi
sar eax, 1
inc eax
mov ecx, dword [esp + 0x14]
push ecx
push 1
push 0x200
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [edx + eax*2]
push edx
call fcn.004604f0
lea eax, [esp + 0x24]
push eax
call fcn.004e37b5
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [ecx], eax
cmp ebp, 0x64
jne 0x460e97
cmp dword [esp + 0x10], ebp
jne 0x460e97
push edi
call fcn.004df10f
add esp, 4
xor edi, edi
mov eax, edi
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004df2c4
add esp, 0x418
ret 8
Function at 0x460f90
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov eax, 0x2010
call fcn.004df2e0
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x200c], eax
push ebx
mov ebx, dword [esp + 0x2020]
push esi
mov esi, dword [esp + 0x201c]
push edi
mov edi, dword [esp + 0x2024]
cmp edi, esi
je 0x460fcc
push ebx
push esi
push edi
call fcn.00466930
lea eax, [esp + 0xc]
push eax
push 1
push 0
push str.SoftwareWinRARGeneral
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46109d
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x460ff2
sub eax, edx
sar eax, 1
mov ecx, 0x7ff
sub ecx, eax
add ecx, ecx
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x101c]
push eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.LanguageFolder
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x461092
push 0x800
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1020]
push edx
mov word [esp + 0x24], ax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x800
lea eax, [esp + 0x1c]
push eax
call fcn.00450a60
push 0x800
push esi
call fcn.00450f20
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004669b0
lea edx, [esp + 0x18]
push edx
call fcn.004432f0
test al, al
je 0x461092
push ebx
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.00466930
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x2018]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004df2c4
add esp, 0x2010
ret 0xc

Function at 0x461180
Capabilities:
Check os version

Disassembly:
mov eax, 0x1118
call fcn.004df2e0
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x1114], eax
push esi
mov esi, ecx
cmp byte [esi], 0
je 0x4611bb
mov eax, dword [0x5275b4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [0x5275b0]
mov dword [0x5275b4], ecx
mov byte [esi], 0
mov eax, dword [esp + 0x1124]
lea edx, [esp + 0x118]
test eax, eax
je 0x4611e1
sub edx, eax
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4611d0
jmp 0x4611ef
push 0x800
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x800
push str.rarlng.dll
lea eax, [esp + 0x120]
push eax
call fcn.004510f0
push 0x800
lea ecx, [esp + 0x11c]
push ecx
mov edx, ecx
push edx
call fcn.00460f90
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x14], 2
jne 0x46125b
mov eax, dword [esp + 8]
cmp eax, 5
ja 0x461247
jne 0x46125b
cmp dword [esp + 0xc], 1
jbe 0x46125b
push 2
push 0
lea ecx, [esp + 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x461269
lea edx, [esp + 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x5275b4], eax
setne al
mov byte [esi], al
test al, al
mov eax, dword [esp + 0x1120]
pop esi
mov dword [0x5275b0], eax
jne 0x46128b
mov dword [0x5275b4], eax
mov ecx, dword [esp + 0x1114]
xor ecx, esp
call fcn.004df2c4
add esp, 0x1118
ret 8
Function at 0x4612b0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x14
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
push ebx
mov edx, ecx
mov ecx, dword [ebp + 0x10]
movdqu xmm0, xmmword [edx + 8]
push esi
lea esi, [edx + 8]
push edi
mov dword [esp + 0x1c], esi
mov edi, eax
mov ebx, ecx
lea esi, [edx + 0x18]
jbe 0x461346
lea ecx, [ecx]
mov eax, edi
movdqu xmm1, xmmword [eax]
add edi, 0x10
cmp byte [edx + 1], 0
mov dword [esp + 0x18], edi
je 0x4612f9
pxor xmm0, xmm1
jmp 0x4612fd
movdqa xmm0, xmm1
mov eax, dword [edx + 4]
cmp eax, 1
movdqu xmm1, xmmword [esi]
pxor xmm0, xmm1
jle 0x461328
lea ecx, [esi + 0x10]
lea edi, [eax - 1]
movdqu xmm1, xmmword [ecx]
add ecx, 0x10
sub edi, 1
aesenc xmm0, xmm1
jne 0x461313
mov edi, dword [esp + 0x18]
shl eax, 4
movdqu xmm1, xmmword [eax + esi]
add eax, esi
mov eax, ebx
add ebx, 0x10
sub dword [ebp + 0xc], 1
aesenclast xmm0, xmm1
movdqu xmmword [eax], xmm0
jne 0x4612e0
mov eax, dword [esp + 0x1c]
pop edi
pop esi
movdqu xmmword [eax], xmm0
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x461360
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push ecx
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 0x10]
push ebx
mov edx, ecx
movdqu xmm2, xmmword [edx + 8]
push esi
lea ecx, [edx + 8]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], ecx
mov ebx, eax
lea esi, [edx + 0x18]
jbe 0x4613f3
lea esp, [esp]
mov eax, edi
movdqu xmm1, xmmword [eax]
mov eax, dword [edx + 4]
mov ecx, eax
shl ecx, 4
movdqu xmm0, xmmword [ecx + esi]
add ecx, esi
dec eax
add edi, 0x10
pxor xmm0, xmm1
test eax, eax
jle 0x4613c9
mov ecx, eax
shl ecx, 4
add ecx, esi
movdqu xmm3, xmmword [ecx]
dec eax
sub ecx, 0x10
aesdec xmm0, xmm3
test eax, eax
jg 0x4613b8
cmp byte [edx + 1], 0
movdqu xmm3, xmmword [esi]
aesdeclast xmm0, xmm3
je 0x4613dc
pxor xmm0, xmm2
mov eax, ebx
add ebx, 0x10
sub dword [ebp + 0xc], 1
movdqa xmm2, xmm1
movdqu xmmword [eax], xmm0
jne 0x461390
mov ecx, dword [esp + 0xc]
pop edi
pop esi
movdqu xmmword [ecx], xmm2
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x461650
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x10], eax
push ebp
push edi
mov ebp, ecx
mov edi, 1
cmp dword [ebp + 4], edi
jle 0x46178a
push ebx
push esi
lea esi, [ebp + 0x28]
lea ecx, [ebp + 0x2c]
jmp 0x461680
xor eax, eax
jmp 0x461690
movzx edx, byte [ecx - 1]
movzx edx, byte [eax + edx*4 + 0x52a620]
movzx ebx, byte [ecx - 2]
xor dl, byte [eax + ebx*4 + 0x52aa20]
movzx ebx, byte [ecx - 3]
xor dl, byte [eax + ebx*4 + 0x52ae20]
movzx ebx, byte [ecx - 4]
xor dl, byte [eax + ebx*4 + 0x52b220]
movzx ebx, byte [ecx + 2]
mov byte [esp + eax + 0x10], dl
movzx edx, byte [ecx + 3]
movzx edx, byte [eax + edx*4 + 0x52a620]
xor dl, byte [eax + ebx*4 + 0x52aa20]
movzx ebx, byte [ecx + 1]
xor dl, byte [eax + ebx*4 + 0x52ae20]
movzx ebx, byte [ecx]
xor dl, byte [eax + ebx*4 + 0x52b220]
movzx ebx, byte [ecx + 6]
mov byte [esp + eax + 0x14], dl
movzx edx, byte [ecx + 7]
movzx edx, byte [eax + edx*4 + 0x52a620]
xor dl, byte [eax + ebx*4 + 0x52aa20]
movzx ebx, byte [ecx + 5]
xor dl, byte [eax + ebx*4 + 0x52ae20]
movzx ebx, byte [ecx + 4]
xor dl, byte [eax + ebx*4 + 0x52b220]
movzx ebx, byte [ecx + 0xa]
mov byte [esp + eax + 0x18], dl
movzx edx, byte [ecx + 0xb]
movzx edx, byte [eax + edx*4 + 0x52a620]
xor dl, byte [eax + ebx*4 + 0x52aa20]
movzx ebx, byte [ecx + 9]
xor dl, byte [eax + ebx*4 + 0x52ae20]
movzx ebx, byte [ecx + 8]
xor dl, byte [eax + ebx*4 + 0x52b220]
inc eax
cmp eax, 4
mov byte [esp + eax + 0x1b], dl
jl 0x461690
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
inc edi
add ecx, 0x10
add esi, 0x10
cmp edi, dword [ebp + 4]
jl 0x461680
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
pop edi
pop ebp
xor ecx, esp
call fcn.004df2c4
add esp, 0x14
ret
Function at 0x463460
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 4], 0
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, ecx
jne 0x463481
push edi
push 0
push ebp
call fcn.004e01d0
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edi
push ebp
push eax
push ebx
push ecx
mov ecx, esi
call fcn.00463000
test al, al
jne 0x463540
test ebx, ebx
jne 0x463500
cmp dword [esi + 0x24], edi
je 0x4634d4
mov edx, dword [esi + 0x20]
push edx
call fcn.004e0284
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004df0da
add esp, 8
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
xor eax, eax
test edi, edi
jbe 0x463500
lea ebx, [ebx]
mov ecx, dword [esp + 0x1c]
movzx edx, word [eax + ecx]
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 0x20]
mov edx, dword [ecx + edx*4]
mov dword [ebx + eax*4], edx
add eax, 2
cmp eax, edi
jb 0x4634e0
mov ebx, dword [esp + 0x18]
nop
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c]
imul eax, ebx
add eax, dword [esp + 0x14]
mov edx, dword [ecx + eax*4]
mov eax, dword [esi + 4]
mov ecx, dword [eax + edx*4]
xor eax, eax
test edi, edi
jbe 0x463540
lea esp, [esp]
mov edx, dword [esi + 0x20]
mov edx, dword [edx + eax*4]
mov ebx, dword [esi]
add edx, ecx
mov dx, word [ebx + edx*4]
xor word [eax + ebp], dx
add eax, 2
cmp eax, edi
jb 0x463520
lea esp, [esp]
pop edi
pop esi
pop ebp
pop ebx
ret 0x14

Function at 0x463700
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x1050
call fcn.004df2e0
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x104c], eax
push ebx
mov ebx, dword [esp + 0x1058]
cmp byte [ebx], 0
push ebp
mov ebp, ecx
je 0x4637e3
push esi
push edi
lea esi, [ebp + 0x101e]
push esi
call fcn.00450f20
mov edi, eax
cmp edi, esi
jbe 0x463765
xor eax, eax
push esi
mov word [edi - 2], ax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, 0x5c
mov word [edi - 2], cx
cmp eax, 0xffffffff
je 0x463765
test eax, 0x400
je 0x463765
mov byte [ebx], 0
push str.System_Volume_Information_
push esi
call fcn.004e380d
add esp, 8
test eax, eax
jne 0x463794
cmp byte [ebx], al
je 0x4637e1
mov ecx, dword [ebp + 0x4024]
test ecx, ecx
je 0x463799
push 1
push 1
push eax
push esi
call fcn.00436a40
test al, al
je 0x463799
mov byte [ebx], 0
jmp 0x4637e1
cmp byte [ebx], 0
je 0x4637e1
push 0x800
lea edx, [esp + 0x60]
push edx
push esi
call fcn.00451c30
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0x54
mov dword [esp + 0x10], eax
mov dword [esp + 0x50], 1
call fcn.00468710
mov ecx, 0x5275b8
call fcn.0043d530
pop edi
pop esi
mov ecx, dword [esp + 0x1054]
pop ebp
pop ebx
xor ecx, esp
call fcn.004df2c4
add esp, 0x1050
ret 4
Function at 0x463eb0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [0x52d848]
push esi
test ecx, ecx
jne 0x463f09
cmp byte [0x52d844], cl
jne 0x463f09
push str.Crypt32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x52d840], eax
test eax, eax
je 0x463efc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptProtectMemory
push eax
call esi
mov dword [0x52d848], eax
mov eax, dword [0x52d840]
push str.CryptUnprotectMemory
push eax
call esi
mov dword [0x52d84c], eax
mov ecx, dword [0x52d848]
mov byte [0x52d844], 1
mov esi, dword [esp + 0xc]
mov edx, esi
and edx, 0xf
mov eax, esi
sub eax, edx
cmp byte [esp + 0x10], 0
je 0x463f5b
test ecx, ecx
je 0x463f7a
push 0
push eax
mov eax, dword [esp + 0x10]
push eax
call ecx
test eax, eax
jne 0x463f9d
push str.CryptProtectMemory_failed
push 0x5275b8
call fcn.0043d750
add esp, 8
mov ecx, 0x5275b8
call fcn.0043d530
push 2
mov ecx, 0x5275b8
call fcn.0043d3c0
pop esi
ret 0xc
mov ecx, dword [0x52d84c]
test ecx, ecx
je 0x463f7a
mov edx, dword [esp + 8]
push 0
push eax
push edx
call ecx
test eax, eax
jne 0x463f9d
push str.CryptUnprotectMemory_failed
jmp 0x463f34
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor ecx, ecx
test esi, esi
jbe 0x463f9d
mov dl, al
mov eax, dword [esp + 8]
add dl, 0x4b
push ebx
mov bl, dl
add bl, cl
xor byte [ecx + eax], bl
inc ecx
cmp ecx, esi
jb 0x463f90
pop ebx
pop esi
ret 0xc

Function at 0x465b50
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
ret 4

Function at 0x465d80
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
ret 4
Function at 0x4662e0
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x12c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x13c]
mov ecx, dword [esi + 0x20]
push edi
lea eax, [esi + 0x2c]
push 0
mov dword [esp + 0x14], eax
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x24]
push 8
push eax
push ecx
call fcn.004e0250
mov edi, dword [esi + 0x20]
and edi, 0x3f
mov byte [edi + esi + 0x2c], 0x80
inc edi
mov ebp, eax
mov ebx, edx
cmp edi, 0x38
je 0x46633a
and edi, 0x3f
jne 0x46632c
push esi
call fcn.00465dd0
mov edx, dword [esp + 0x10]
mov byte [edx + edi], 0
inc edi
cmp edi, 0x38
jne 0x466321
mov eax, ebx
shr eax, 0x18
mov byte [edi + esi + 0x2c], al
shld ebx, ebp, 8
shl ebp, 8
mov ecx, ebx
mov edx, ecx
shr edx, 0x18
mov byte [edi + esi + 0x2d], dl
mov eax, ebp
shld ecx, eax, 8
shl eax, 8
mov edx, ecx
shld ecx, eax, 8
shr edx, 0x18
mov byte [edi + esi + 0x2e], dl
shl eax, 8
mov edx, ecx
shld ecx, eax, 8
shr edx, 0x18
shl eax, 8
mov byte [edi + esi + 0x2f], dl
mov edx, ecx
shld ecx, eax, 8
shr edx, 0x18
shl eax, 8
mov byte [edi + esi + 0x30], dl
mov edx, ecx
shld ecx, eax, 8
shl eax, 8
mov dword [esp + 0x14], eax
mov eax, ecx
shr edx, 0x18
shr eax, 0x18
shr ecx, 0x10
push esi
mov byte [edi + esi + 0x31], dl
mov byte [edi + esi + 0x32], al
mov byte [edi + esi + 0x33], cl
call fcn.00465dd0
mov edi, dword [esp + 0x144]
xor ebp, ebp
xor eax, eax
mov edx, eax
and edx, 3
mov ecx, 3
sub ecx, edx
add ecx, ecx
mov edx, eax
shr edx, 2
mov edx, dword [esi + edx*4]
add ecx, ecx
add ecx, ecx
shr edx, cl
inc eax
mov byte [eax + edi - 1], dl
cmp eax, 0x20
jb 0x4663c3
push 0x20
lea eax, [esp + 0x20]
push eax
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
call fcn.00463fb0
push 0x100
lea ecx, [esp + 0x40]
push ecx
call fcn.00463fb0
mov edx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
jmp fcn.00463fb0

Function at 0x4670d0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x467123
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp]
push 0
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push SysReAllocString
push 0xd
call dword [sym.imp.USER32.dll_ExitWindowsEx]
add esp, 0x14
ret
Function at 0x467bd0
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
cmp dword [esi], ebp
jbe 0x467c4d
push ebx
push edi
lea ebx, [esi + 4]
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x467b60
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x467c28
push str.CreateThread_failed
push 0x5275b8
call fcn.0043d750
add esp, 8
mov ecx, 0x5275b8
call fcn.0043d530
push 2
mov ecx, 0x5275b8
call fcn.0043d3c0
mov dword [ebx], edi
inc dword [esi + 0x84]
mov eax, dword [0x53186c]
test eax, eax
je 0x467c43
mov ecx, dword [ebx]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc ebp
add ebx, 4
cmp ebp, dword [esi]
jb 0x467be0
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret
Function at 0x46c7b0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x408
push ebx
push ebp
push esi
mov esi, dword [esp + 0x418]
push edi
mov ebx, ecx
movzx edi, word [ebx]
sub edi, dword [esi + 0x654]
mov dword [esp + 0x14], ebx
push edi
push esi
call fcn.0046c5a0
mov dl, byte [esi + 0xa6c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
sub eax, 6
lea ebp, [esp + 0x18]
xor ecx, ecx
lea ecx, [ecx]
movzx ebx, byte [eax + 6]
add eax, 6
cmp byte [ebx + esi + 0x66c], dl
je 0x46c7f0
movzx ebx, byte [eax + 1]
mov dword [ebp], eax
add ecx, ebx
add ebp, 4
sub edi, 1
jne 0x46c7f0
add dword [esi + 0x4a84], ecx
mov eax, dword [esi + 0x4a78]
xor edx, edx
div dword [esi + 0x4a84]
xor edx, edx
mov edi, eax
mov eax, dword [esi + 0x4a74]
sub eax, dword [esi + 0x4a70]
mov dword [esi + 0x4a78], edi
div edi
mov ebx, dword [esi + 0x4a84]
cmp eax, ebx
jl 0x46c856
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x408
ret 4
cmp eax, ecx
mov edx, dword [esp + 0x18]
lea edi, [esp + 0x18]
jge 0x46c8d3
movzx ecx, byte [edx + 1]
cmp ecx, eax
jg 0x46c880
lea ebx, [ebx]
mov edx, dword [edi + 4]
movzx ebx, byte [edx + 1]
add edi, 4
add ecx, ebx
cmp ecx, eax
jle 0x46c870
mov edi, dword [esp + 0x10]
mov dword [esi + 0x4a80], ecx
movzx eax, byte [edx + 1]
sub ecx, eax
mov dword [esi + 0x4a7c], ecx
mov cl, byte [edi + 2]
cmp cl, 7
jae 0x46c8b9
add byte [edi + 3], 0xff
jne 0x46c8b9
mov ax, word [edi]
add ax, ax
mov word [edi], ax
mov al, 3
shl al, cl
inc cl
mov byte [edi + 2], cl
mov byte [edi + 3], al
mov ecx, dword [esp + 0x14]
push edx
push esi
call fcn.0046c560
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x408
ret 4
mov edi, dword [esp + 0x14]
mov dword [esi + 0x4a7c], ecx
mov dword [esi + 0x4a80], ebx
movzx ecx, word [edi]
sub ecx, dword [esi + 0x654]
lea eax, [esp + 0x18]
sub eax, 4
mov edx, dword [eax + 4]
movzx edx, byte [edx]
mov bl, byte [esi + 0xa6c]
add eax, 4
sub ecx, 1
mov byte [edx + esi + 0x66c], bl
jne 0x46c8f3
mov cx, word [esi + 0x4a84]
mov eax, dword [esp + 0x10]
add word [eax], cx
movzx edx, word [edi]
pop edi
mov dword [esi + 0x654], edx
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x408
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x4f635e
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x50fb70]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 4], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov byte [esp + 0x10], 1
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov byte [esp + 0x10], 2
mov dword [eax + 0x10], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x14], ecx
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x475660
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2e0
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x2dc], eax
push ebx
push ebp
mov ebp, dword [esp + 0x2fc]
push esi
push edi
mov edi, dword [esp + 0x2f4]
mov ebx, ecx
push 0x1008
mov dword [esp + 0x38], ebx
call fcn.004e04e6
mov ecx, dword [esp + 0x300]
mov esi, eax
mov eax, dword [esp + 0x2fc]
add esp, 4
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
call fcn.004664f0
lea edx, [esi + 8]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x4756b7
cmp dword [ebx + 4], 0x50000
jb 0x4756e7
call fcn.00445d60
cmp eax, 0x400
je 0x4756e7
cmp byte [esp + 0x310], 0
jne 0x475732
mov ebx, dword [esp + 0x300]
cmp ebx, 0xffffffff
je 0x4756f7
test ebp, ebp
jne 0x475739
cmp dword [esp + 0x2f8], 2
mov eax, 0x4201
jne 0x47570b
mov eax, 0x4203
push eax
push 0x2b4
lea edx, [esp + 0x40]
push edx
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp ebx, 0xffffffff
jne 0x475728
mov ebx, dword [esp + 0x3c]
test ebp, ebp
jne 0x475739
lea ebp, [esp + 0x44]
jmp 0x475739
mov ebx, dword [esp + 0x300]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0x37
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x475777
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x30c]
mov ecx, dword [esp + 0x308]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
push 0
mov dword [esp + 0x34], ecx
mov ecx, dword [eax]
push 0x40b
push ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004df2c4
add esp, 0x2e0
ret 0x20