joyce8/EMBER2024-capa huggingface dataset:
Function at 0x20006df0
Capabilities:
Enumerate devices by category

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x20019550
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push edi
mov edi, dword [esp + 0x34]
xor ebx, ebx
cmp edi, ebx
jge 0x20006e29
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov dword [esp + 8], ebx
lea eax, [esp + 8]
mov dword [esp + 0x2c], ebx
push eax
push 0x2001e0d0
push 1
push ebx
push 0x2001e160
call dword [0x2001a5f4]
cmp eax, ebx
je 0x20006e78
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x20006ec2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 8]
lea ecx, [esp + 0x34]
push ebx
push ecx
mov edx, dword [eax]
push 0x2001e150
push eax
mov byte [esp + 0x3c], 1
call dword [edx + 0xc]
cmp eax, ebx
je 0x20006ed7
mov eax, dword [esp + 0x34]
mov byte [esp + 0x2c], bl
cmp eax, ebx
je 0x20006eac
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x20006ec2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov eax, dword [esp + 0x34]
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push edx
push 1
push eax
xor esi, esi
call dword [ecx + 0xc]
cmp edi, ebx
jl 0x20006f96
push ebp
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
push 0x2001e080
mov ecx, dword [eax]
push ebx
push ebx
push eax
call dword [ecx + 0x24]
cmp eax, ebx
jl 0x20006f6c
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x1c]
push ebx
mov word [esp + 0x20], 8
mov ecx, dword [eax]
push edx
push 0x20021730
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jne 0x20006f62
cmp esi, edi
jne 0x20006f57
mov eax, dword [esp + 0x14]
push ebp
push 0x2001e0c0
push ebx
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x20]
mov edx, dword [esp + 0x24]
push edx
call dword [0x2001a3dc]
mov eax, dword [esp + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x18]
mov ecx, dword [eax]
push edx
push 1
push eax
inc esi
call dword [ecx + 0xc]
cmp esi, edi
jle 0x20006f07
pop ebp
mov eax, dword [esp + 0x38]
mov byte [esp + 0x30], bl
cmp eax, ebx
pop esi
je 0x20006fa9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x20006fbf
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x24]
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x20008490
Capabilities:
Delete file

Disassembly:
sub esp, 0x10
mov eax, 4
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp]
push eax
push 0x20021910
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.OLEAUT32.dll_VariantInit]
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0x20021908
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp]
push edx
call dword [0x2001a00c]
mov eax, dword [esp + 0xc]
add esp, 0x10
ret

Function at 0x200088f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x808
lea eax, [esp + 0x10c]
push ebx
push esi
push edi
push 0x104
push eax
call dword [0x2001a1f8]
lea edi, [esp + 0x118]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x20021218
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
call dword [0x2001a16c]
lea edx, [esp + 0x14]
push edx
call dword [0x2001a130]
lea ebx, [esp + eax + 0x14]
mov eax, dword [0x20022410]
or ecx, 0xffffffff
push ebx
lea edi, [eax + 0x10]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.20003430
mov edi, 0x20021958
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x80
push 4
mov ecx, edx
push eax
push eax
and ecx, 3
lea eax, [esp + 0x28]
push 2
rep movsb byte es:[edi], byte [esi]
push eax
call dword [0x2001a1c0]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x20008a91
mov esi, dword [0x20022410]
mov ecx, 0x17e
lea edi, [esp + 0x21c]
push 0
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x220]
call dword [0x2001a394]
push eax
call dword [0x2001a398]
mov edi, dword [0x2001a39c]
add esp, 8
call edi
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x2001aa50]
call fcn.200192b0
test al, al
je 0x20008a01
mov ecx, 0x5f8
mov dl, byte [esi]
xor dl, al
mov byte [esi], dl
inc esi
dec ecx
jne 0x20008a1f
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x224]
push 0x5f8
push edx
push ebx
call dword [0x2001a1dc]
push ebx
call dword [0x2001a164]
mov edi, 0x20021948
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x118]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x11c]
push ecx
call fcn.2000a000
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x808
ret
Function at 0x20009620
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x200247d0]
push ebx
push 0
push 0x80
push 4
push 0
push 3
add eax, 0xd
push 0x40000000
push eax
call dword [0x2001a1c0]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x200096c3
push 0
push ebx
mov dword [esp + 0xc], 0
call dword [0x2001a1d0]
cmp eax, 0x3200000
jae 0x2000966f
push 2
push 0
push 0
push ebx
call dword [0x2001a1d8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
push ebp
call dword [0x2001a130]
mov edi, eax
push edi
call fcn.2001929c
add esp, 4
mov esi, eax
test edi, edi
jle 0x200096a0
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 0x20009694
lea eax, [esp + 0x10]
push 0
push eax
push edi
push esi
push ebx
call dword [0x2001a1dc]
push ebx
call dword [0x2001a164]
push esi
call fcn.20019296
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x2000ac90
Capabilities:
Terminate process

Disassembly:
sub esp, 0x210
mov eax, 0x100
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x2000acb1
add esp, 0x210
ret
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
lea ecx, [esp + 0x114]
push edx
push ecx
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
push ecx
push eax
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
jne 0x2000ace1
add esp, 0x210
ret
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x2000acf7
add esp, 0x210
ret
push esi
push 0x200210c0
call dword [0x2001a14c]
mov esi, eax
push 0x200210a8
push esi
call dword [0x2001a120]
test eax, eax
je 0x2000ad21
lea ecx, [esp + 4]
lea edx, [esp + 0x14]
push ecx
push edx
call eax
push esi
call dword [0x2001a148]
mov eax, dword [esp + 4]
pop esi
add esp, 0x210
ret

Function at 0x2000c1f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push ecx
mov dword [ebp - 4], 1
call fcn.20001920
add esp, 8
nop
xor ecx, ecx
test eax, eax
jle 0x2000c244
push ebx
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
add bl, 0x7a
mov byte [ecx + edx], bl
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
xor bl, 0x5f
mov byte [ecx + edx], bl
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
xor bl, 0x46
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x2000c213
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x2000d170
Capabilities:
Encode data using xor

Disassembly:
push esi
call fcn.20012db0
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 8]
or eax, 0xffffffff
test esi, esi
jbe 0x2000d1a5
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 + 0x20023aa0]
xor eax, edx
inc ecx
dec esi
jne 0x2000d186
pop ebx
not eax
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x2000d1c1
push esi
push 0x20021674
push eax
call dword [0x2001a494]
add esp, 0xc
mov eax, esi
pop esi
ret

Function at 0x2000fb90
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x20019708
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], 0x2001aafc
mov edi, dword [0x2001a2b8]
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 [0x2001a1ec]
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 [0x2001a164]
push ecx
call edi
mov edx, dword [esi + 0x30]
push edx
call edi
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x2000fc07
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.20013930
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x2000fdf0
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [0x2002188c]
sub esp, 0x20c
cmp eax, 0xffffffff
je 0x2000fe07
push eax
call dword [0x2001a164]
push esi
mov esi, dword [0x2001a18c]
push 0x20024008
call esi
mov eax, dword [0x20024468]
mov byte [0x20024349], 1
test eax, eax
je 0x2000fe2e
push 0xffffffffffffffff
push eax
call dword [0x2001a1ec]
mov eax, 0x20024120
test eax, eax
je 0x2000fe3a
push eax
call esi
push edi
mov edi, dword [0x2001a134]
lea ecx, [esp + 0xc]
push 0x20024240
push ecx
call edi
mov edx, dword [0x2002122c]
push 0x20024240
lea eax, [esp + 0x114]
push edx
push eax
call dword [0x2001a494]
lea ecx, [esp + 0x18]
push 0x20022048
push ecx
call fcn.20009520
lea edx, [esp + 0x20]
push edx
call fcn.2000d220
add esp, 0x18
test al, al
je 0x2000fee0
push 1
push 0x200212f8
call fcn.20006780
push 1
push 0x200212e4
call fcn.20006780
lea eax, [esp + 8]
lea ecx, [esp + 0x110]
push eax
push 0xf003f
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push 8
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [esp + 0xc]
push ecx
call esi
mov byte [0x2002446c], 0
jmp 0x2000fee7
mov byte [0x2002446c], 1
push 4
push 0
push 0x20024008
call dword [0x2001a2dc]
mov edx, dword [0x20022410]
lea eax, [esp + 0xc]
add edx, 0x10
push edx
push eax
call edi
lea ecx, [esp + 0xc]
push 0x20021f68
push ecx
call fcn.2000ac00
add esp, 8
lea edx, [esp + 0xc]
push edx
call esi
call fcn.20015320
mov esi, eax
mov al, byte [0x2002446c]
test al, al
pop edi
je 0x2000ff7e
push 0
push esi
call fcn.20003430
add esp, 8
cmp eax, 0xbca43352
je 0x2000ff59
mov eax, dword [0x20021258]
push 0
push 0x20024240
push esi
push eax
call fcn.20001000
add esp, 0x10
mov al, byte [0x2002446c]
test al, al
je 0x2000ff7e
test byte [0x2002410c], 0x10
je 0x2000ff7e
lea ecx, [esp + 0x10c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [0x2001a408]
push 0
push 5
push 7
call fcn.20014e80
mov al, byte [0x2002446c]
add esp, 0xc
test al, al
pop esi
je 0x2000ffa3
push 0x20024240
call fcn.20006c80
add esp, 4
push 0
push 0
push 1
call fcn.20014e80
mov edx, dword [0x20024238]
add esp, 0xc
push edx
call dword [0x2001a234]
add esp, 0x20c
ret
Function at 0x20011400
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x200196f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.20010140
xor ebx, ebx
push 0x134
mov dword [esp + 0x18], ebx
mov dword [esi], 0x2001aafc
mov byte [esi + 0x1c], 1
mov dword [esi + 0x28], 8
call fcn.2001929c
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x14], 1
je 0x20011467
push 0x64
push ebx
push 8
mov ecx, eax
call fcn.2000a4b0
jmp 0x20011469
xor eax, eax
push 1
push ebx
push ebx
push esi
push 0x20008aa0
push ebx
push ebx
mov byte [esp + 0x30], bl
mov dword [esi + 0x34], eax
mov dword [esi + 0x10], 1
mov dword [esi + 0x18], ebx
mov byte [esi + 0x14], bl
mov byte [esi + 0x24], bl
call fcn.2000cce0
push 1
push ebx
push ebx
push esi
push 0x200098e0
push ebx
push ebx
mov dword [esi + 0x2c], eax
call fcn.2000cce0
mov ecx, dword [esp + 0x44]
add esp, 0x38
mov dword [esi + 0x30], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x20012db0
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
mov ecx, 0x20023aa0
mov eax, edx
mov esi, 8
test al, 1
je 0x20012dcc
shr eax, 1
xor eax, 0xedb88320
jmp 0x20012dce
shr eax, 1
dec esi
jne 0x20012dbf
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x20023ea0
jl 0x20012db8
pop esi
ret

Function at 0x20013160
Capabilities:
Delete file
Get file attributes

