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

Disassembly:
push 0xffffffffffffffff
push 0xb0e9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0xafa002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00afddff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0xafa002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.00af56e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.00afe20b
push 0x10
call fcn.00afe1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0xaf9fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.00aea1c0
jmp 0xaf9fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00af9b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0xaf9ff0
mov ecx, edi
call fcn.00aea2c0
push edi
call fcn.00afe1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0xafa021
inc ebx
cmp ebx, 0x20
jb 0xaf9f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xafb250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb0f808
push 0xaff288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xafb329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xafb329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00afe1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xafb329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xafb329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xafb32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00afb351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xafbd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xafbd58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xafbd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xafbd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xafbd94
push eax
push esi
call fcn.00afe20b
add esp, 8
pop esi
ret 0x10

Function at 0xafbda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xafbe22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xafbe15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xb14320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00afddff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xafbdda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xafbe30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xafbec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xafbeb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xb14320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00afddff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xafbeab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xafbe6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xafc000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xafc131
push esi
call fcn.00aff145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00aee080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xafc131
push 0
push ebp
call fcn.00aee3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00aee260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xafc08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00aee2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xafc121
push 0xb14918
push edi
call fcn.00afd3f0
push eax
push ebx
push esi
call fcn.00afbf60
push 0xb148f8
push edi
call fcn.00afd3f0
push eax
push ebx
push esi
call fcn.00afbf60
push 0xb148d8
push edi
call fcn.00afd3f0
push eax
push ebx
push esi
call fcn.00afbf60
push 0xb148c0
push edi
call fcn.00afd3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00afbf60
push 0xb148a0
push edi
call fcn.00afd3f0
push eax
push ebx
push esi
call fcn.00afbf60
push 0xb14888
push edi
call fcn.00afd3f0
push eax
push ebx
push esi
call fcn.00afbf60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xafd1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00afd140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00afd140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00afd140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00afd140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xafdbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xafdc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xb0f87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xafdc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xafdc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x402150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, esp
mov dword [esi + 8], ebp
lea eax, [ebp + 8]
mov edx, esp
mov dword [esi + 0x7c], edx
mov dword [esi + 0x88], 0xffffffff
lea edx, [esi + 0x80]
mov dword [esi + 0x84], 0x408290
mov edi, dword fs:[0]
mov dword [esi + 0x80], edi
mov dword fs:[0], edx
mov edx, eax
add edx, 0xc
mov dword [esi + 0xc], edx
add eax, 0x30
mov dword [esi + 0x10], eax
mov dword [esi + 0x78], ecx
mov byte [esi + 0x77], 1
mov byte [esi + 0x76], 1
mov dword [esi + 0x88], 1
mov eax, esp
mov dword [eax], 0x418d91
lea ecx, [esi + 0x5c]
call fcn.00408370
sub esp, 4
jmp 0x4021d5
mov byte [esi + 0x5b], 0
mov dword [esi + 0x88], 2
mov eax, esp
mov dword [eax], str.yuwpuvzoshrocikhjkrwbxlbm
lea ecx, [esi + 0x40]
call fcn.00408370
sub esp, 4
jmp 0x4021fb
mov dword [esi + 0x3c], 0x9a4
mov dword [esi + 0x34], 0x40d064c0
mov dword [esi + 0x30], 0
mov dword [esi + 0x88], 3
mov eax, esp
mov dword [eax], str.uixfkz
lea ecx, [esi + 0x18]
call fcn.00408370
sub esp, 4
jmp 0x402232
mov dword [esi + 0x14], 0x260
lea ecx, [esi + 0x18]
call fcn.00408430
lea ecx, [esi + 0x40]
call fcn.00408430
lea ecx, [esi + 0x5c]
call fcn.00408430
mov ecx, dword [esi + 0xc]
call fcn.00408430
mov ecx, dword [esi + 0x10]
call fcn.00408430
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
fld dword [0x418194]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x5c
Function at 0x402300
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov esi, esp
mov dword [esi + 8], ebp
lea eax, [ebp + 8]
mov dword [esi + 0xc], eax
mov edx, esp
mov dword [esi + 0x64], edx
mov dword [esi + 0x70], 0xffffffff
lea edx, [esi + 0x68]
mov dword [esi + 0x6c], 0x4082b0
mov edi, dword fs:[0]
mov dword [esi + 0x68], edi
mov dword fs:[0], edx
mov edx, dword [eax]
mov dword [esi + 0x10], edx
mov edx, eax
add edx, 0x10
mov dword [esi + 0x14], edx
mov edx, eax
add edx, 0x2c
mov dword [esi + 0x18], edx
mov edx, eax
add edx, 0x50
mov dword [esi + 0x1c], edx
add eax, 0x68
mov dword [esi + 0x20], eax
mov dword [esi + 0x60], ecx
mov dword [esi + 0x5c], 0x40d7f7c0
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0x40b77400
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0x40e37620
mov dword [esi + 0x48], 0
mov dword [esi + 0x70], 3
mov eax, esp
mov dword [eax], str.fkhwspzxcltffhtnfixxtrvpyouiltjnpiwlcdfcaayfjpriuhfrwfvwfkuqgkjcfmbzmbmfscwirsyjiltbqe
lea ecx, [esi + 0x30]
call fcn.00408370
sub esp, 4
jmp 0x4023ad
vmovsd xmm0, qword [0x418198]
vmovsd qword [esi + 0x28], xmm0
mov dword [esi + 0x24], 0x22
cmp dword [esi + 0x24], 0
jle 0x4023d9
mov eax, dword [esi + 0x24]
add eax, 0xffffffff
mov dword [esi + 0x24], eax
jmp 0x4023c1
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x70], 4
mov eax, esp
mov dword [eax], str.rmkuitnqmoige
call fcn.00408370
sub esp, 4
jmp 0x4023f8
lea ecx, [esi + 0x30]
call fcn.00408430
mov ecx, dword [esi + 0x14]
call fcn.00408430
mov ecx, dword [esi + 0x18]
call fcn.00408430
mov ecx, dword [esi + 0x1c]
call fcn.00408430
mov ecx, dword [esi + 0x20]
call fcn.00408430
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, dword [esi + 0x68]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x80
Function at 0x4024e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov esi, esp
mov dword [esi + 0xc], ebp
lea eax, [ebp + 8]
mov edx, esp
mov dword [esi + 0x9c], edx
mov dword [esi + 0xa8], 0xffffffff
lea edx, [esi + 0xa0]
mov dword [esi + 0xa4], 0x4082d0
mov edi, dword fs:[0]
mov dword [esi + 0xa0], edi
mov dword fs:[0], edx
mov edx, eax
add edx, 4
mov dword [esi + 0x14], edx
mov edx, eax
add edx, 0x24
mov dword [esi + 0x18], edx
add eax, 0x40
mov dword [esi + 0x1c], eax
mov dword [esi + 0x98], ecx
mov dword [esi + 0xa8], 2
mov eax, esp
mov dword [eax], str.wfgiykwqdsdqqegpdjvftklcevbzev
lea ecx, [esi + 0x80]
call fcn.00408370
sub esp, 4
jmp 0x40256e
mov dword [esi + 0x7c], 0x40dd4f80
mov dword [esi + 0x78], 0
mov dword [esi + 0x74], 0x40cbb200
mov dword [esi + 0x70], 0
mov dword [esi + 0xa8], 3
mov eax, esp
mov dword [eax], str.psfxaszgczajhymdkwftkwfrqvfayabhlyssalqazgusegiycskrcscfapcfelcdpjksjmzmpjounhzzwstyhulqplhtkohnf
lea ecx, [esi + 0x58]
call fcn.00408370
sub esp, 4
jmp 0x4025ac
mov byte [esi + 0x57], 1
mov byte [esi + 0x56], 1
mov dword [esi + 0xa8], 4
mov eax, esp
mov dword [eax], str.wfgiykwqdsdqqegpdjvftklcevbzev
lea ecx, [esi + 0x3c]
call fcn.00408370
sub esp, 4
jmp 0x4025d6
mov dword [esi + 0xa8], 5
mov eax, esp
mov dword [eax], str.wfgiykwqdsdqqegpdjvftklcevbzev
lea ecx, [esi + 0x24]
call fcn.00408370
sub esp, 4
jmp 0x4025f8
lea ecx, [esi + 0x24]
lea eax, [esi + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00408460
mov byte [esi + 0x13], al
lea ecx, [esi + 0x24]
call fcn.00408430
lea ecx, [esi + 0x3c]
call fcn.00408430
mov al, byte [esi + 0x13]
test al, 1
jne 0x40262d
jmp 0x402651
mov dword [esi + 0x20], 0x39
cmp dword [esi + 0x20], 0
jle 0x40264c
mov eax, dword [esi + 0x20]
add eax, 0xffffffff
mov dword [esi + 0x20], eax
jmp 0x402634
jmp 0x402651
lea ecx, [esi + 0x58]
call fcn.00408430
lea ecx, [esi + 0x80]
call fcn.00408430
mov ecx, dword [esi + 0x14]
call fcn.00408430
mov ecx, dword [esi + 0x18]
call fcn.00408430
mov ecx, dword [esi + 0x1c]
call fcn.00408430
mov eax, dword [esi + 0xa0]
mov dword fs:[0], eax
mov eax, 0x1016d
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x68
Function at 0x403820
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
sub edx, 0x68
rcl ebx, 0xdf
sbb ebx, 0xc7
sbb esi, 0x5d
rcr edi, 0xef
sub edx, 0xf7
and ebx, 0xbe
imul edi
bswap edi
not edx
neg edx
not edx
rol edx, 0xa4
bswap edi
and ebx, 0xb
or ebx, 3
bswap ebx
sub edi, 0xad
neg esi
add edx, 0x26
not edx
ror ebx, 0x96
imul eax
add edx, 0xa3
inc edi
rcl edi, 0xa3
neg edx
imul eax
bswap edx
inc eax
neg edi
imul esi
dec esi
bswap ebx
add esi, 0xc3
neg esi
dec ebx
sbb ebx, 0x90
not esi
mov edi, 0xb7
bswap edx
neg eax
sbb edx, 0x65
inc ebx
inc ebx
inc edi
sub esi, 0xd7
inc edi
sbb eax, 0x77
rcl esi, 0x58
xor ecx, ecx
xor edi, edi
imul eax
neg ebx
or ebx, 0x8b
or edx, 0x96
rcr eax, 0x58
bswap edx
bswap eax
dec ebx
rcr esi, 0xc2
mov esi, 0x1b
and eax, 0x99
or esi, 0x22
rol eax, 0xaa
not edx
neg edi
imul edx
dec eax
dec ebx
ror esi, 0xb0
or edi, 0xfa
or ebx, 0xac
imul esi
add edi, 0x5a
add esi, 0xc4
dec eax
or ebx, 0x82
neg eax
rcl esi, 4
and eax, 0xe8
inc ebx
bswap edi
and edi, 0xd7
or ebx, 0x64
and ebx, 0xac
inc edi
not edx
sbb edx, 0x6b
rol ebx, 0xe1
mov edx, 0xb7
not edi
rcl ebx, 0x99
bswap eax
rol eax, 0x86
rcl edx, 9
sbb esi, 0x14
imul edi
dec edi
not ebx
rcl eax, 0x72
inc eax
mov ecx, dword [ebp + 0xc]
inc edi
mov eax, 0x5a
bswap esi
rcr eax, 0x12
rcl edi, 0xdb
inc ebx
mov esi, 0xf1
ror edi, 0xf0
not eax
and edi, 0x2e
mov eax, 0x56
inc edi
ror esi, 0xa4
or edi, 0x15
dec edi
neg eax
inc ebx
mov edx, 0x3a
rol ebx, 0xdb
neg edx
ror esi, 0x34
sbb edi, 0x14
bswap edi
not ebx
or ebx, 0xdc
sub eax, 0x92
sub eax, 0x58
rcl edx, 0xb6
dec esi
sbb esi, 0x10
inc eax
imul edi
add edi, 0x40
rcr eax, 0xac
sbb ebx, 0xd5
rol esi, 0xf8
inc edi
not eax
rcl eax, 0x7b
dec edx
rcl edi, 0xd6
inc edi
and edi, 0xc2
add edx, 0xf8
not eax
sbb eax, 0x11
rcr esi, 0x5b
or edx, 0xef
rcl ebx, 0x44
rol edi, 6
mov edi, dword [ebp + 8]
xor eax, esi
mov esi, esi
xor esi, eax
xor eax, eax
xor eax, ebx
mov ebx, esi
xor eax, eax
mov esi, ebx
mov eax, esi
mov esi, eax
mov ebx, esi
xor eax, esi
not byte [edi]
xor ebx, eax
xor eax, esi
mov eax, ebx
mov eax, eax
xor ebx, esi
xor esi, eax
xor eax, ebx
xor eax, esi
xor esi, ebx
sub byte [edi], 0x98
xor ebx, eax
xor esi, eax
mov esi, esi
mov ebx, esi
mov esi, ebx
mov esi, esi
mov ebx, ebx
xor eax, eax
mov ebx, ebx
add byte [edi], 0x53
xor eax, ebx
xor esi, esi
mov eax, esi
xor eax, esi
xor ebx, eax
mov esi, ebx
mov eax, esi
mov eax, eax
mov ebx, eax
imul byte [edi]
inc edi
loop 0x4039f1
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6a
sub eax, 0x403d10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x1af4108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01af4258
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1af412e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1af411a
add dl, dl
jne 0x1af4139
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1af418c
xor eax, eax
add dl, dl
jne 0x1af4146
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1af422d
add dl, dl
jne 0x1af4155
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1af4160
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1af416b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1af4176
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1af4182
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1af4125
mov eax, 1
add dl, dl
jne 0x1af419a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1af41a5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1af4191
sub eax, ebx
mov ebx, 1
jne 0x1af41d8
mov ecx, 1
add dl, dl
jne 0x1af41be
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1af41c9
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1af41b5
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1af4125
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1af41ef
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1af41fa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1af41e6
cmp eax, 0x7d00
jae 0x1af421d
cmp eax, 0x500
jb 0x1af4218
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1af4125
cmp eax, 0x7f
ja 0x1af4220
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1af4125
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1af424e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1af4125
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10