joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e330
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [0x4410cc]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x40e36e
push 0
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push dword [esp + 0x20]
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.004170df
add esp, 8
ret 8

Function at 0x40e430
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x40
mov eax, dword [0x4410cc]
xor eax, esp
mov dword [esp + 0x3c], eax
push esi
mov esi, ecx
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x40e4c6
push 0x34
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00418d00
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x40e476
cmp dword [esp + 0x34], 1
ja 0x40e4c6
xor eax, eax
push eax
mov word [esp + 8], ax
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 2
lea eax, [esp + 0x10]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40e4b4
cmp dword [esp + 8], 2
jne 0x40e4b4
mov ax, word [esp + 4]
cmp al, 0xff
jne 0x40e4b4
cmp ah, 0xfe
jne 0x40e4b4
mov byte [esi + 4], 0
mov al, 1
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004170df
add esp, 0x40
ret
mov ecx, dword [esp + 0x40]
xor al, al
pop esi
xor ecx, esp
call fcn.004170df
add esp, 0x40
ret
Function at 0x40e590
Capabilities:
Check if file exists
Create directory
Delete directory
Get file attributes

Disassembly:
sub esp, 0x24
mov eax, dword [0x4410cc]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
mov ebp, dword [esp + 0x38]
mov bl, 1
push esi
push edi
push dword [esp + 0x3c]
mov edi, dword [esp + 0x3c]
mov ecx, edi
push 0x5c
call fcn.0040e7f0
mov esi, eax
nop dword [eax + eax]
lea eax, [esp + 0x13]
push eax
push esi
push 0
push edi
lea ecx, [esp + 0x28]
call fcn.00402300
cmp dword [esp + 0x2c], 8
lea eax, [esp + 0x18]
cmovae eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40e610
test eax, 0x400
je 0x40e62e
cmp dword [esp + 0x2c], 8
lea eax, [esp + 0x18]
cmovae eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x40e6d5
cmp dword [esp + 0x2c], 8
lea eax, [esp + 0x18]
push ebp
cmovae eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40e6d5
cmp esi, 0xffffffff
jne 0x40e637
xor bl, bl
jmp 0x40e67e
mov eax, dword [edi + 0x10]
inc esi
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x40e645
mov edx, dword [edi]
cmp esi, eax
jae 0x40e67b
sub eax, esi
lea ecx, [edx + esi*2]
mov esi, 0
je 0x40e671
cmp word [ecx], 0x5c
je 0x40e66f
nop dword [eax + eax]
cmp eax, 1
je 0x40e671
add ecx, 2
dec eax
cmp word [ecx], 0x5c
jne 0x40e660
mov esi, ecx
test esi, esi
je 0x40e67b
sub esi, edx
sar esi, 1
jmp 0x40e67e
or esi, 0xffffffff
mov ecx, dword [esp + 0x2c]
cmp ecx, 8
jb 0x40e6b6
mov edx, dword [esp + 0x18]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e6ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e6f5
push ecx
push edx
call fcn.004170ed
add esp, 8
test bl, bl
jne 0x40e5c0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004170df
add esp, 0x24
ret 0xc
lea ecx, [esp + 0x18]
call fcn.004015b0
mov ecx, dword [esp + 0x30]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004170df
add esp, 0x24
ret 0xc
call fcn.0041a62f
int3

Function at 0x40e730
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x40e73f
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40e76d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40e76d
cmp eax, 3
je 0x40e76d
cmp dword [esi + 0x14], 8
jb 0x40e762
mov esi, dword [esi]
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
ret 4
Function at 0x4108d0
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
xor esi, esi
cmp byte [esp + 0x14], 0
push edi
mov edi, dword [esp + 0x14]
je 0x410923
test edi, edi
je 0x410923
push 0xc
push esi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x410923
push 0
lea eax, [esi + 4]
mov dword [esi + 4], 0
push eax
push 1
push str.D:_A__GA___SY__A__GA___BA_
mov dword [esi], 0xc
mov dword [esi + 8], 0
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorA
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
test ebx, ebx
jne 0x410951
test edi, edi
je 0x410951
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x410951
push edi
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov ebx, eax
test esi, esi
je 0x410987
mov edi, dword [esi + 4]
test edi, edi
je 0x410979
call ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push eax
call edi
push esi
push 0
call ebp
push eax
call edi
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
call ebp
push eax
call edi
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x411140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ed8a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4410cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov edx, dword [ebp + 0xc]
xor eax, eax
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
cmp dword [ecx + 0x14], 8
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], eax
jb 0x4111bc
mov ecx, dword [ecx]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0x18]
or eax, 1
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4112b8
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov eax, edi
jb 0x4111e9
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x411212
cmp eax, 2
jne 0x4112af
cmp ecx, 0xea
jne 0x4112af
mov eax, dword [ebp - 0x14]
mov ecx, esi
inc eax
push 0
shr eax, 1
push eax
call fcn.0040bc70
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x411238
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x411240
mov edi, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411299
push eax
mov eax, dword [ebp - 0x14]
mov ecx, esi
shr eax, 1
push eax
call fcn.0040bc70
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4112af
mov edx, dword [esi + 0x14]
mov ecx, esi
cmp edx, 8
jb 0x41127a
mov ecx, dword [esi]
cmp word [ecx + eax*2 - 2], 0
jne 0x4112af
lea ecx, [eax - 1]
mov eax, esi
cmp edx, 8
jb 0x41128e
mov eax, dword [esi]
xor edx, edx
mov dword [esi + 0x10], ecx
mov word [eax + ecx*2], dx
jmp 0x4112af
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4112a3
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004170df
mov esp, ebp
pop ebp
ret
Function at 0x4112e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
mov eax, dword [0x4410cc]
xor eax, esp
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x24]
cmp dword [ecx + 0x14], 8
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 8], 0
mov dword [esp + 0xc], edi
jb 0x411314
mov ecx, dword [ecx]
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x30]
or eax, 1
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41137d
cmp dword [esi + 0x14], 8
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
jb 0x411343
mov esi, dword [esi]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push esi
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411373
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x10], 4
cmovne eax, edi
mov dword [esp + 0xc], eax
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.004170df
add esp, 0x14
ret
Function at 0x4118c0
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [0x4410cc]
xor eax, esp
mov dword [esp + 0x10], eax
lea eax, [esp]
mov dword [esp + 8], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [esp + 0x30]
mov word [esp + 0x34], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esp + 4], eax
test eax, eax
je 0x411931
lea eax, [esp + 4]
push eax
push dword [esp + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [esp]
neg eax
sbb eax, eax
and dword [esp + 8], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 4]
test eax, eax
mov ecx, dword [esp + 0x10]
setne al
xor ecx, esp
call fcn.004170df
add esp, 0x14
ret
Function at 0x415730
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00415740

Function at 0x415d50
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00415d60

Function at 0x417e95
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x417ed4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x417ed4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x417ed4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x417ed4
cmp dword [ecx + 0x74], 0xe
jbe 0x417ed4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x423ab3
Capabilities:
Read file on windows

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

Function at 0x42b743
Capabilities:
Access peb ldr_data
Get process heap flags
Resolve function by parsing pe exports
Terminate process

Disassembly:
sub esp, 0x18
mov ecx, dword fs:[0x30]
xor byte [eax], al
add byte [eax], al

Function at 0x42b805
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
add eax, esi
movzx edi, word [edx + ecx*2]
test edi, edi
jne 0x42b800
Function at 0x42d170
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42d19d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42d19d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0xa6b2f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x614000]
push edi
jmp 0xa6b30a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xa6b311
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa6b300
mov eax, 1
add ebx, ebx
jne 0xa6b323
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xa6b334
jne 0xa6b353
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa6b353
dec eax
add ebx, ebx
jne 0xa6b340
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xa6b318
add ebx, ebx
jne 0xa6b34f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xa6b3a5
xor ecx, ecx
sub eax, 3
jb 0xa6b36b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xa6b3da
sar eax, 1
mov ebp, eax
jmp 0xa6b376
add ebx, ebx
jne 0xa6b376
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa6b344
inc ecx
add ebx, ebx
jne 0xa6b384
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa6b344
add ebx, ebx
jne 0xa6b391
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xa6b386
jne 0xa6b3a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xa6b386
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xa6b3c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xa6b3b6
jmp 0xa6b306
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xa6b3c4
add edi, ecx
jmp 0xa6b306
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xa6b3e2
cmp byte [edi], 0x11
jne 0xa6b3e2
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 0xa6b3e7
lea edi, [esi + 0x664000]
mov eax, dword [edi]
or eax, eax
je 0xa6b45f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbfec84]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbfee00]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xa6b414
mov ecx, edi
jns 0xa6b443
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 + 0xbfee04]
or eax, eax
je 0xa6b459
mov dword [ebx], eax
add ebx, 4
jmp 0xa6b431
call dword [esi + 0xbfee14]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xa6b490
cmp al, 0xef
ja 0xa6b483
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xa6b465
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xa6b472
mov ebp, dword [esi + 0xbfee08]
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 0xa6b4c4
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x300056c4
Capabilities:
Accept command line arguments

Disassembly:
push 0x244
mov eax, 0x3004294c
call fcn.30013068
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x30016c9b
xor esi, esi
cmp dword [ebp - 0x10], esi
jle 0x30005726
push dword [edi + esi*4]
lea ecx, [ebp - 0x38]
call fcn.30012c7b
mov ecx, dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
call main
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.30013250
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x300056f9
push edi
call dword [sym.imp.kernel32.dll_GlobalFree]
call fcn.300130d6
ret 4
push 0x30016cd4
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x250]
push eax
call main
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x30049d54
lea eax, [ebp - 0x144]
lea edi, [ebp - 0x144]
push eax
rep movsd dword es:[edi], dword [esi]
call main
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
insd dword es:[edi], dx
popal
outsb dx, byte [esi]
dec esp
imul ebp, dword [esi + 0x65], 0x72416f54
jbe 0x30016d3d
and byte [esi + 0x61], ah
imul ebp, dword [ebp + 0x64], 0x6d246800
add dword [eax], esi
lea eax, [ebp - 0x24c]
push 0x1c
push eax
call main
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x30049d54
lea eax, [ebp - 0x140]
lea edi, [ebp - 0x140]
push eax
rep movsd dword es:[edi], dword [esi]
call main
nop
nop
dec ebp
outsd dx, dword [esi]
jne 0x30016d95
and byte gs:[esi + 0x69], ah
insb byte es:[edi], dx
and byte gs:[esi + 0x61], ch
insd dword es:[edi], dx
and byte gs:[ecx + 0x73], ch
and byte [edi + ebp*2 + 0x6e], ch
jb 0x30016d5f
jb 0x30016d5f
je 0x30016da9
popal
outsb dx, byte [esi]
and byte [ebp + 0x41], cl
pop eax
pop edi
push eax
inc ecx
push esp
dec eax
add byte [eax - 0x78], ch
insd dword es:[edi], dx
add dword [eax], esi
jne 0x30016e09
add byte gs:[eax - 0x30], ch
jb 0x30016dad
add byte [ebx + 0x436a0cc4], al
les ecx, [edx + ebp*2]
inc ebx
Function at 0x3003dfcc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x3003dfdb
pop dword [ebp - 0x34]
mov eax, 0xb1b4f742
add eax, 0x7e4ee899
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x4633d
push 0
mov eax, 0x7290bbff
sub eax, 0x4290aa5f
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x492b
xor esi, esi
add esi, eax
mov edx, 0xbee064d8
sub edx, 0x8ed948d8
add edx, dword [ebp - 0x34]
mov ebx, 0xfc186f1a
xor dword [ebp - 0x2c], 0x2d3b642e
mov edi, dword [edx]
mov dword [ebp - 0x10], 0xb94535b7
xor edi, ebx
add dword [ebp - 0x20], 0xfa0eb068
mov dword [esi], edi
add dword [ebp - 0x20], eax
add esi, 0xd07edd67
add esi, 0x2f81229d
add edx, 4
loop 0x3003e030
add eax, 0x9d991f7e
sub eax, 0x9d9807ff
mov ebx, eax
add eax, 0xc7104125
sub eax, 0xc7104120
mov ecx, 0xc761b031
sub ecx, 0x9761b031
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x10151780
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword [0x10171578]
add eax, 0xffffe35c
mov dword [0x10171574], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x10171574]
add edx, 0xfffffffe
mov dword [0x10171578], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10151807
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x18], eax
je 0x10151891
jmp 0x1015181f
xor eax, eax
mov dword [0x10171574], 0xd1b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x18], eax
je 0x1015186d
jmp 0x1015181f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x10151827
jmp 0x1015184a
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop ebp
ret
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [0x10171578], 0x13f5
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
je 0x101517e7
jmp 0x1015181f
mov dword [0x10171578], 0x25b9
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x10151807
jmp 0x10151827
xor eax, eax
mov dword [0x10171578], 0x250b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x18], eax
je 0x101517cd
jmp 0x1015181f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x18], eax
jne 0x1015181f
xor eax, eax
mov dword [0x10171574], 0x16c0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x18], eax
jne 0x1015181f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
jne 0x1015181f
mov eax, 1
mov dword [0x10171578], 0x1fa1
mov dword [ebp - 0x18], eax
jmp 0x1015181f
Function at 0x10151a00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10171580], 0
mov byte [0x10171584], 0
mov edi, dword [0x10171578]
add edi, 0xffffe149
mov dword [0x10171574], edi
mov dword [0x1017157c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10151a80
mov eax, dword [ebp - 0x20]
xor ecx, ecx
add eax, 0xffffd525
mov dword [0x10171578], eax
mov dword [0x1017157c], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x10151ac2
mov eax, dword [ebp - 0x2c]
mov dword [0x10171574], eax
add esp, 0x28
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 eax, dword [0x10171578]
mov esi, eax
add esi, 0xffffe149
mov dword [0x10171574], esi
mov esi, dword [0x1017157c]
add esi, 1
mov dword [0x1017157c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x10151a80
jmp 0x10151a4f
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [ebp - 0x30], eax
xor esi, esi
mov dword [ebp - 0x34], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
add ecx, 0xffffe224
mov dword [0x10171588], 0
mov dword [0x10171574], 0x2253
mov edi, dword [0x10171580]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10171588], esi
mov eax, esi
cdq
mov esi, dword [ebp - 0x34]
idiv esi
mov dword [0x10171580], edx
mov dword [0x10171574], 0x1af3
mov esi, dword [ebp - 0x30]
mov bl, byte [ebx + esi]
mov byte [0x10171584], bl
mov dword [0x10171578], ecx
mov ecx, dword [ebp - 0x18]
mov bl, byte [ecx + edx]
mov byte [ecx + esi], bl
mov bl, byte [0x10171584]
mov edx, dword [0x10171580]
mov byte [ecx + edx], bl
mov edx, dword [0x10171578]
mov ecx, edx
add ecx, 0xffffe149
mov dword [0x10171574], ecx
mov esi, dword [0x1017157c]
add esi, 1
mov dword [0x1017157c], esi
cmp esi, 0x100
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], esi
jl 0x10151ac2
jmp 0x10151a70