joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5dd68d
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x14]
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x30]
imul eax, ebp
sub ebp, dword [esi + 0x50]
imul ebp, dword [esi + 0x34]
sub ebp, dword [esi + 0x4c]
add ebp, dword [esi + 0x2c]
lea ebx, [eax + edx*2]
mov eax, dword [esi + 0x14]
add ebp, edx
add ebx, dword [esi + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], eax
call fcn.00561680
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 0x58]
inc eax
shr eax, 3
mov dword [esp + 0x10], eax
nop word [eax + eax]
mov eax, ebx
mov edi, ebp
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x10]
nop dword [eax]
mov cl, byte [edi]
lea edi, [edi + 1]
mov esi, dword [esp + 0x14]
lea eax, [eax + 2]
movzx edx, word [eax - 2]
movzx ecx, cl
movzx ecx, word [esi + ecx*2]
mov esi, edx
and esi, 0x7e0
shl esi, 0x10
or esi, edx
mov edx, ecx
and edx, 0x7e0
and esi, 0xfffff81f
shl edx, 0x10
or edx, ecx
and edx, 0xfffff81f
sub edx, esi
imul edx, ebp
shr edx, 5
add edx, esi
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
and ecx, 0x7e0
xor ecx, edx
mov word [eax - 2], cx
sub ebx, 1
jne 0x5dd6f0
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
add ebx, dword [esp + 0x18]
add ebp, dword [esp + 0x1c]
sub dword [esp + 0x30], 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
jne 0x5dd6e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10

Function at 0x5e08f0
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b6a48
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x748068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x7560d2], 0
jne 0x5e098e
mov dword [ebp - 0x10], 0x748edc
or eax, 0xffffffff
mov esi, 0x748edc
lock xadd dword [esi], eax
test eax, eax
jg 0x5e0945
mov ecx, esi
call fcn.0055d510
push 0xffffffffffffffff
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0
cmp byte [0x7560d2], 0
jne 0x5e0967
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x7560f8], eax
mov byte [0x7560d2], 1
mov dword [ebp - 4], 0xffffffff
mov eax, 1
lock xadd dword [esi], eax
test eax, eax
jns 0x5e098e
mov ecx, esi
call fcn.0055d510
push 0
push 1
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push dword [0x7560f8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5f7060
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b77df
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x748068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov dword [edx], vtable.SkRefCntBase.0
mov dword [edx + 4], 1
mov dword [ebp - 4], 0
mov dword [edx], vtable.SkRefCnt.0
mov dword [ebp - 4], 1
mov dword [edx], vtable.SkPicture.0
mov dword [edx + 8], 0
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
mov dword [edx], vtable.SkBigPicture.0
movups xmm0, xmmword [eax]
mov eax, dword [ebp + 0x1c]
mov dword [edx + 0x1c], eax
movups xmmword [edx + 0xc], xmm0
mov dword [edx + 0x20], 0
mov byte [ebp - 4], 3
lea ecx, [edx + 0x24]
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], ecx
mov dword [ecx], eax
mov byte [ebp - 4], 5
lea ecx, [edx + 0x28]
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], ecx
mov dword [ecx], eax
mov byte [ebp - 4], 7
lea ecx, [edx + 0x2c]
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], ecx
mov dword [ecx], eax
mov byte [ebp - 4], 9
lea ecx, [edx + 0x30]
mov eax, dword [ebp + 0x18]
mov dword [ebp + 8], ecx
mov dword [ecx], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x600520
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b872b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x748068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x28], 0
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x601ed0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b8a9c
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x748068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov dword [ebp + 8], ecx
mov dword [esi], vtable.SkRefCntBase.0
mov dword [esi + 4], 1
mov dword [ebp - 4], 0
mov dword [esi], vtable.SkRefCnt.0
mov dword [ebp - 4], 1
lea eax, [esi + 8]
mov dword [esi], vtable.SkCanvas.0
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov byte [ebp - 4], 3
sub esp, 8
lea eax, [esi + 0x30]
push eax
push ecx
lea ecx, [esi + 0xc]
call fcn.0057fa80
mov byte [ebp - 4], 4
add esi, 0x4b8
push ecx
mov ecx, esi
call fcn.00573740
push 0x50
call fcn.0064fb19
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], edi
movups xmm0, xmmword [ebp - 0x24]
push esi
push ecx
mov ecx, eax
movups xmmword [ebp - 0x24], xmm0
call fcn.0054dfd0
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x10]
mov ecx, esi
push 0
push eax
call fcn.0054db30
mov edi, eax
or edx, 0xffffffff
lea ecx, [edi + 4]
lock xadd dword [ecx], edx
cmp edx, 1
jne 0x601fc5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 4], 6
mov dword [esi], vtable.SkPictureRecord.0
mov dword [esi + 0x4ec], 0
mov dword [esi + 0x4e8], 0
mov dword [esi + 0x4e4], 0
mov byte [ebp - 4], 7
mov dword [esi + 0x4f8], 0
mov dword [esi + 0x4f4], 0
mov dword [esi + 0x4f0], 0
mov byte [ebp - 4], 8
lea ecx, [esi + 0x4fc]
call fcn.00600520
mov byte [ebp - 4], 9
mov dword [esi + 0x534], 0
mov dword [esi + 0x530], 8
mov dword [esi + 0x538], 0
mov dword [esi + 0x540], 0
mov dword [esi + 0x53c], 0
mov byte [ebp - 4], 0xa
mov dword [esi + 0x548], 0
mov dword [esi + 0x544], 8
mov dword [esi + 0x54c], 0
mov dword [esi + 0x554], 0
mov dword [esi + 0x550], 0
mov byte [ebp - 4], 0xb
mov dword [esi + 0x55c], 0
mov dword [esi + 0x558], 8
mov dword [esi + 0x560], 0
mov dword [esi + 0x568], 0
mov dword [esi + 0x564], 0
mov byte [ebp - 4], 0xc
lea eax, [esi + 0x56c]
mov dword [ebp + 8], eax
mov dword [eax + 0x10], 0
mov byte [ebp - 4], 0xd
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 0xe
mov dword [esi + 0x588], 0
mov dword [esi + 0x584], 0
mov dword [esi + 0x580], 0
mov byte [ebp - 4], 0xf
mov dword [esi + 0x594], 0
mov dword [esi + 0x590], 0
mov dword [esi + 0x58c], 0
mov byte [ebp - 4], 0x10
mov dword [esi + 0x5a0], 0
mov dword [esi + 0x59c], 0
mov dword [esi + 0x598], 0
mov byte [ebp - 4], 0x11
mov dword [esi + 0x5a4], 0
mov dword [esi + 0x5a8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x614090
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b8ffb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x748068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 4]
mov dword [edi], esi
mov dword [ecx], 0
mov dword [ecx + 4], 0x400
mov dword [ecx + 8], 0x400
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
push 1
push 0xc0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call fcn.005a3500
push eax
push 0xc0
call fcn.004047f0
movsd xmm0, qword [0x6f2e98]
add esp, 8
movaps xmm1, xmmword [0x6f3350]
mov ecx, eax
movsd qword [eax + 0x40], xmm0
mov byte [eax + 0x48], 0
movups xmmword [eax + 0x30], xmm1
mov byte [eax + 0x68], 0
movsd qword [eax + 0x60], xmm0
xorps xmm0, xmm0
movups xmmword [eax + 0x50], xmm1
mov dword [eax + 0x70], 0
mov byte [eax + 0xb9], 0
mov byte [eax + 0xbc], 0
inc dword [edi + 0x24]
mov dword [edi + 0x18], eax
movsd qword [eax + 0xa0], xmm0
movsd xmm0, qword [0x6f2c18]
push esi
mov dword [eax + 0x78], 0
mov dword [eax + 0x74], 0
movsd qword [eax + 0xa8], xmm0
mov dword [eax + 0x70], 0
mov word [eax + 0xba], 0
call fcn.006221b0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x632d00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b96a3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x748068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
mov dword [edi], 8
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
shl eax, 2
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 8
mov dword [edi + 0x2c], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x30], 0
mov byte [ebp - 4], 1
mov ebx, dword [edi + 0x14]
imul ebx, ecx
mov ecx, dword [edi + 8]
mov dword [edi + 4], 0
mov dword [ebp + 8], ebx
cmp ebx, ecx
jg 0x632dc0
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jge 0x632e3a
mov ecx, dword [edi]
lea eax, [ebx + 1]
sar eax, 1
mov esi, ecx
add eax, ebx
cmp eax, ecx
cmovge esi, eax
cmp esi, dword [edi + 8]
je 0x632e3a
mov dword [edi + 8], esi
cmp esi, ecx
jne 0x632de3
mov ebx, dword [edi + 0xc]
test ebx, ebx
jne 0x632e1f
push esi
call fcn.0065f455
add esp, 4
mov ebx, eax
test esi, esi
je 0x632dfa
test ebx, ebx
je 0x632efa
xor esi, esi
cmp dword [edi + 4], esi
jle 0x632e1f
lea eax, [esi + ebx]
push eax
push 1
call fcn.004047f0
mov ecx, eax
add esp, 8
mov eax, dword [edi + 0x10]
mov al, byte [esi + eax]
inc esi
mov byte [ecx], al
cmp esi, dword [edi + 4]
jl 0x632e01
mov eax, dword [edi + 0x10]
cmp eax, dword [edi + 0xc]
je 0x632e34
test eax, eax
je 0x632e34
push eax
call fcn.0065b0c7
add esp, 4
mov dword [edi + 0x10], ebx
mov ebx, dword [ebp + 8]
mov dword [edi + 4], ebx
mov ecx, dword [edi + 0x18]
mov ebx, dword [edi + 0x2c]
mov dword [ebp + 8], ecx
mov dword [edi + 0x28], 0
cmp ecx, ebx
jg 0x632e63
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jge 0x632eda
mov edx, dword [edi + 0x24]
lea eax, [ecx + 1]
sar eax, 1
mov esi, edx
add eax, ecx
cmp eax, edx
cmovge esi, eax
cmp esi, ebx
je 0x632eda
mov dword [edi + 0x2c], esi
cmp esi, edx
jne 0x632e86
mov ebx, dword [edi + 0x30]
test ebx, ebx
jne 0x632ebf
shl esi, 2
push esi
call fcn.0065f455
add esp, 4
mov ebx, eax
test esi, esi
je 0x632e9c
test ebx, ebx
je 0x632eff
xor esi, esi
cmp dword [edi + 0x28], esi
jle 0x632ebf
lea eax, [ebx + esi*4]
push eax
push 4
call fcn.004047f0
mov ecx, dword [edi + 0x34]
add esp, 8
mov ecx, dword [ecx + esi*4]
inc esi
mov dword [eax], ecx
cmp esi, dword [edi + 0x28]
jl 0x632ea3
mov eax, dword [edi + 0x34]
cmp eax, dword [edi + 0x30]
je 0x632ed4
test eax, eax
je 0x632ed4
push eax
call fcn.0065b0c7
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [edi + 0x34], ebx
mov dword [edi + 0x28], ecx
mov dword [ebp - 4], 0xffffffff
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 0xc
call fcn.00558c50
call fcn.00558c50
int3
Function at 0x638260
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
je 0x63827a
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x63827a
mov ecx, dword [ecx + 0x44]
test ecx, ecx
je 0x63827a
push 1
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x643400
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x748068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x6434fa
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x6434f3
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x6434d9
call ebx
cmp dword [ebp - 0x14], eax
jne 0x6434d9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x6434d9
mov edx, dword [esi]
test edx, edx
jne 0x6434a2
push 0x200
push edx
push dword [0x7526f8]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x6434f3
jmp 0x6434cd
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x6434cd
shl eax, 3
push eax
push edx
push 0
push dword [0x7526f8]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x6434f3
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x643461
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x64353f
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x64353f
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x643539
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.00643290
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x643506
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0064fb08
mov esp, ebp
pop ebp
ret

Function at 0x643550
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx]
test eax, eax
je 0x64359e
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x64358e
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x643585
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x643562
mov eax, dword [ebx]
pop edi
push eax
push 0
push dword [0x7526f8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret
Function at 0x6435a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
imul esi, ecx, 0x2c
push edi
add esi, dword [0x756b00]
mov al, byte [esi + 0x14]
mov edi, dword [esi]
and al, 1
je 0x6435bc
sub edi, 5
movzx eax, al
lea ebx, [eax*2 + 5]
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6435e4
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x6435ff
mov eax, dword [esi]
mov word [eax], 0xf9eb
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x64d600
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x748068]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 5
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x64d680
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x64d676
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 8], 0
je 0x64d68f
mov dword [ebp - 0x18], 1
jmp 0x64d696
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0064fb08
mov esp, ebp
pop ebp
ret

Function at 0x671946
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006717c5

Function at 0x676bc4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00676884
Function at 0x4251e5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041e15f
and dword [ebp - 4], 0
cmp dword [0x44f6a8], 0
mov ebx, eax
jne 0x425296
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x425347
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x425347
push eax
call fcn.0041e0ed
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44f6a8], eax
call esi
push eax
call fcn.0041e0ed
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44f6ac], eax
call esi
push eax
call fcn.0041e0ed
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44f6b0], eax
call esi
push eax
call fcn.0041e0ed
pop ecx
mov dword [0x44f6b8], eax
test eax, eax
je 0x425296
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041e0ed
pop ecx
mov dword [0x44f6b4], eax
mov eax, dword [0x44f6b4]
cmp eax, ebx
je 0x4252ee
cmp dword [0x44f6b8], ebx
je 0x4252ee
push eax
call fcn.0041e168
push dword [0x44f6b8]
mov esi, eax
call fcn.0041e168
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4252ee
test edi, edi
je 0x4252ee
call esi
test eax, eax
je 0x4252e5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4252e5
test byte [ebp - 0xc], 1
jne 0x4252ee
or dword [ebp + 0x10], 0x200000
jmp 0x425327
mov eax, dword [0x44f6ac]
cmp eax, ebx
je 0x425327
push eax
call fcn.0041e168
pop ecx
test eax, eax
je 0x425327
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x425327
mov eax, dword [0x44f6b0]
cmp eax, ebx
je 0x425327
push eax
call fcn.0041e168
pop ecx
test eax, eax
je 0x425327
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44f6a8]
call fcn.0041e168
pop ecx
test eax, eax
je 0x425347
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x425349
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x422c55e8
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x6c6e6ffa
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, edx
push edi
push 0
push dword [section..data]
mov dword [ebp - 8], edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
test ebx, ebx
je 0x4016d4
mov edi, esi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x4016c3
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x4016ef
mov edx, edi
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x4016e4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
mov ebx, esi
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
test ebx, ebx
je 0x401731
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x401714
test esi, esi
je 0x40173d
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x401735
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [ebp - 4]
mov esi, eax
mov edx, esi
mov ecx, ebx
call fcn.00401000
push ebx
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x442100
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
call section..text
add eax, 0x51615
mov dword [0x4015a4], eax
mov eax, dword [0x4015a4]
push eax
jmp loc.0045b000