Disassembly:
sub esp, 0x14
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x20]
push esi
xor esi, esi
push esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_OpenThread]
test eax, eax
je 0x20013190
xor eax, eax
pop esi
add esp, 0x14
ret
push ebp
mov ebp, dword [esp + 0x30]
cmp ebp, esi
push edi
jne 0x20013252
xor eax, eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xd], eax
push 0xa
mov dword [esp + 0x15], eax
push ecx
mov dword [esp + 0x1d], eax
mov byte [esp + 0x14], 0
mov dword [esp + 0x21], eax
mov word [esp + 0x25], ax
mov byte [esp + 0x27], al
call fcn.2000b800
add esp, 8
push 1
push 0x200212f8
call fcn.20006780
push 1
push 0x200212e4
call fcn.20006780
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
push 0xf003f
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xc]
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esp + 0x30]
mov edi, dword [0x2001a00c]
push ecx
call edi
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0xc]
push 8
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
lea ecx, [esp + 0xc]
neg esi
sbb esi, esi
push ecx
inc esi
call dword [0x2001a18c]
mov eax, dword [esp + 0x2c]
push eax
call edi
pop edi
mov eax, esi
pop ebp
pop esi
add esp, 0x14
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x24]
push ebx
push edx
push 0x20019
push esi
push eax
push ecx
mov dword [esp + 0x48], esi
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov eax, dword [esp + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x34]
push edx
push esi
push esi
push esi
push ebp
push eax
call ebx
test eax, eax
jne 0x200132e0
mov ecx, dword [esp + 0x34]
add ecx, 2
push ecx
call fcn.2001929c
mov ecx, dword [esp + 0x2c]
add esp, 4
lea edx, [esp + 0x34]
mov edi, eax
push edx
lea eax, [esp + 0x30]
push edi
push eax
push 0
push ebp
push ecx
call ebx
test eax, eax
jne 0x200132d7
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push edx
push edi
push eax
push 0
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
mov esi, eax
neg esi
sbb esi, esi
inc esi
push edi
call fcn.20019296
add esp, 4
mov edx, dword [esp + 0x28]
mov edi, dword [0x2001a00c]
push edx
call edi
mov eax, dword [esp + 0x30]
pop ebx
push eax
call edi
pop edi
mov eax, esi
pop ebp
pop esi
add esp, 0x14
ret
Function at 0x200147a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x108
mov eax, dword [0x20022410]
push ebx
push ebp
mov ebp, ecx
add eax, 0x10
push esi
lea ecx, [esp + 0x10]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x14], esi
call dword [0x2001a134]
lea edx, [esp + 0x10]
push 0x20021f68
push edx
call fcn.20009520
add esp, 8
lea eax, [esp + 0x10]
push esi
push 0x80
push 3
push esi
push 3
push SysReAllocString
push eax
call dword [0x2001a1c0]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x2001485d
push edi
push esi
push ebx
call dword [0x2001a1d0]
mov edi, eax
push edi
call dword [0x2001a360]
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
push 0
push ecx
push edi
push esi
push ebx
call dword [0x2001a1cc]
xor eax, eax
test edi, edi
jbe 0x20014834
mov cl, byte [eax + esi]
xor cl, 0x44
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x20014826
push edi
push esi
mov ecx, ebp
call sym.crtdll.dll__beginthread
push esi
mov edi, eax
call dword [0x2001a35c]
add esp, 4
push ebx
call dword [0x2001a164]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret

Function at 0x20014d40
Capabilities:
Enumerate process modules

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.PSAPI.DLL_EnumProcessModules]
push esi
lea eax, [esp + 0x10]
push edi
mov edi, dword [esp + 0x14]
push eax
push 0
push 0
push 1
push edi
xor bl, bl
call ebp
call dword [0x2001a128]
cmp eax, 0x7a
jne 0x20014dba
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x20014dba
push eax
call fcn.2001929c
mov edx, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x14]
mov esi, eax
push ecx
push edx
push esi
push 1
push edi
call ebp
mov eax, dword [esi]
test eax, eax
je 0x20014dad
push 0x18f
push eax
mov eax, dword [esp + 0x20]
add eax, 0x12c
push eax
call dword [0x2001a37c]
add esp, 0xc
mov bl, 1
test esi, esi
je 0x20014dba
push esi
call fcn.20019296
add esp, 4
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret 8
Function at 0x20015120
Capabilities:
Enumerate devices by category

Disassembly:
push 0xffffffffffffffff
push 0x2001950b
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 0x2001e0d0
push 1
push ebp
push 0x2001e160
mov byte [esp + 0x1b], 0
call dword [0x2001a5f4]
cmp eax, ebp
je 0x20015177
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 0x2001e150
push eax
mov dword [esp + 0x844], ebp
call dword [ecx + 0xc]
cmp eax, ebp
je 0x200151cc
mov eax, dword [esp + 8]
mov dword [esp + 0x834], 0xffffffff
cmp eax, ebp
je 0x200151b4
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 0x200152df
push ebx
mov ebx, dword [0x2001a150]
push esi
mov esi, dword [esp + 0x844]
push edi
mov edi, dword [0x2001a130]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push 0x2001e080
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x200152b4
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push 0
mov word [esp + 0x2c], 8
mov ecx, dword [eax]
push edx
push 0x20021730
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x200152aa
mov eax, dword [esp + 0x30]
push eax
call dword [0x2001a358]
add esp, 4
test eax, eax
jbe 0x200152aa
test esi, esi
je 0x200152a6
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 [0x2001a37c]
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 0x2001520a
pop edi
pop esi
pop ebx
mov eax, dword [esp + 0x840]
test eax, eax
je 0x200152ec
mov dword [eax], ebp
mov eax, dword [esp + 8]
mov dword [esp + 0x834], 0xffffffff
test eax, eax
je 0x20015305
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 0x20015770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x114
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0x11c]
push ebp
push esi
cmp ebx, ecx
push edi
je 0x2001587d
mov eax, dword [ebx + 0x3c]
mov ebp, dword [esp + 0x12c]
add eax, ebx
mov dword [esp + 0x10], ecx
mov esi, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
add esi, ebx
mov dword [esp + 0x1c], eax
test ebp, 0x80000000
jne 0x2001581b
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
add eax, ebx
cmp edx, ecx
mov dword [esp + 0x18], ecx
jbe 0x20015839
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
push 0
mov edi, dword [ecx]
add edi, ebx
push edi
call sym.crtdll.dll__baseversion_dll
add esp, 4
push eax
push edi
call fcn.2000d170
and eax, 0x7fffffff
add esp, 0xc
cmp eax, ebp
je 0x20015806
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x18]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jb 0x200157c3
jmp 0x20015839
mov edx, dword [esi + 0x24]
mov eax, dword [esp + 0x18]
lea ecx, [edx + eax*2]
mov dx, word [ecx + ebx]
mov word [esp + 0x10], dx
jmp 0x20015839
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov eax, ebp
add edx, ecx
and eax, 0xffff
cmp eax, edx
jae 0x2001587d
cmp eax, ecx
jb 0x2001587d
sub bp, cx
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x1c]
and eax, 0xffff
lea edx, [ecx + eax*4]
mov eax, dword [edx + ebx]
add eax, ebx
je 0x2001587f
cmp eax, esi
jb 0x2001587f
mov ecx, dword [esp + 0x1c]
add ecx, esi
cmp eax, ecx
jae 0x2001587f
mov dl, byte [eax]
xor ecx, ecx
test dl, dl
mov esi, eax
je 0x2001587d
lea edx, [esp + 0x20]
sub edx, eax
mov al, byte [esi]
inc ecx
mov byte [edx + esi], al
inc esi
cmp al, 0x2e
je 0x2001588a
cmp byte [esi], 0
jne 0x2001586d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
test ecx, ecx
jle 0x2001587d
mov byte [esp + ecx + 0x20], 0x64
inc ecx
mov al, 0x6c
lea edx, [esp + 0x20]
mov byte [esp + ecx + 0x20], al
inc ecx
push edx
mov byte [esp + ecx + 0x24], al
mov byte [esp + ecx + 0x25], 0
call fcn.20006760
add esp, 4
lea eax, [esp + 0x20]
push eax
call fcn.200020e0
push 0
push esi
mov edi, eax
call sym.crtdll.dll__baseversion_dll
add esp, 4
push eax
push esi
call fcn.2000d170
and eax, 0x7fffffff
push eax
push edi
call fcn.20015770
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret