joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c4af
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101c496c], 0
mov dword [0x101c4970], 0
mov dword [0x101c497c], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1000c60c
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [0x101c4964], 0x581
mov edi, eax
add edi, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101c496c], edx
mov dword [0x101c4968], 0x20ec
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101c4970], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101c4974], cl
mov dword [0x101c4968], 0x1c17
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101c4974]
mov edx, dword [0x101c4970]
mov byte [ebx + edx], cl
mov edx, dword [0x101c496c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101c4970]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101c497c], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov dword [0x101c4968], 0x2239
mov edx, dword [0x101c4964]
add edx, 0x97e
mov dword [0x101c4964], edx
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x1000c60c
mov eax, dword [0x101c496c]
mov ecx, dword [0x101c4970]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x1000c508
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000c614
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x101c4964], 0x895
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1000ba9f
lea ecx, [0x1000b7d7]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x58], edx
mov dword [esp + 0x68], 0x131800
mov edx, dword [0x101c4950]
mov dword [esp + 0x60], edx
mov edx, dword [0x101c4954]
mov dword [esp + 0x64], edx
mov edx, dword [0x101c4958]
mov dword [esp + 0x4c], edx
mov edx, dword [0x101c495c]
mov dword [esp + 0x54], edx
mov edx, dword [0x101c4960]
mov dword [esp + 0x7c], edx
mov dword [0x101c4968], 0x1d3f
mov dword [0x101c4964], 0x2324
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1000c702
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1000c702
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1000b69f
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0xc], eax
jmp 0x1000c6b8
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x1000c713
jmp 0x1000c6a4
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x1000c6ec
jmp 0x1000c6a4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], eax
mov dword [0x101c4964], 0x4417
mov dword [0x101c4968], 0x94b
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x84], edx
call fcn.1000c14a
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
je 0x1000c6c0
jmp 0x1000c6b8
Function at 0x4403d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x29000]
push edi
jmp 0x4403ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4403f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4403e0
mov eax, 1
add ebx, ebx
jne 0x440403
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4403f8
jne 0x440414
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4403f8
xor ecx, ecx
sub eax, 3
jb 0x440428
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44049a
mov ebp, eax
add ebx, ebx
jne 0x440433
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x440440
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x440464
inc ecx
add ebx, ebx
jne 0x440450
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x440445
jne 0x440461
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x440445
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x440484
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x440475
jmp 0x4403e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x440484
add edi, ecx
jmp 0x4403e6
pop esi
mov edi, esi
mov ecx, 0x64c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4404a2
cmp byte [edi], 0xe
jne 0x4404a2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4404a7
lea edi, [esi + 0x3e000]
mov eax, dword [edi]
or eax, eax
je 0x44051f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x40a10]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x40a60]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4404d4
mov ecx, edi
jns 0x440503
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x40a68]
or eax, eax
je 0x440519
mov dword [ebx], eax
add ebx, 4
jmp 0x4404f1
call dword [esi + 0x40a64]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x440550
cmp al, 0xef
ja 0x440543
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x440525
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x440532
mov ebp, dword [esi + 0x40a6c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x440584
sub esp, 0xffffff80
jmp 0x401938
Function at 0x412281
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x412290
pop dword [ebp - 0x18]
mov eax, 0x30eb35e4
sub eax, 0x30aa1354
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x37b26
push 0
mov eax, 0x9f3ce92f
sub eax, 0x9efa5903
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x96ea5d4b
add ecx, 0x6915e54f
xor edi, edi
add edi, eax
mov ebx, 0x436e00
add ebx, dword [ebp - 0x18]
mov esi, 0x8fbd599f
mov edx, dword [ebx]
add dword [ebp - 0x14], ebx
add edx, esi
xor dword [ebp - 0x14], edi
mov dword [edi], edx
sub dword [ebp - 0x14], ecx
add edi, 0xd1cb5f76
sub edi, 0xd1cb5f72
add ebx, 0xc2cdda98
sub ebx, 0xc2cdda94
loop 0x4122e5
add eax, 0xa620adea
sub eax, 0xa61fb0af
xor ebx, ebx
add ebx, eax
add eax, 0xab937142
add eax, 0x546c8ec3
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x100722c0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x100724a4
pushal
mov esi, section.UPX1
lea edi, [esi - 0x33000]
push edi
jmp 0x100722ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100722f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100722e0
mov eax, 1
add ebx, ebx
jne 0x10072303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10072314
jne 0x10072333
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10072333
dec eax
add ebx, ebx
jne 0x10072320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x100722f8
add ebx, ebx
jne 0x1007232f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x10072385
xor ecx, ecx
sub eax, 3
jb 0x1007234b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100723ba
sar eax, 1
mov ebp, eax
jmp 0x10072356
add ebx, ebx
jne 0x10072356
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10072324
inc ecx
add ebx, ebx
jne 0x10072364
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10072324
add ebx, ebx
jne 0x10072371
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10072366
jne 0x10072382
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10072366
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x100723a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10072396
jmp 0x100722e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x100723a4
add edi, ecx
jmp 0x100722e6
pop esi
mov edi, esi
mov ecx, 0x1853
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100723c2
cmp byte [edi], 0x17
jne 0x100723c2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x100723c7
lea edi, [esi + 0x6f000]
mov eax, dword [edi]
or eax, eax
je 0x10072436
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x722b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7230c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100723f4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x72310]
or eax, eax
je 0x10072430
mov dword [ebx], eax
add ebx, 4
jmp 0x10072411
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10072467
cmp al, 0xef
ja 0x1007245a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1007243c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10072449
mov ebp, dword [esi + 0x72314]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1007249b
sub esp, 0xffffff80
jmp 0x10003c8d
Function at 0x40a509
Capabilities:
Encode data using xor

Disassembly:
pushfd
xchg ebx, ebp
mov edi, 0xb1c37a79
add byte [edx + edx - 0x521181a4], ch
or ah, byte [0x458240e]
push cs
xor al, 0x5f
loop 0x40a511
test al, 0xe5
hlt

Function at 0x60ae95
Capabilities:
Encode data using xor

Disassembly:
bound ebx, qword [esi + edi*2 - 0x42]
mov ch, 0x49
stosd dword es:[edi], eax
add al, 0xa3
invalid
jl 0x60aee7
mov ecx, ss
ljmp 0xdfd5
jmp 0x60ae4e
sbb byte [esi + edi*2 - 0x23], bl
sub al, 0x42
invalid
pop dword [ecx]
jnp 0x60af3d
mov bh, 0x59
sbb al, 0x49
cmpsd dword [esi], dword es:[edi]
inc esp
fisttp dword [ebx]
cmpsb byte [esi], byte es:[edi]
mov ah, 0xe6
sub dword [ebx], 0xcf246d1e
in eax, dx
push 0x8941ac15
push edi
jbe 0x60aea1
nop
sub edx, ebp
outsb dx, byte [esi]
sub eax, 0x147f4595
push esi
out dx, eax
rcl byte [edi + 0x3f]
movsd dword es:[edi], dword [esi]
jbe 0x60aead
salc
jbe 0x60af89
in al, 0xf
jb 0x60af94
out dx, eax
mov esp, 0x7e3e1894
and eax, 0x77439f6a
pop es
invalid
mov ah, 0x49
int1
inc ecx
sbb eax, 0x2c979d2a
and eax, 0x8dbe31ae
cmc
aad 0x35
add byte [esi*4 + 0x4bb762cc], cl
jns 0x60af5d
push ecx
pop ebp
mov cl, 0x20
cld
sar esp, 1
cld
mov esi, 0xd3803d14
push edx
or dword [edi], eax
inc ebp
rcr byte [edx - 0x284b11a4], 0x4c
xor eax, 0xe03c8016
das
sahf
test al, 0x36
adc dl, ch
popfd
mov dword [ebp - 0x5c36161a], esp
add dword [eax + edi], 0xe54c6c28
test dword [edx - 0x42102f1d], edi
out 0xe9, al
leave
mov dword [0x28380481], eax
insb byte es:[edi], dx
dec esp
in eax, 0x85
mov edx, 0xbdefd0e3
jecxz 0x60af5b
out dx, eax
mov ebp, 0xd5830f72
invalid
jb 0x60af9e
adc ebp, 0xffffffc6
push ds
nop
xor al, 0xa1
mov eax, dword [0xc6cc41f]
into
sub ch, ah
xchg ebp, eax
popal
or dword [ebx + ecx*2 + 0x2c], eax
xchg ecx, eax
insd dword es:[edi], dx
jb 0x60af7c
mov word [edi + ebp*8], gs
xor byte [ebp + 0x4e], dl
pushal
pushfd
das
xchg ebx, eax
rcr dword [esi + edi - 0x511bddf8], 1
inc ebp
hlt
Function at 0x406d90
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x842ce8
push 0x722fe0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x88bba0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov ebx, 1
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0x100
mov dword [ebp - 0x2c], 0
xor edi, edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x24], edi
mov word [ebp - 0x20], 0x500
mov dword [ebp - 4], edi
lea eax, [ebp - 0x2c]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x406f0b
push dword [ebp - 0x28]
push 8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x34], edi
test edi, edi
je 0x406f0b
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
push edi
push 2
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x406e98
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x406f0b
push edi
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x28]
push 8
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x34], edi
test edi, edi
je 0x406f0b
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
push edi
push 2
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x406f0b
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 4
push 1
lea eax, [ebp - 0x24]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
call esi
test eax, eax
je 0x406f0b
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 6
push 1
lea eax, [ebp - 0x24]
push eax
call esi
test eax, eax
je 0x406f0b
xor esi, esi
mov dword [ebp - 0x44], esi
cmp esi, dword [edi]
jae 0x406f0b
mov ecx, dword [edi + esi*8 + 4]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x4c], ecx
mov eax, dword [edi + esi*8 + 8]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x406f35
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.00406f4e
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x30]
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x406f0b
inc esi
jmp 0x406ee0
Function at 0x407c90
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x75fe78
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x88bba0]
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 ebx, dword [ebp + 8]
lea eax, [ebp - 0x64]
push eax
xor esi, esi
xor edi, edi
push 0xf01ff
mov dword [ebp - 0x64], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x407d81
xor eax, eax
mov dword [ebp - 0x60], eax
test ebx, ebx
je 0x407cf6
mov ecx, dword [ebx]
test ecx, ecx
je 0x407cf6
mov edi, ecx
jmp 0x407d51
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 3
push dword [ebp - 0x64]
call esi
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x407d81
add eax, eax
push eax
call fcn.0070d787
mov edi, eax
add esp, 4
test edi, edi
je 0x407d81
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
push edi
push 3
push dword [ebp - 0x64]
call esi
test eax, eax
je 0x407d81
xor ecx, ecx
cmp dword [edi], ecx
jbe 0x407d4b
lea eax, [edi + 0xc]
nop
or dword [eax], 2
lea eax, [eax + 0xc]
inc ecx
cmp ecx, dword [edi]
jb 0x407d40
mov eax, dword [ebp - 0x60]
lea esi, [eax + edi]
lea ecx, [ebp - 0x60]
push ecx
push esi
push eax
push edi
push 0
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x407d81
test esi, esi
je 0x407e50
push dword [ebp - 0x60]
push esi
push edi
call fcn.007224a0
add esp, 0xc
jmp 0x407e5b
push 0x23
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push str.EnableAllPrivileges:_Failed_GLE_lu
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0042fb60
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00483380
mov esi, eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00483710
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00483750
mov byte [ebp - 4], 2
push eax
call fcn.00481260
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2c], 0x10
jb 0x407e04
push dword [ebp - 0x40]
call fcn.00489b60
add esp, 4
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00483470
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x407e3a
push dword [ebp - 0x28]
call fcn.00489b60
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
test edi, edi
je 0x407e5b
push edi
call fcn.00723210
add esp, 4
xor edi, edi
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x407e69
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
test ebx, ebx
je 0x407e71
mov dword [ebx], edi
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.00722035
mov esp, ebp
pop ebp
ret 4
Function at 0x4149c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov ebx, ecx
mov edi, dword [edx + 0x10]
jb 0x4149d6
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x4149f2
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x4149e1
mov edx, dword [ebx + 0x14]
mov eax, edx
pop edi
and eax, esi
cmp dword [ebx + 0x18], eax
pop esi
pop ebx
ja 0x414a0a
shr edx, 1
or ecx, 0xffffffff
sub ecx, edx
add eax, ecx
pop ebp
ret 4
Function at 0x42ef80
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7661e8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x88bba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ecx + 0x2c]
push esi
mov dword [ebp - 0x10], esi
call fcn.0070e3b2
add esp, 4
test eax, eax
je 0x42efc2
push eax
call fcn.0070e565
add esp, 4
mov dword [ebp - 4], 0
mov edi, dword [ebp + 8]
cmp dword [edi + 4], 0
je 0x42eff9
mov ebx, dword [edi]
test ebx, ebx
je 0x42eff2
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42eff2
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, edi
call fcn.00414cc0
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.0070e3db
add esp, 4
test eax, eax
je 0x42f016
push eax
call fcn.0070e565
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x433450
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0
je 0x433488
push edi
mov edi, dword [esi]
test edi, edi
je 0x43347e
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x43347e
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
mov ecx, esi
pop esi
pop ebp
jmp fcn.00414cc0
pop esi
pop ebp
ret

Function at 0x4358f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x766fd8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x88bba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
test ebx, ebx
jne 0x435936
mov eax, 0x80004003
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8a19b5
push 0x20
mov dword [ebx], edi
call fcn.00723ab8
mov esi, eax
add esp, 8
mov dword [ebp + 8], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x435990
lea eax, [esi + 8]
mov dword [esi], vtable.WinReachability.0
mov dword [ebp - 0x10], eax
mov dword [eax], 0
mov byte [ebp - 4], 2
lea eax, [esi + 0x18]
mov dword [esi + 0x14], 1
mov dword [ebp - 0x10], eax
mov dword [eax], 0
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x1c], eax
mov byte [ebp - 4], 0
jmp 0x435992
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4359f6
lea eax, [esi + 0x10]
push eax
push 0
push esi
push 0x435a10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
cmp eax, 0xffffffff
jne 0x4359d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x4359d2
movzx edi, di
or edi, 0x80070000
test edi, edi
js 0x4359dc
mov dword [ebx], esi
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x8007000e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret