joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015fc2
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, str.C:Users_spr1tDesktopEvolveplugin_managerSFPluginImGuiimgui_draw.cpp
push edi
cmp dword [esi + 0x1c], 0
jle 0x10015fd8
cmp dword [esi + 0x20], 0
jg 0x10015feb
push 0x7fc
push ebx
push str.TexWidth___0__TexHeight___0
call fcn.1004833b
add esp, 0xc
mov edi, dword [esp + 0x10]
mov eax, 0xffff
cmp word [edi + 4], ax
jne 0x1001600d
push 0x7fd
push ebx
push str.rect__IsPacked__
call fcn.1004833b
add esp, 0xc
movzx eax, word [edi + 4]
movd xmm1, eax
movzx eax, word [edi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mulss xmm1, dword [esi + 0x24]
mov eax, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esi + 0x28]
movss dword [eax], xmm1
movss dword [eax + 4], xmm0
movzx eax, word [edi]
movzx ecx, word [edi + 4]
add ecx, eax
movzx eax, word [edi + 6]
movd xmm1, ecx
movzx ecx, word [edi + 2]
add ecx, eax
mov eax, dword [esp + 0x18]
cvtdq2ps xmm1, xmm1
pop edi
movd xmm0, ecx
mulss xmm1, dword [esi + 0x24]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esi + 0x28]
pop esi
movss dword [eax], xmm1
pop ebx
movss dword [eax + 4], xmm0
ret 0xc
Function at 0x10020be3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
call fcn.100090bf
mov edi, eax
mov ecx, dword [edi + 0x90]
call fcn.1002136e
test al, al
jne 0x10020c18
push 0xd9
push str.C:Users_spr1tDesktopEvolveplugin_managerSFPluginImGuiimgui_impl_win32.cpp
push str.io.Fonts__IsBuilt_____Font_atlas_not_built__It_is_generally_built_by_the_renderer_back_end._Missing_call_to_renderer__NewFrame___function__e.g._ImGui_ImplOpenGL3_NewFrame__._
call fcn.1004833b
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [0x100bcbb0]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
movd xmm1, eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0xc]
cvtdq2ps xmm0, xmm0
push eax
movss dword [edi + 8], xmm1
movss dword [edi + 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [0x100bcbb8]
mov edx, dword [ebp - 8]
sbb edx, dword [0x100bcbbc]
call fcn.1003a4a0
mov edx, dword [0x100bcbc4]
mov ecx, dword [0x100bcbc0]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.1003a4a0
movss xmm1, dword [ebp - 4]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0x10], xmm1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [0x100bcbb8], eax
mov dword [0x100bcbbc], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xf8], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xf9], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0xfb], 0
mov byte [edi + 0xfa], al
call fcn.10021032
cmp byte [edi + 0xa8], 0
pop edi
pop esi
je 0x10020cf9
or eax, 0xffffffff
jmp 0x10020cfe
call fcn.1000919b
cmp dword [0x1007a1b8], eax
je 0x10020d10
mov dword [0x1007a1b8], eax
call fcn.10020f8a
call fcn.10020d1f
leave
ret
Function at 0x10049589
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.1003b890
mov eax, dword [0x100bc000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.10051425
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100495cb
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10049727
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1005c740
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x100bd580]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.10054d3a
mov ecx, dword [esi*4 + 0x100bd580]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x10049720
cmp eax, dword [ecx + edi + 0x24]
jne 0x10049720
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10049720
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10054d3a
add esp, 0x14
test edx, edx
jl 0x10049720
jg 0x10049696
test eax, eax
jb 0x10049720
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10049720
jl 0x100496b0
cmp dword [ebp - 0x1008], eax
ja 0x10049720
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x100496ce
test ebx, ebx
je 0x10049707
cmp ecx, edi
jae 0x10049707
mov al, byte [ecx]
cmp al, 0xd
jne 0x100496e8
lea eax, [edi - 1]
cmp ecx, eax
jae 0x100496f4
cmp byte [ecx + 1], 0xa
jne 0x100496f4
inc ecx
jmp 0x100496f4
movzx eax, al
movsx eax, byte [eax + 0x100bc2a0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x100496ce
cmp edx, ebx
jne 0x100496ce
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10049725
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1003aa5e
leave
ret

Function at 0x1004e3dc
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1004e41b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1004e41b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1004e41b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1004e41b
cmp dword [ecx + 0x74], 0xe
jbe 0x1004e41b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1005206b
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10051fed
Function at 0x1005282e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1006fc40
push 0x1006fc38
push str.FlsAlloc
push 0x1f
call fcn.100526ca
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10052862
push dword [ebp + 8]
mov ecx, esi
call dword [0x1005e20c]
call esi
jmp 0x10052868
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100528ac
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1006fc50
push 0x1006fc48
push str.FlsGetValue
push 0x21
call fcn.100526ca
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100528e3
push dword [ebp + 8]
mov ecx, esi
call dword [0x1005e20c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100528eb
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1006fc58
push 0x1006fc50
push str.FlsSetValue
push 0x22
call fcn.100526ca
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10052925
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1005e20c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10054038
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x100bd580]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10054078
cmp byte [ebx], 0xa
jne 0x10054078
or byte [edi + eax + 0x28], 4
jmp 0x1005407d
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x1005417c
mov dl, byte [eax]
cmp dl, 0x1a
je 0x1005415f
inc eax
cmp dl, 0xd
je 0x100540a9
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x100540cf
cmp eax, ecx
jae 0x100540dd
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x10054091
jmp 0x1005417c
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1005415a
cmp dword [ebp - 0x10], 0
je 0x1005415a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x100bd580]
test byte [eax + edi + 0x28], 0x48
je 0x10054134
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1005411f
mov byte [esi], dl
jmp 0x10054130
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100bd580]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1005417c
cmp byte [ebp - 1], 0xa
jne 0x10054143
cmp esi, ebx
jne 0x10054143
mov byte [esi], 0xa
jmp 0x1005417b
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10054d58
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1005417c
mov byte [esi], 0xd
jmp 0x1005417b
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x100bd580]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10054179
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1005417c
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10054185
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x100bd580]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100541cb
cmp word [ebx], dx
jne 0x100541cb
or byte [eax + edi + 0x28], 4
jmp 0x100541d0
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x10054333
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x10054313
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10054211
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10054247
cmp eax, edx
jae 0x10054255
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x100541ec
jmp 0x10054333
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1005430e
cmp dword [ebp - 0x18], 0
je 0x1005430e
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x100bd580]
test byte [eax + edi + 0x28], 0x48
je 0x100542e4
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x100542a8
mov word [esi], cx
jmp 0x100542df
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x100bd580]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x100bd580]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x100bd580]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10054333
pop eax
cmp word [ebp - 4], ax
jne 0x100542f4
cmp esi, ebx
jne 0x100542f4
mov word [esi], ax
jmp 0x10054330
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10054d58
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10054333
push 0xd
pop eax
jmp 0x100542ef
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x100bd580]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1005432d
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10054333
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10056e5a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10056ef7
push ebx
push esi
call fcn.10056e23
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10055d7d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10056ea4
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10056ef6
push edi
push eax
call fcn.10050415
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10056ec4
call fcn.100503db
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10056ef5
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10055d7d
add esp, 0x20
test eax, eax
jne 0x10056ee3
push edi
call fcn.100503db
jmp 0x10056eeb
push ebx
call fcn.100503db
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1005b541
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1005b4bd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1005b6b0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1005b6b0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1005b665
jg 0x1005b59d
test eax, eax
je 0x1005b65b
push 1
push 0x1000
call fcn.1005037e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1005b5c0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1005b652
push 0x8000
push ebx
call fcn.1005b3ee
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1005b5e9
jg 0x1005b5e4
cmp ecx, 0x1000
jb 0x1005b5e9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10053e1c
add esp, 0x10
cmp eax, 0xffffffff
je 0x1005b62e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1005b5e4
jl 0x1005b615
test ecx, ecx
jne 0x1005b5d6
push dword [ebp - 0xc]
push ebx
call fcn.1005b3ee
push esi
call fcn.100503db
add esp, 0xc
xor ebx, ebx
jmp 0x1005b6be
cmp byte [edi + 0x24], 0
je 0x1005b645
cmp dword [edi + 0x20], 5
jne 0x1005b645
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1005b650
mov ebx, dword [edi + 0x18]
jmp 0x1005b652
xor ebx, ebx
push esi
call fcn.100503db
pop ecx
jmp 0x1005b6be
test ecx, ecx
jg 0x1005b627
jl 0x1005b665
test eax, eax
jae 0x1005b627
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10054d58
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1005b685
cmp byte [edi + 0x1c], 0
je 0x1005b627
jmp 0x1005b6b6
push ebx
call fcn.10059a08
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1005b627
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1005b6be
cmp byte [edi + 0x1c], 0
je 0x1005b6bb
mov ebx, dword [edi + 0x18]
jmp 0x1005b6be
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10054d58
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1005c640
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1005c66d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1005c66d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x86a60
Capabilities:
Delete file
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x86b8c
mov al, byte [esi]
mov byte [ebp - 4], al
mov al, byte [esi + 1]
mov byte [ebp - 3], al
mov al, byte [esi + 2]
push edi
mov edi, dword [ebp + 0x10]
mov byte [ebp - 2], al
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x86b1d
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x14]
push ebx
push dword [ebp - 0xc]
push ebx
push eax
call fcn.0008eb0e
add esp, 0x10
cmp edx, ebx
jl 0x86b1d
jg 0x86ae7
cmp eax, 0x6400000
jbe 0x86afd
call fcn.0008eca5
xor edx, edx
mov ecx, 0x500000
div ecx
lea edi, [edx + 0xa00000]
jmp 0x86b1d
cmp edx, ebx
jl 0x86b1d
jg 0x86b0a
cmp eax, 0x3200000
jbe 0x86b1d
call fcn.0008eca5
mov edi, eax
and edi, 0x1fffff
add edi, 0x300000
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.00086987
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x86b56
mov dword [0x92180], 0x5e040102
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 8]
mov dword [0x9217c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x86b7f
push dword [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
test eax, eax
jne 0x86b86
mov dword [0x92180], 0x5e040103
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 8]
mov dword [0x9217c], eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x18]
pop edi
jmp 0x86ba3
mov dword [0x92180], 0x5e040101
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9217c], eax
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x86dc2
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x92f0c]
sub esp, 0x104
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x86e33
call fcn.00086cc9
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0008ef00
pop ecx
lea eax, [ebp - 0x104]
pop ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x86df4
sub eax, edx
cmp eax, 3
jb 0x86e24
push ebx
push ebx
push ebx
push ebx
push 0x92f0c
push ebx
push ebx
lea eax, [ebp - 0x104]
push eax
mov byte [ebp - 0x101], bl
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x86e2e
mov dword [0x92f0c], 0x5e5e5e5e
mov eax, dword [0x92f0c]
pop ebx
leave
ret

Function at 0x86e36
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x358]
push eax
or esi, 0xffffffff
mov dword [ebp - 4], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x86ebe
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x358]
push eax
push 0
mov dword [ebp - 4], 0x7c
mov dword [ebp - 8], 0x80
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x86ebe
cmp dword [ebp - 4], 0xc
jb 0x86ebb
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp + 8]
jne 0x86ebb
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x86eb7
cmp dword [ebp - 4], 0x1c
jb 0x86ebb
cmp dword [ebp - 0x38], eax
jne 0x86ebb
xor esi, esi
jmp 0x86ebe
xor esi, esi
inc esi
mov eax, esi
pop esi
leave
ret

Function at 0x86edd
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x92048]
sub esp, 0x10
push ebx
xor ebx, ebx
cmp eax, ebx
jge 0x86f5c
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], ebx
mov word [ebp - 0xc], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x86f44
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x86f3b
xor eax, eax
cmp dword [ebp - 4], ebx
sete al
mov dword [0x92048], eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [0x92048]
cmp eax, ebx
je 0x86f5c
push ebx
push 0x12
call fcn.00086e36
pop ecx
pop ecx
mov dword [0x92048], eax
pop ebx
leave
ret
Function at 0x880c9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 4], ebx
mov dword [0x92c3c], ebx
mov dword [0x92c38], ebx
call fcn.00086ec3
test eax, eax
jne 0x880f9
call fcn.00087ee6
jmp 0x88225
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x134]
push eax
push ebx
push ebx
push 0x90264
call fcn.0008704c
add esp, 0x14
test eax, eax
jle 0x88225
cmp byte [ebp - 0x134], bl
je 0x88225
cmp byte [ebp - 0x30], bl
je 0x88225
lea eax, [ebp - 8]
push eax
push 0x101
push ebx
push 0xc8
push 0xe4
push 0x2e
push 0x906ac
mov edi, 0x922f8
push edi
call fcn.00082544
add esp, 0x14
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x88216
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 8]
call esi
test eax, eax
jne 0x881f7
cmp dword [ebp - 0xc], 1
jne 0x881f7
cmp dword [ebp - 4], ebx
jbe 0x881f7
push dword [ebp - 4]
call fcn.0008ebcc
pop ecx
mov dword [0x92c3c], eax
cmp eax, ebx
je 0x8820d
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 8]
call esi
test eax, eax
jne 0x881f7
lea eax, [ebp - 0x134]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x881cd
sub eax, edx
inc eax
push eax
call fcn.0008ebcc
pop ecx
mov dword [0x92c38], eax
cmp eax, ebx
je 0x8820d
lea ecx, [ebp - 0x134]
push ecx
push eax
call fcn.0008ef00
pop ecx
jmp 0x8820c
mov eax, dword [0x92c3c]
cmp eax, ebx
je 0x8820d
push eax
call fcn.0008ec2e
mov dword [0x92c3c], ebx
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x100
push ebx
push edi
call fcn.0008ee2a
add esp, 0xc
cmp byte [str.C:WindowsSysWOW64gwqtimlu_vpphkuyk.exe], bl
je 0x8826c
cmp dword [0x921a4], ebx
jne 0x8826c
push ebx
lea eax, [ebp - 0x10]
push eax
push str.C:WindowsSysWOW64gwqtimlu_vpphkuyk.exe
call fcn.0008675c
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x8826c
mov esi, dword [ebp - 0x10]
push ebx
push esi
push edi
call fcn.000824c2
push edi
mov dword [0x922d4], eax
mov dword [0x921a4], esi
call fcn.0008ec2e
add esp, 0x10
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret