joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10047830
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi], 0
jne 0x10047849
cmp byte [edi + 0x2e1d], 0
je 0x10047860
push 0xf67
push 0x100f7438
push str._g.Initialized___g.SettingsLoaded
call fcn.100b210e
add esp, 0xc
or edx, 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], str.Window
mov esi, 0x100f746d
mov al, 0x57
or ebx, 0xffffffff
nop dword [eax + eax]
cmp al, 0x23
jne 0x1004788e
cmp byte [esi], al
jne 0x1004788e
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x100fd7b0]
test al, al
jne 0x10047880
mov esi, dword [edi + 0x2e30]
not edx
mov ecx, dword [edi + 0x2e34]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 0x10054bf0
mov dword [ebp - 0x14], 0x10054c90
mov dword [ebp - 0x10], 0x10054d20
mov dword [ebp - 0xc], 0x10054df0
mov dword [ebp - 8], 0x10054f10
cmp esi, ecx
jne 0x1004797c
inc esi
test ecx, ecx
je 0x100478f3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100478f8
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1004797c
mov eax, dword [0x10123164]
test eax, eax
je 0x10047910
inc dword [eax + 0x374]
push dword [0x10123160]
lea eax, [esi + esi*8]
shl eax, 2
push eax
call fcn.10042450
mov ebx, eax
add esp, 8
mov eax, dword [edi + 0x2e38]
test eax, eax
je 0x10047970
mov ecx, dword [edi + 0x2e30]
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
push eax
push ebx
call fcn.100aa200
mov ecx, dword [edi + 0x2e38]
add esp, 0xc
test ecx, ecx
je 0x10047961
mov eax, dword [0x10123164]
test eax, eax
je 0x10047961
dec dword [eax + 0x374]
push dword [0x10123160]
push ecx
call fcn.10042460
add esp, 8
mov dword [edi + 0x2e38], ebx
mov dword [edi + 0x2e34], esi
mov eax, dword [edi + 0x2e30]
movups xmm0, xmmword [ebp - 0x24]
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x2e38]
movups xmmword [eax + ecx*4], xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x20], 0
inc dword [edi + 0x2e30]
mov byte [edi], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10048e30
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x10048e6d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x10048e53
cmp byte [esi], bl
jne 0x10048e53
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x100fd7b0]
test bl, bl
jne 0x10048e44
pop edi
pop esi
not ecx
pop ebx
jmp fcn.10048dc0
Function at 0x1004e550
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10123164]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1a18]
mov eax, dword [edi + 0xc4]
add edi, 0xc4
mov dword [ebp - 4], ecx
test eax, eax
jg 0x1004e58e
push 0x58d
push str.D:_aAmongUsMenuAmongUsMenuincludesimguiimgui.h
push str.Size___0
call fcn.100b210e
mov eax, dword [edi]
add esp, 0xc
mov ebx, dword [edi + 8]
lea edx, [ebp - 4]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x100fd7b0]
sub esi, 1
jne 0x1004e5a0
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x1004e5e9
inc ecx
test esi, esi
je 0x1004e5d5
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1004e5da
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100559f0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100b416f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100a9740
mov eax, dword [0x1011f124]
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.100c1c64
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100b41b1
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100b430d
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.100d16e0
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 + 0x10122ad8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.100c4967
mov ecx, dword [esi*4 + 0x10122ad8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x100b4306
cmp eax, dword [edi + ecx + 0x24]
jne 0x100b4306
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100b4306
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100c4967
add esp, 0x14
test edx, edx
jl 0x100b4306
jg 0x100b427c
test eax, eax
jb 0x100b4306
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x100b4306
jl 0x100b4296
cmp dword [ebp - 0x1008], eax
ja 0x100b4306
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x100b42b4
test ebx, ebx
je 0x100b42ed
cmp ecx, edi
jae 0x100b42ed
mov al, byte [ecx]
cmp al, 0xd
jne 0x100b42ce
lea eax, [edi - 1]
cmp ecx, eax
jae 0x100b42da
cmp byte [ecx + 1], 0xa
jne 0x100b42da
inc ecx
jmp 0x100b42da
movzx eax, al
movsx eax, byte [eax + 0x1011f3a0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x100b42b4
cmp edx, ebx
jne 0x100b42b4
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x100b430b
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100a83ea
leave
ret

Function at 0x100c25ff
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100c2581

Function at 0x100c369a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100c350b
Function at 0x100c49e3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
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 + 0x10122ad8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100c4a23
cmp byte [ebx], 0xa
jne 0x100c4a23
or byte [eax + edi + 0x28], 4
jmp 0x100c4a28
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x100c4b26
mov al, byte [edx]
cmp al, 0x1a
je 0x100c4b08
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x100c4a57
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x100c4a7c
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x100c4a86
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x100c4a39
jmp 0x100c4b26
push 0
lea eax, [ebp - 0xc]
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 0x100c4b03
cmp dword [ebp - 0xc], 0
je 0x100c4b03
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x10122ad8]
test byte [eax + edi + 0x28], 0x48
je 0x100c4add
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100c4ac8
mov byte [esi], dl
jmp 0x100c4ad9
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10122ad8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100c4b26
cmp byte [ebp - 1], 0xa
jne 0x100c4aec
cmp esi, ebx
jne 0x100c4aec
mov byte [esi], 0xa
jmp 0x100c4b25
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100c4985
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100c4b26
mov byte [esi], 0xd
jmp 0x100c4b25
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x10122ad8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100c4b22
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100c4b26
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100c4b2f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x10122ad8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100c4b72
cmp word [esi], dx
jne 0x100c4b72
or byte [edi + eax + 0x28], 4
jmp 0x100c4b77
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x100c4cca
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x100c4caa
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x100c4bb9
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100c4bef
cmp eax, edx
jae 0x100c4bfb
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
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 - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x100c4b91
jmp 0x100c4cca
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100c4ca6
cmp dword [ebp - 0x14], 0
je 0x100c4ca6
mov eax, dword [ebx*4 + 0x10122ad8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x100c4c7e
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x100c4c47
mov word [esi], cx
jmp 0x100c4c7a
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x10122ad8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x10122ad8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x10122ad8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x100c4cca
pop ebx
cmp word [ebp - 4], bx
jne 0x100c4c8f
cmp esi, dword [ebp + 0xc]
jne 0x100c4c8f
mov word [esi], bx
jmp 0x100c4cc7
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100c4985
add esp, 0x10
cmp word [ebp - 4], bx
je 0x100c4cca
push 0xd
jmp 0x100c4cc3
mov ecx, dword [ebx*4 + 0x10122ad8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100c4cc1
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100c4cca
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100c5844
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100e192c
push 0x100e1924
push str.FlsAlloc
push 0x1e
call fcn.100c5631
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100c5878
push dword [ebp + 8]
mov ecx, esi
call dword [0x100dc2c0]
call esi
jmp 0x100c587e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100c58c2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100e193c
push 0x100e1934
push str.FlsGetValue
push 0x20
call fcn.100c5631
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100c58f9
push dword [ebp + 8]
mov ecx, esi
call dword [0x100dc2c0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100ca0ec
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 0x100ca189
push ebx
push esi
call fcn.100ca0b5
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.100c88fc
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100ca136
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100ca188
push edi
push eax
call fcn.100c0d3b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100ca156
call fcn.100c0d01
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100ca187
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100c88fc
add esp, 0x20
test eax, eax
jne 0x100ca175
push edi
call fcn.100c0d01
jmp 0x100ca17d
push ebx
call fcn.100c0d01
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 0x100ca18c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100ca19d
pop esi
ret
push ebx
push edi
push esi
call fcn.100ca0b5
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100c0d3b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100ca1c5
push ebx
push esi
push edi
call fcn.100aa200
add esp, 0xc
push 0
call fcn.100c0d01
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100ca589
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100ca1da
Function at 0x100d0a11
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]
push dword [ebp + 0xc]
push ebx
call fcn.100d098d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100d0b89
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100d0b89
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100d0b38
jg 0x100d0a6a
test eax, eax
je 0x100d0b2e
push 1
push 0x1000
call fcn.100c33e3
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100d0a90
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x100d0b25
push 0x8000
push ebx
call fcn.100d08be
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100d0abc
jg 0x100d0ab7
cmp ecx, 0x1000
jb 0x100d0abc
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100c453e
add esp, 0x10
cmp eax, 0xffffffff
je 0x100d0b01
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 0x100d0ab7
jl 0x100d0ae8
test ecx, ecx
jne 0x100d0aa9
push dword [ebp - 0xc]
push ebx
call fcn.100d08be
push esi
call fcn.100c0d01
add esp, 0xc
xor edi, edi
jmp 0x100d0b9a
cmp byte [edi + 0x24], 0
je 0x100d0b18
cmp dword [edi + 0x20], 5
jne 0x100d0b18
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100d0b23
mov edi, dword [edi + 0x18]
jmp 0x100d0b25
xor edi, edi
push esi
call fcn.100c0d01
pop ecx
jmp 0x100d0b9a
test ecx, ecx
jg 0x100d0afa
jl 0x100d0b38
test eax, eax
jae 0x100d0afa
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100c4985
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100d0b5b
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100d0afa
jmp 0x100d0b92
push ebx
call fcn.100ce6aa
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100d0afa
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x100d0b9a
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100d0b97
mov edi, dword [edi + 0x18]
jmp 0x100d0b9a
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100c4985
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x20004760
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
push 1
push str.SeDebugPrivilege
mov dword [esp + 0x10], esi
call fcn.200104e0
mov eax, dword [esp + 0x14]
xor edi, edi
test eax, eax
jbe 0x200047d5
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [0x2001a19c]
mov eax, dword [edi + ebx]
push eax
push 0
push 0x1f0fff
call ebp
mov esi, eax
test esi, esi
je 0x200047ab
push 0
push esi
call dword [0x2001a148]
test eax, eax
jne 0x200047b9
mov ecx, dword [edi + ebx]
push 0
push ecx
call fcn.2000a980
add esp, 8
test esi, esi
je 0x200047c4
push esi
call dword [0x2001a30c]
mov eax, dword [esp + 0x1c]
add edi, 4
cmp edi, eax
jb 0x2000478b
mov esi, dword [esp + 0x10]
pop ebp
pop ebx
push 0
push str.SeDebugPrivilege
call fcn.200104e0
push 0x64
call dword [0x2001a304]
mov ecx, esi
call fcn.200112a0
mov ecx, esi
call fcn.20004110
pop edi
pop esi
pop ecx
ret 8

Function at 0x20009e10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
call fcn.2000c9a0
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 8]
or eax, 0xffffffff
test esi, esi
jbe 0x20009e45
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x200239f8]
xor eax, edx
inc ecx
dec esi
jne 0x20009e26
pop ebx
not eax
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x20009e61
push esi
push 0x20021510
push eax
call dword [0x2001a478]
add esp, 0xc
mov eax, esi
pop esi
ret
Function at 0x20009e70
Capabilities:
Enumerate devices by category

Disassembly:
push 0xffffffffffffffff
push 0x20019aab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x828
lea eax, [esp + 0x14]
push ebp
push eax
xor ebp, ebp
push 0x2001ddb8
push 1
push ebp
push 0x2001de48
mov byte [esp + 0x1b], 0
call dword [0x2001a608]
cmp eax, ebp
je 0x20009ec7
xor al, al
pop ebp
mov ecx, dword [esp + 0x828]
mov dword fs:[0], ecx
add esp, 0x834
ret
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x18]
lea edx, [esp + 8]
push ebp
push edx
mov ecx, dword [eax]
push 0x2001de38
push eax
mov dword [esp + 0x844], ebp
call dword [ecx + 0xc]
cmp eax, ebp
je 0x20009f1c
mov eax, dword [esp + 8]
mov dword [esp + 0x834], 0xffffffff
cmp eax, ebp
je 0x20009f04
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
pop ebp
mov ecx, dword [esp + 0x828]
mov dword fs:[0], ecx
add esp, 0x834
ret
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x10]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
cmp eax, ebp
jne 0x2000a02f
push ebx
mov ebx, dword [0x2001a28c]
push esi
mov esi, dword [esp + 0x844]
push edi
mov edi, dword [0x2001a13c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push 0x2001a880
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x2000a004
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push 0
mov word [esp + 0x2c], 8
mov ecx, dword [eax]
push edx
push str.FriendlyName
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x20009ffa
mov eax, dword [esp + 0x30]
push eax
call dword [0x2001a34c]
add esp, 4
test eax, eax
jbe 0x20009ffa
test esi, esi
je 0x20009ff6
mov edx, dword [esp + 0x30]
push 0
push 0
lea ecx, [esp + 0x40]
push 0x800
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
call ebx
lea eax, [esp + 0x38]
push 0x64
push eax
push esi
call dword [0x2001a348]
add esp, 0xc
push esi
call edi
push esi
lea ebp, [eax + ebp + 1]
call edi
mov ecx, dword [esp + 0x30]
lea esi, [esi + eax + 1]
push ecx
call dword [0x2001a3dc]
inc byte [esp + 0x13]
mov eax, dword [esp + 0x1c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0xc]
test eax, eax
je 0x20009f5a
pop edi
pop esi
pop ebx
mov eax, dword [esp + 0x840]
test eax, eax
je 0x2000a03c
mov dword [eax], ebp
mov eax, dword [esp + 8]
mov dword [esp + 0x834], 0xffffffff
test eax, eax
je 0x2000a055
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x82c]
mov al, byte [esp + 7]
pop ebp
mov dword fs:[0], ecx
add esp, 0x834
ret
Function at 0x2000c970
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ecx, 0x5f8
mov eax, esi
mov dl, byte [esi + 0xf]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec ecx
jne 0x2000c980
mov al, byte [esi]
mov cl, byte [esi + 0xe]
pop esi
cmp al, cl
pop ebx
jne 0x2000c99c
cmp al, 0x2b
jne 0x2000c99c
mov al, 1
ret
xor al, al
ret

Function at 0x2000c9a0
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
mov ecx, 0x200239f8
mov eax, edx
mov esi, 8
test al, 1
je 0x2000c9bc
shr eax, 1
xor eax, 0xedb88320
jmp 0x2000c9be
shr eax, 1
dec esi
jne 0x2000c9af
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x20023df8
jl 0x2000c9a8
pop esi
ret

Function at 0x2000cd40
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x20024190]
push ebx
push 0
push 0x80
push 4
push 0
push 3
add eax, 0xd
push 0x40000000
push eax
call dword [0x2001a200]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x2000cde3
push 0
push ebx
mov dword [esp + 0xc], 0
call dword [0x2001a210]
cmp eax, 0x3200000
jae 0x2000cd8f
push 2
push 0
push 0
push ebx
call dword [0x2001a218]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
push ebp
call dword [0x2001a13c]
mov edi, eax
push edi
call fcn.200196d0
add esp, 4
mov esi, eax
test edi, edi
jle 0x2000cdc0
mov ecx, ebp
mov ebp, edi
sub ecx, esi
mov dl, byte [ecx + eax]
xor dl, 0x44
mov byte [eax], dl
inc eax
dec ebp
jne 0x2000cdb4
lea eax, [esp + 0x10]
push 0
push eax
push edi
push esi
push ebx
call dword [0x2001a21c]
push ebx
call dword [0x2001a30c]
push esi
call fcn.20019690
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x2000e2b0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x20019958
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x2001a760
mov edi, dword [0x2001a1b0]
lea eax, [esi + 0x18]
push 0
push eax
mov dword [esp + 0x1c], 0
call edi
lea ecx, [esi + 0x10]
push 0
push ecx
call edi
mov edx, dword [esi + 0x2c]
mov edi, dword [0x2001a300]
push 0xffffffffffffffff
push edx
call edi
mov eax, dword [esi + 0x30]
push 0xffffffffffffffff
push eax
call edi
mov ecx, dword [esi + 0x2c]
mov edi, dword [0x2001a30c]
push ecx
call edi
mov edx, dword [esi + 0x30]
push edx
call edi
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x2000e327
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.2000af70
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret