joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4249a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x464fdd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], vtable.CArray_class_CTaskField__class_CTaskField_.0
mov dword [esi + 4], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 8], ebp
lea ebx, [esi + 0x1c]
mov ecx, ebx
mov dword [esp + 0x30], ebp
call fcn.004226d0
push 0x20
mov byte [esp + 0x34], 1
call fcn.0042a466
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x30], 2
je 0x424a09
mov ecx, eax
call fcn.00422de0
jmp 0x424a0b
xor eax, eax
mov ecx, eax
mov byte [esp + 0x30], 1
mov dword [esi + 0x14], eax
call fcn.004230b0
mov ecx, esi
call fcn.00425010
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00424100
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
mov byte [esp + 0x34], 3
call fcn.00422540
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.004222c0
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 8]
cmp eax, ebp
jle 0x424abd
xor ebx, ebx
nop
test ebx, ebx
jl 0x424ad4
cmp ebp, eax
jge 0x424ad4
mov eax, dword [edi + 4]
add eax, ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00429660
mov edx, dword [esi + 8]
sub esp, 0x10
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x44], 4
mov dword [esp + 0x4c], edx
call fcn.00429660
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, esi
call fcn.00424ef0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.004270a0
mov eax, dword [edi + 8]
add ebp, 1
add ebx, 0x10
cmp ebp, eax
jl 0x424a60
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4
call fcn.0042bad0
int3
Function at 0x426f70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x465468
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 8]
sub esp, 0x28
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov dword [esp + 0x40], 0
call fcn.004249a0
push edi
mov ecx, esi
call fcn.00426df0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00424210
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0x28
Function at 0x429480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x465843
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [esp + 0xc], 0
lea eax, [esp + 0x40]
mov ebx, 1
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], ebx
call fcn.004224b0
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x46d14c
mov byte [esp + 0x48], 2
call fcn.00422570
lea ecx, [esp + 0x24]
call fcn.00422410
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x46d150
mov edi, eax
call fcn.00422570
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 3
call fcn.004222b0
sub eax, ebx
push eax
push 2
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x30]
call fcn.00422860
mov byte [esp + 0x44], 4
mov ecx, eax
mov byte [esp + 0x44], 5
call fcn.00422410
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x34], 2
call fcn.004222c0
add esi, ebx
cmp edi, ebx
jl 0x429558
cmp esi, ebx
jl 0x429558
sub esi, edi
sub esi, ebx
push esi
mov esi, dword [esp + 0x40]
add edi, ebx
push edi
push esi
lea ecx, [esp + 0x20]
call fcn.00422860
jmp 0x429568
mov esi, dword [esp + 0x3c]
push 0x469780
mov ecx, esi
call fcn.00422570
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x34], bl
call fcn.004222c0
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 0
call fcn.004222c0
mov ecx, dword [esp + 0x2c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret

Function at 0x42a030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x465ac0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
push edi
mov esi, ecx
push 0x46d2f0
lea ecx, [esp + 0x10]
call fcn.00422570
lea eax, [esp + 0x24]
push 6
push eax
mov dword [esp + 0x4c], 0
call fcn.004218b0
add esp, 8
lea ecx, [esp + 0xc]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x50], 1
call fcn.00429bb0
lea edi, [esi + 0xcc]
push eax
mov ecx, edi
mov byte [esp + 0x48], 2
call fcn.00422540
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 1
call fcn.004222c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 0
call fcn.004222c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call fcn.004222c0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x14], esp
push edi
call fcn.004224b0
lea eax, [esp + 0x3c]
push eax
call fcn.00404ae0
add esp, 0x10
push eax
mov ecx, edi
mov dword [esp + 0x48], 3
call fcn.00422540
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xffffffff
call fcn.004222c0
mov ecx, dword [esp + 0x4c]
push ecx
push 0x85
mov ecx, esi
mov byte [esi + 0x10c], 0
call fcn.0042ae47
mov ecx, dword [esp + 0x3c]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x40
ret 4
Function at 0x42ae47
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x42ae67
cmp dword [edi + 0x54], 0
jne 0x42ae67
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0043667e
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0042ae0e
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x4304f1
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x43052a
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004304b4
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0042f2c7
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x431f48
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x431f8b
call fcn.0043667e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x431f8b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x431fa6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00431aff
test ebx, ebx
mov esi, eax
je 0x431fa4
test edi, edi
je 0x431fa4
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4353bb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x435401
call fcn.0043667e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x435401
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x435444
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x43542d
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x43542d
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x435441
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x43a37f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x43a3ad
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43a3cb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0043a2e9
jmp 0x43a3cb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43a3cb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0043a2e9
test edi, edi
mov eax, edi
jne 0x43a3b5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x495378]
test ecx, ecx
je 0x43a48e
jmp 0x43a37e
ret 8

Function at 0x44a4ac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x486934]
jne 0x44a4b6
repz ret
jmp fcn.004575aa
Function at 0x45bc73
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0044e716
xor ebx, ebx
cmp dword [0x496200], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x45bd48
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x45bcb3
xor eax, eax
jmp 0x45be0c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4753d8
push edi
call esi
cmp eax, ebx
je 0x45bcac
push eax
call fcn.0044e6b3
mov dword [esp], 0x4753c8
push edi
mov dword [0x496200], eax
call esi
push eax
call fcn.0044e6b3
mov dword [esp], 0x4753b4
push edi
mov dword [0x496204], eax
call esi
push eax
call fcn.0044e6b3
mov dword [0x496208], eax
lea eax, [ebp - 8]
push eax
call fcn.0044c27d
test eax, eax
pop ecx
pop ecx
je 0x45bd16
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044ecd6
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x45bd48
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0044e6b3
cmp eax, ebx
pop ecx
mov dword [0x496210], eax
je 0x45bd48
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044e6b3
pop ecx
mov dword [0x49620c], eax
mov eax, dword [0x49620c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x45bdc1
cmp dword [0x496210], esi
je 0x45bdc1
push eax
call fcn.0044e71f
pop ecx
call eax
cmp eax, ebx
je 0x45bd8e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x496210]
call fcn.0044e71f
pop ecx
call eax
test eax, eax
je 0x45bd8e
test byte [ebp - 0x18], 1
jne 0x45bdc1
lea eax, [ebp - 0xc]
push eax
call fcn.0044c2b4
test eax, eax
pop ecx
je 0x45bda9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044ecd6
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x45bdb8
or dword [ebp + 0x10], 0x200000
jmp 0x45bdf2
or dword [ebp + 0x10], 0x40000
jmp 0x45bdf2
mov eax, dword [0x496204]
cmp eax, esi
je 0x45bdf2
push eax
call fcn.0044e71f
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x45bdf2
mov eax, dword [0x496208]
cmp eax, esi
je 0x45bdf2
push dword [ebp - 4]
push eax
call fcn.0044e71f
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x496200]
call fcn.0044e71f
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4607c6
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x486934]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0046075b
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00447520
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x460815
cmp dword [ebp - 0x1c], 5
jb 0x46082d
jmp 0x460829
cmp dword [ebp - 0x10], 1
jne 0x46082d
cmp dword [ebp - 0x1c], 4
ja 0x460829
jne 0x46082d
cmp dword [ebp - 0x18], 0
jbe 0x46082d
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x475da4
call fcn.0046062f
test eax, eax
jge 0x46084e
mov byte [0x4937ec], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044a4ac
add ebp, 0x78
leave
ret
Function at 0xf61748
Capabilities:
Encode data using xor

Disassembly:
lodsd eax, dword [esi]
mov al, 0x2e
sti
and eax, 0x4cf71e90
arpl word [ebp - 0x6390b01d], bx
fisttp word [esi + 0x5b]
pushfd
retf
aad 0x70
je 0xf6170f
xlatb
xchg esp, eax
xlatb
mov ecx, 0xff35b70e
mov cl, 0xc4
adc ecx, esp
lodsd eax, dword [esi]
jp 0xf6168f
dec edx
sub al, 0x38
pop es
int1
in al, dx
or cl, byte [ebx]
or al, 0x4a
salc
mov edi, 0xbfc2358e
lcall 0xfa35, 0xa6bfce35
mov edi, 0x2ce633b2
sub esp, 0xd2d08e92
test byte [edx - 0x7a95228], al
ret 0x9abf
sbb al, 0xad
push esi
clc
in al, 0x1d
mov esp, 0x2152f094
push edi
cld
cmpsb byte [esi], byte es:[edi]
mov ebx, 0x4067086c
insd dword es:[edi], dx
adc al, 0x64
dec esp
outsb dx, byte [esi]
and byte [edx + 6], al
jno 0xf616ee
pop ss
sal dword [eax + 3], 1
cli
push ecx
jmp 0xf61752
pushal
call 0xf61758
pop ebp
sub ebp, 0x10
sub ebp, 0xb61748
jmp 0xf6176e
mov eax, 0xb61748
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c0
mov edx, 0x8f422e80
xor byte [eax], dl
inc eax
dec ecx
jne 0xf61785
jmp 0xf61798
or ecx, dword [ebp + 0xb]
or dword [eax + eax*4 + 0x41018080], edi
js 0xf61724
add byte [eax - 0x79c7b27d], 0x80
add byte [eax - 0x7f7f57c6], 0x80
ja 0xf61816
or dword [eax + 0xb], 1
mov word [eax + 0x45838080], es
rcl al, 1
call 0x81980b05
call 0x810a3ad2
sub dword [esp + 0x7a83f0e8], 0x808568d1
add byte [eax - 0x7f7f5197], 0x80
or eax, 0x97ca4e4
lodsb al, byte [esi]
movsb byte es:[edi], byte [esi]
or ebp, dword [ebx + ecx + 5]
mov byte [eax + 0x150b8080], al
mov word [eax + 0xd0b8080], es
nop
add byte [eax - 0x7d96be80], 0xb1
add byte [ebx], 0x42
test cl, cl
pop dword [0x7f7f7f74]
fld qword [edx - 0x74]
or byte [ebx], 0xc
movsb byte es:[edi], byte [esi]
test byte [eax + 0x40e88080], al
mov eax, dword [0x2308e880]
adc al, 0x80
call 0x810a3b23
sub dword [esp - 0x7f7a972f], 0xc5698080
add byte [eax - 0x222b2a80], 0x7f
cmc
invalid
Function at 0x433002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x44d7c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44d81b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x44d81b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x44d808
cmp esi, edx
jae 0x44d81b
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x44d7f6
cmp esi, edx
jae 0x44d81b
xor eax, eax
cmp word [esi], ax
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x44e8c0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x7000a8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x10], 0
push esi
mov dword [ebp - 0xc], edx
je 0x44e9c6
cmp dword [ecx + 0x14], 8
jb 0x44e8e6
mov ecx, dword [ecx]
push 0
push 0
push 3
push 0
push 1
push accept
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44e9c6
push ebx
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov ebx, eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x44e9ac
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [ebp - 0x10]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44e9a2
mov eax, dword [edi + 0x3c]
add eax, edi
je 0x44e9a2
movzx eax, word [eax + 4]
mov ecx, 0x8664
cmp ax, cx
jne 0x44e96b
mov eax, dword [ebp - 0xc]
mov dword [eax], 6
jmp 0x44e97e
mov ecx, 0x14c
cmp ax, cx
jne 0x44e97e
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b75b2
mov esp, ebp
pop ebp
ret
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b75b2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.004b75b2
mov esp, ebp
pop ebp
ret
Function at 0x44e9e0
Capabilities:
Get common file path

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 0x65ddae
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x7000a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 0
push str.shell32.dll
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x44ea77
push 0x2c0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44ea6e
cmp dword [esi + 0x14], 8
jb 0x44ea67
mov esi, dword [esi]
lea ecx, [ebp - 0x24]
push ecx
push esi
call eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 0
push 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov esi, eax
mov dword [edi], 0
mov dword [ebp - 4], 1
call fcn.0044db80
mov ecx, eax
test ecx, ecx
je 0x44eb15
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
test esi, esi
jne 0x44eaf5
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x44eaf5
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44ead4
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00450c10
push dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
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.004b75b2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.0044d940
int3
Function at 0x451e90
Capabilities:
Query or enumerate registry value

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 0x65e100
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x150
mov eax, dword [0x7000a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x124], edi
push 0x104
lea eax, [ebp - 0x120]
mov dword [ebp - 0x124], edi
push 0
push eax
mov dword [ebp - 0x124], 1
call fcn.004b9340
add esp, 0xc
mov dword [ebp - 0x128], 0x104
mov edx, 0x20
lea ecx, [ebp - 0x15c]
call fcn.004763f0
mov esi, eax
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 0x10
jb 0x451f2a
mov esi, dword [esi]
mov edx, 0x1e
lea ecx, [ebp - 0x140]
call fcn.004763f0
cmp dword [eax + 0x14], 0x10
jb 0x451f42
mov eax, dword [eax]
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x124]
push ecx
push esi
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov ecx, dword [ebp - 0x12c]
mov esi, eax
cmp ecx, 0x10
jb 0x451fa0
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x451f96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4520b2
push ecx
push edx
call fcn.004b75c0
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
cmp ecx, 0x10
jb 0x451ffc
mov edx, dword [ebp - 0x15c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x451ff2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4520b2
push ecx
push edx
call fcn.004b75c0
add esp, 8
test esi, esi
jne 0x452086
xorps xmm0, xmm0
mov dword [ebp - 0x130], esi
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x12c], esi
movups xmmword [ebp - 0x140], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452023
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x140]
call fcn.0044ddc0
lea eax, [ebp - 0x140]
mov ecx, 0x706a30
push eax
call fcn.0044bdc0
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0x10
jb 0x452086
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45207c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4520b7
push ecx
push edx
call fcn.004b75c0
add esp, 8
push 0x706a30
mov ecx, edi
call fcn.0044d6c0
mov eax, edi
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.004b75b2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004bccbf
call fcn.004bccbf
int3
Function at 0x454520
Capabilities:
Get session information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x7000a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov edi, eax
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x10]
push eax
push 0x18
push edi
push 0
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
mov esi, dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
test eax, eax
je 0x454586
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x454586
cmp dword [eax], 0
jne 0x454583
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b75b2
mov esp, ebp
pop ebp
ret
push eax
call esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0
push 0
call dword [sym.imp.WTSAPI32.dll_WTSEnumerateSessionsW]
mov edx, dword [ebp - 0xc]
xor ecx, ecx
mov edi, dword [ebp - 0x14]
test edx, edx
je 0x4545c7
mov eax, edi
nop dword [eax + eax]
cmp dword [eax + 8], 0
movq xmm0, qword [eax]
movq qword [ebp - 0x20], xmm0
je 0x4545dd
inc ecx
add eax, 0xc
cmp ecx, edx
jb 0x4545b0
push edi
call esi
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b75b2
mov esp, ebp
pop ebp
ret
push edi
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
xor ecx, ebp
pop edi
pop esi
call fcn.004b75b2
mov esp, ebp
pop ebp
ret
Function at 0x454da0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x7000a8]
xor eax, esp
mov dword [esp + 0x44], eax
lea eax, [esp]
mov dword [esp], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
shrd eax, edx, 0xa
xor ecx, esp
shr edx, 0xa
call fcn.004b75b2
mov esp, ebp
pop ebp
ret