joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414075
Capabilities:
Get disk information

Disassembly:
mov eax, 0x41f3cf
call sub.msvcrt.dll__EH_prolog
sub esp, 0x45c
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
xor esi, esi
push eax
inc esi
push 0x4243fc
lea ecx, [ebp + 0x70]
mov dword [ebp - 4], esi
call fcn.0040e79b
push eax
call sub.msvcrt.dll_strtok_s
add esp, 0xc
xor ebx, ebx
push ebx
push 0x424400
lea ecx, [ebp + 0x64]
mov dword [ebp - 0x10], eax
xor edi, edi
mov dword [ebp - 0x14], ebx
call fcn.0040e79b
push eax
call dword [0x63d098]
test eax, eax
je 0x4140cd
mov edi, esi
push ebx
push 0x424410
lea ecx, [ebp + 0x64]
call fcn.0040e79b
push eax
call dword [0x63d098]
test eax, eax
je 0x4140eb
mov edi, esi
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x10]
jmp 0x41426a
cmp edi, ebx
je 0x4141fd
lea eax, [ebp - 0x80]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea esi, [ebp - 0x80]
cmp byte [ebp - 0x80], bl
je 0x414255
push 0x3e8
lea eax, [ebp - 0x468]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp dword [ebp - 0x14], ebx
je 0x414157
cmp eax, 2
jne 0x414157
lea ecx, [ebp + 0x64]
call fcn.0040e79b
push eax
lea eax, [ebp - 0x468]
push eax
call dword [0x63d1a8]
push esi
push str._DRIVE_REMOVABLE_
jmp 0x414173
lea ecx, [ebp + 0x64]
call fcn.0040e79b
push eax
lea eax, [ebp - 0x468]
push eax
call dword [0x63d1a8]
push esi
push str._DRIVE_FIXED_
lea eax, [ebp - 0x468]
push eax
call fcn.0040fbb0
add esp, 0xc
push eax
lea eax, [ebp - 0x468]
push eax
call dword [0x63d1a8]
push ebx
push dword [ebp + 0x88]
lea eax, [ebp - 0x468]
push edi
push dword [ebp + 0x84]
lea ecx, [ebp + 0x58]
push dword [ebp + 0x80]
push ebx
push dword [ebp + 0x7c]
push dword [ebp - 0x10]
push eax
call fcn.0040e79b
push eax
push 0x4241a3
lea ecx, [ebp + 0x8c]
call fcn.0040e79b
push eax
sub esp, 0x50
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.0040117e
call fcn.00413ca3
add esp, 0x80
push esi
call dword [0x63d020]
lea esi, [esi + eax + 1]
cmp byte [esi], bl
jne 0x414113
jmp 0x414255
push ebx
push dword [ebp + 0x88]
lea ecx, [ebp + 0x64]
push ebx
push dword [ebp + 0x84]
push dword [ebp + 0x80]
push ebx
push dword [ebp + 0x7c]
push eax
call fcn.0040e79b
push eax
lea ecx, [ebp + 0x58]
call fcn.0040e79b
push eax
push 0x4241a6
lea ecx, [ebp + 0x8c]
call fcn.0040e79b
push eax
sub esp, 0x50
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.0040117e
call fcn.00413ca3
add esp, 0x80
lea eax, [ebp - 0x18]
push eax
push 0x424448
push ebx
call sub.msvcrt.dll_strtok_s
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x4140f3
push 4
lea eax, [ebp - 0x10]
push eax
call fcn.0040f78b
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0040113a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x58]
call fcn.004115c2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x418e89
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b1b0]
jne 0x418e93
repz ret
jmp fcn.0041bb7f
Function at 0x10184bec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101a6b00]
jne 0x10184bf6
repz ret
jmp fcn.10184e9d

Function at 0x1018554b
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101a6ae8], 0
mov byte [0x101a6aec], 0
mov edi, dword [0x101a6ae0]
add edi, 0x1248
mov dword [0x101a6adc], edi
mov dword [0x101a6ae4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101855ac
mov dword [0x101a6adc], 0x23eb
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101a6adc], 0xa1e
mov eax, dword [0x101a6ae4]
add eax, 1
mov dword [0x101a6ae4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101855ac
mov eax, dword [0x101a6ae0]
add eax, 0x101c
mov dword [0x101a6adc], eax
xor eax, eax
mov dword [0x101a6ae4], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101a6af0], 0
mov dword [0x101a6adc], 0x1dfc
mov edi, dword [0x101a6ae8]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101a6af0], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x101a6ae8], edx
mov dword [0x101a6adc], 0x3326
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101a6aec], cl
mov dword [0x101a6adc], 0x118d
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x101a6aec]
mov esi, dword [0x101a6ae8]
mov byte [ebx + esi], cl
mov dword [0x101a6adc], 0x24c0
mov esi, dword [0x101a6ae4]
add esi, 1
mov dword [0x101a6ae4], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x101855fa
jmp 0x1018559a
Function at 0x10185aba
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101a6ae0], 0xfdc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x10185b3c
mov eax, dword [ebp - 0x34]
add esp, 0x54
pop esi
pop ebp
ret
lea eax, [ebp - 0x24]
mov dword [0x101a6adc], 0x813
mov dword [0x101a6ae0], 0xfffff9e4
mov dword [ebp - 0x38], eax
call fcn.1018698c
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.10185298
mov dword [0x101a6adc], 0x7b6
cmp eax, 0
sete cl
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x3d], cl
xor eax, eax
mov cl, byte [ebp - 0x3d]
test cl, 1
mov dword [ebp - 0x34], eax
jne 0x10185ade
jmp 0x10185b64
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x10187150]
mov dl, byte [eax + 0x10187121]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
je 0x10185ae7
jmp 0x10185b3c
mov eax, dword [ebp - 0x3c]
mov dword [0x101a6ae0], 0x14b6
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x101a6ae0], 0x1f02
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.10185424
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101a6adc], 0x1cb
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x101a6ae0], 0x19c8
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x30], ecx
mov ecx, dword [0x101a6ae0]
add ecx, 0xfffffc67
mov dword [0x101a6ae0], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x4c], ecx
mov esi, dword [0x101a6adc]
add esi, 0xfffff830
mov dword [0x101a6adc], esi
cmp ecx, 0
mov dword [ebp - 0x34], eax
je 0x10185ade
mov eax, dword [ebp - 0x44]
add eax, 0x19eb
mov dword [ebp - 0x48], eax
mov dword [0x101a6ae0], 0x25ea
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
jmp 0x10185ade
Function at 0x10185d27
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x101a6adc], 0x1c34
mov dword [0x101a6ae0], 0x1ed1
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.101856b4
lea ecx, [0x1018598c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x54], edx
mov dword [esp + 0x5c], 0x15c200
mov edx, dword [0x101a6ac8]
mov dword [esp + 0x44], edx
mov edx, dword [0x101a6acc]
mov dword [esp + 0x88], edx
mov edx, dword [0x101a6ad0]
mov dword [esp + 0x48], edx
mov edx, dword [0x101a6ad4]
mov dword [esp + 0x40], edx
mov edx, dword [0x101a6ad8]
mov dword [esp + 0x58], edx
mov dword [0x101a6adc], 0x2ba
mov dword [0x101a6ae0], 0xffffe8fe
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x10185de0
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x101a6adc], 0xfffff2fa
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x10185dc4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], ecx
jne 0x10185dc4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov dword [0x101a6ae0], 0x1c0b
mov dword [0x101a6adc], 0x81b
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x50], edx
call fcn.101865f6
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
jne 0x10185e8b
lea eax, [esp + 0x38]
mov ecx, dword [0x101a6adc]
add ecx, 0xffffe20a
mov dword [0x101a6ae0], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10185aba
mov dword [esp + 0xc], eax
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [eax], ecx
mov eax, dword [esp + 0xc]
call eax
sub esp, 4
mov eax, 2
mov dword [0x101a6ae0], 0x1693
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x10185f5e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [0x101a6adc]
mov dword [0x101a6ae4], 0
mov dword [0x101a6ae8], 0
mov dword [0x101a6af4], 0
mov ebx, edi
add ebx, 0xffffe517
mov dword [0x101a6ae0], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
je 0x10186128
jmp 0x101860de
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov edi, 0xc10
mov ebx, 0x100
mov dword [0x101a6ae0], ecx
mov dword [0x101a6adc], 0x14b6
add edx, 1
mov dword [ebp - 0x38], eax
mov eax, edx
cdq
idiv ebx
mov dword [0x101a6ae4], edx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + edx]
add ecx, esi
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
idiv ebx
mov dword [0x101a6ae8], edx
mov dword [0x101a6adc], 0x44
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x101a6aec], cl
mov dword [0x101a6adc], 0xe50
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101a6aec]
mov edx, dword [0x101a6ae8]
mov byte [ebx + edx], cl
mov edx, dword [0x101a6adc]
mov ecx, edx
add ecx, 0xb7f
mov dword [0x101a6ae0], ecx
mov ecx, dword [0x101a6ae4]
movzx ecx, byte [ebx + ecx]
mov esi, dword [0x101a6ae8]
movzx esi, byte [ebx + esi]
add esi, ecx
mov dword [0x101a6ae0], 0x10dd
and esi, 0xff
mov dword [0x101a6af4], esi
add edx, 0xffffe052
mov dword [0x101a6adc], edx
mov cl, byte [ebx + esi]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x38]
mov ch, byte [edx + esi]
mov dword [0x101a6ae0], 0xfffffdd5
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov dword [0x101a6adc], 0xc10
add esi, 1
mov edx, dword [ebp - 0x10]
cmp esi, edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x24], edi
je 0x10186128
jmp 0x101860fe
xor eax, eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffff5ed
mov edx, eax
mov esi, eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x28], eax
jmp 0x10185fc9
mov eax, dword [0x101a6ae4]
mov dword [ebp - 0x44], eax
mov eax, 0x1fd
mov ecx, dword [0x101a6ae8]
mov edx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
jmp 0x10185fc9
mov eax, dword [ebp - 0x24]
add eax, 0xffffdbf0
mov dword [0x101a6ae0], eax
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101861ae
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [ebp + 8]
mov dword [0x101a6adc], 0x18c8
mov dword [ebp - 0x10], eax
call fcn.101850f0
mov ecx, eax
mov dword [0x101a6ae0], 0x1c0b
mov edx, dword [0x101a6adc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x3c]
mov esi, dword [ebp - 0x18]
add esi, edx
mov edi, dword [ebp - 0x1c]
add edi, 0xffffdc58
mov dword [0x101a6adc], edi
mov edi, dword [ebp - 0x18]
cmp dword [edi + edx], 0x4550
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
je 0x101862b5
jmp 0x10186261
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
add ecx, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
jmp 0x101862cd
mov eax, dword [ebp - 0x34]
add eax, 1
mov cl, byte [ebp - 0x35]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x36]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x101862e7
jmp 0x10186314
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov dword [0x101a6ae0], 0x19b0
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 0x18]
add edx, dword [edx + eax + 0x20]
mov esi, dword [ebp - 0x18]
mov edi, dword [esi + eax + 0x24]
mov dword [0x101a6adc], 0x56b
mov ebx, dword [esi + eax + 0x18]
cmp ebx, 0
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x4c], ecx
jne 0x1018621b
mov eax, dword [ebp - 0x4c]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov dword [0x101a6adc], 0x81b
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x24], eax
jmp 0x10186261
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x48]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x5c]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x35], bh
mov byte [ebp - 0x36], cl
jne 0x10186230
mov al, byte [ebp - 0x36]
test al, 1
jne 0x10186351
jmp 0x1018631d
mov eax, dword [ebp - 0x58]
add eax, 2
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], ecx
xor eax, eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x40]
cmp ecx, edx
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x2c], esi
jb 0x101862cd
jmp 0x101862aa
mov eax, dword [ebp - 0x58]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x44]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101a6adc], 0x44e
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x68]
add eax, ecx
mov dword [0x101a6ae0], 0x1186
mov dword [ebp - 0x4c], eax
jmp 0x101862aa
Function at 0x101865f6
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [0x101a6adc], 0x9d2
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x3c]
mov dword [0x101a6adc], 0x2420
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x10186674
mov dword [0x101a6ae0], 0xffffe35a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0x104
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], ecx
jl 0x10186674
jmp 0x1018668a
mov dword [0x101a6ae0], 0x18b8
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x10186753
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], edx
jne 0x10186636
mov eax, dword [ebp - 0x1c]
mov dword [0x101a6adc], 0x568
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
jne 0x10186660
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10186660
mov dword [0x101a6adc], 0x23ba
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
mov dx, word [eax + ecx*2 - 0x16]
mov word [ebp - 0x26], dx
mov ax, word [ebp - 0x26]
cmp ax, 0x61
jne 0x10186660
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10186660
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff7
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp word [eax], 0x64
jne 0x10186660
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10186660
mov eax, dword [0x101a6ae0]
add eax, 0x1815
mov dword [0x101a6ae0], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0xe], 0x6c
jne 0x10186660
mov eax, 1
mov dword [0x101a6adc], 0x263b
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add esp, 0x2c
pop ebp
ret
Function at 0x40ccc0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549645
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5ba200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0xf01ff
call dword [0x553414]
push eax
call dword [0x553040]
test eax, eax
jne 0x40cd1c
xor esi, esi
jmp 0x40ce5c
test edi, edi
mov dword [ebp - 0x14], 0
lea esi, [ebp - 0x14]
xorps xmm0, xmm0
cmovne esi, edi
movlpd qword [ebp - 0x20], xmm0
push 0x94
mov dword [ebp - 0x24], esi
mov dword [esi], 0x94
call fcn.0053659c
mov edi, eax
mov dword [ebp - 0x1c], 0x94
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 1
push dword [esi]
call fcn.0053659c
push dword [esi]
mov ebx, eax
push 0
push edi
call fcn.00537cf0
mov esi, dword [0x5530f4]
lea eax, [edi + 4]
add esp, 0x14
mov dword [edi], 9
push eax
push str.SeRestorePrivilege
push 0
call esi
lea eax, [edi + 0x10]
push eax
push str.SeBackupPrivilege
push 0
call esi
lea eax, [edi + 0x1c]
push eax
push str.SeDebugPrivilege
push 0
call esi
lea eax, [edi + 0x28]
push eax
push str.SeSecurityPrivilege
push 0
call esi
lea eax, [edi + 0x34]
push eax
push str.SeTakeOwnershipPrivilege
push 0
call esi
lea eax, [edi + 0x40]
push eax
push str.SeImpersonatePrivilege
push 0
call esi
lea eax, [edi + 0x4c]
push eax
push str.SeSystemProfilePrivilege
push 0
call esi
lea eax, [edi + 0x58]
push eax
push str.SeShutdownPrivilege
push 0
call esi
lea eax, [edi + 0x64]
push eax
push str.SeIncreaseQuotaPrivilege
push 0
call esi
lea eax, [edi + 0x70]
push eax
push str.SeAssignPrimaryTokenPrivilege
push 0
call esi
lea eax, [edi + 0x7c]
push eax
push str.SeTcbPrivilege
push 0
call esi
lea eax, [edi + 0x88]
push eax
push str.SeTrustedCredManAccessPrivilege
push 0
call esi
lea eax, [edi + 0xc]
mov ecx, 0xc
nop
mov dword [eax], 2
lea eax, [eax + 0xc]
sub ecx, 1
jne 0x40ce20
mov eax, dword [ebp - 0x24]
push eax
push ebx
push dword [eax]
push edi
push ecx
push dword [ebp - 0x18]
call dword [0x5530ec]
test eax, eax
jne 0x40ce51
push ebx
xor esi, esi
call fcn.00535f93
add esp, 4
jmp 0x40ce53
mov esi, ebx
push edi
call fcn.00535f93
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xffffffff
je 0x40ce6f
test ecx, ecx
je 0x40ce6f
push ecx
call dword [0x5532f4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00535f85
mov esp, ebp
pop ebp
ret
Function at 0x441a10
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5ba200]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 8], ebx
push edi
mov edi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
je 0x441af7
mov ecx, dword [esi + 0x3c]
mov eax, ecx
test ecx, ecx
je 0x441a58
cmp dword [esi + 0x40], ebx
jae 0x441a58
push ecx
call fcn.00535f93
add esp, 4
mov dword [esi + 0x3c], 0
jmp 0x441a5c
test eax, eax
jne 0x441a6e
lea eax, [ebx + ebx]
push eax
call fcn.0053659c
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebx
push ebx
push edi
push eax
call fcn.00537770
xor edx, edx
add esp, 0xc
mov dword [ebp - 0xc], edx
test ebx, ebx
je 0x441af4
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x30]
mov bl, byte [edx + eax]
mov edx, dword [esi + 0x38]
mov edi, edx
movsx eax, bl
and edi, 0xfffd
xor eax, ecx
or edi, 2
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x5a6598]
movzx eax, cl
add eax, dword [esi + 0x34]
imul eax, eax, 0x8088405
mov dword [esi + 0x30], ecx
mov ecx, edi
xor ecx, 1
imul ecx, edi
inc eax
mov dword [esi + 0x34], eax
shr eax, 0x18
xor eax, edx
shr ecx, 8
movzx eax, al
xor cl, bl
mov ebx, dword [ebp - 8]
shr edx, 8
xor edx, dword [eax*4 + 0x5a6598]
mov dword [esi + 0x38], edx
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x3c]
mov byte [edx + eax], cl
inc edx
mov dword [ebp - 0xc], edx
cmp edx, ebx
jb 0x441a82
mov edi, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x441b37
mov edx, dword [esi + 0x24]
lea eax, [edx + ebx]
cmp eax, dword [esi + 0x28]
jb 0x441b12
mov dword [esi + 0x14], 0x30000
jmp 0x441b6a
push ebx
add ecx, edx
push edi
push ecx
call fcn.00537770
add esp, 0xc
mov eax, ebx
add dword [esi + 0x24], ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00535f85
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 4]
test eax, eax
je 0x441b63
push 0
lea ecx, [ebp - 8]
push ecx
push ebx
push edi
push eax
call dword [0x553410]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00535f85
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x14], 0x1000000
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00535f85
mov esp, ebp
pop ebp
ret 8
Function at 0x443750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x44375b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x443817
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5a6598]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5a6598]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5a6598]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5a6598]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5a6598]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5a6598]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5a6598]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5a6598]
sub edi, 1
jne 0x443770
pop edi
test esi, esi
je 0x44383a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5a6598]
sub esi, 1
jne 0x443820
not ecx
mov eax, ecx
pop esi
pop ebp
ret