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

Disassembly:
sar bh, cl
daa
mov bl, 0x5e
cmp eax, 0xb65e3048
dec eax
xor byte [esi - 0x4a], bl
xor eax, 0x8c9c186d
push ss
mov byte [0x528300b9], al
add bh, byte [edi - 0x3aa71a3e]
fcom qword [edx - 0x62]
add eax, dword [edi]
out 0x49, al
cmp eax, 0x3b928db8
mov bh, 0x18
loope 0x4fb45b
adc dword [edx + 2], 0xffffffbf
ret 0x58e5
add dword [ebp + eax*8 - 0x3a], esp
cmp byte [esi - 0x2b1ea811], ah
jbe 0x4fb46e
arpl di, bp
jle 0x4fb4c3
or al, 0x1f
add eax, dword [ebp - 0x59a5b51c]
std
cmp ah, al
test eax, 0xd53a6bda
fabs
cmp eax, dword [eax - 9]
xchg edi, eax
xor bl, 0xa7
push esi
push ebp
adc byte [eax + 0x75], cl
xchg edi, eax
das
inc edx
rcr bh, 0xfc
insb byte es:[edi], dx
dec eax
pop esp
sub ebx, edx
and byte [edx], dh
adc esp, dword [edx + 0x11]
fnstcw word [eax - 0x66]
adc ecx, ebx
js 0x4fb461
push 0x6c
mov bh, 0x7a
or esi, dword [ebx]
jmp esi

Function at 0x4fc4c4
Capabilities:
Encode data using xor

Disassembly:
jns 0x4fc535
les eax, [eax + 0x28fdb83a]
jmp 0x4fc4f2
cmp byte [edx], 0xb8
std
sub bl, ch
daa
add bl, byte [edx + 0x156a495b]
test al, 0x3d
sub dword [edi + 0x1f6e4be4], eax
rcr byte [0xba8a290], cl
sbb dword [ecx + 0x5b], esi
mov byte [0x71190ba8], al
pop ebx
cmp esp, esp
cmc
mov byte [0x46f982cc], al
pop eax
mul bl
outsd dx, dword [esi]
mov dh, 0xdb
invalid
invalid
popfd
invalid
popfd
invalid

Function at 0x4fe6fc
Capabilities:
Encode data using xor

Disassembly:
adc al, 0x6b
jo 0x4fe6fa
pop eax
dec edi
int 0xb0
pop eax
push edi
lahf
ljmp 0x73c8
adc ch, byte [eax - 0x53cb27f9]
lodsb al, byte [esi]
and ebx, ebx
xor edx, dword [ebx + 0x3e]
mov edi, ebp
inc edi
mov eax, 0x15a28285
sbb bl, 0xc2
dec edx
enter 0x5665, 0xffffffffffffff9b
fsub dword [eax]
enter 0xffffffffffff923e, 0xffffffffffffffbc
pop ss
push ss
xlatb
push esi
movsd dword es:[edi], dword [esi]
inc esi
test ecx, edi
sub ah, ch
mov al, 0x69
pop ebx
nop dword [ebx - 0x7f]
outsb dx, byte fs:[esi]
mov ch, 0x29
mov ecx, 0x9079d1b0
pop ebx
adc byte [esi], 0x21
xor al, 0x29
fdivr st(6)
push ebp
pop esp
cmpsd dword [esi], dword es:[edi]
jle 0x4fe6ff
imul eax, edx, 0xffffffee
add esp, dword [edi + edx + 0x4f]
sbb bh, 0x76
add dword [ebp + 0x39], ecx
pop ecx
mov byte [eax], dl
lcall 0xd366, 0xc9cf91e5
fst dword [edx - 0x7f49b23a]
scasb al, byte es:[edi]
jo 0x4fe7a5
outsd dx, dword [esi]
jnp 0x4fe808
mov edx, 0x5f56d1f7
dec ebx
or al, 0xc3
invalid
invalid
invalid
invalid
invalid
Function at 0x412281
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x412290
pop dword [ebp - 0x28]
mov eax, 0x13f7add9
add eax, 0xec4974b7
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x30852
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x25e5
xor edx, edx
add edx, eax
mov ebx, 0x6fef666e
sub ebx, 0x6fabf86e
add ebx, dword [ebp - 0x28]
mov edi, 0x6a9704c1
add edi, 0xb49f946f
xor dword [ebp - 4], 0xb48ed0b1
mov esi, dword [ebx]
xor esi, edi
add dword [ebp - 0x20], ebx
mov dword [edx], esi
xor dword [ebp - 8], 0xd43c7a0c
add edx, 4
add ebx, 0x4f5efc2f
sub ebx, 0x4f5efc2b
loop 0x4122e6
add eax, 0x837d9ca
add eax, 0xf7c8b09d
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x23c74b9
sub ecx, 0x1fc74b9
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x427795
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x4277e8
push esi
push dword [ebp + 8]
call fcn.0042797e
mov edi, eax
test edi, edi
je 0x4277e3
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4277e3
mov eax, dword [ebp - 8]
jmp 0x4277fa
mov eax, dword [ebp + 0x10]
jmp 0x4277fa
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x43ad61
Capabilities:
Read file on windows

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x24de4998
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x7f4023a2
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x1000b7a1
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x824
mov eax, dword [0x10041024]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
push ebp
mov ebp, dword [esp + 0x830]
lea eax, [esp + 0x428]
push esi
mov esi, dword [esp + 0x838]
xor ebx, ebx
push edi
mov edi, 0x400
push edi
push ebx
push eax
call fcn.1000de50
push esi
push ebx
push ebp
push 0xffffffffffffffff
lea eax, [esp + 0x44c]
push edi
push eax
call fcn.10018088
movzx ecx, byte [esp + 0x853]
lea edi, [esp + 0x34]
xor edx, edx
test eax, eax
push 8
cmovs ecx, edx
xor eax, eax
mov byte [esp + 0x857], cl
pop ecx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push 0x20
push eax
call fcn.10018088
push 0x10038198
lea eax, [esp + 0x40]
push 0x20
push eax
call fcn.10018088
push 0x400
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.1000de50
mov ecx, ebp
add esp, 0x44
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000b846
sub ecx, edx
cmp ecx, 6
jbe 0x1000b86d
lea eax, [ebp - 6]
add eax, ecx
push str.__08x_
push eax
call fcn.10018088
pop ecx
pop ecx
test eax, eax
jne 0x1000b86d
xor ebx, ebx
inc ebx
lea esi, [esp + 0x10]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000b874
sub esi, ecx
lea eax, [esp + 0x430]
push eax
mov ecx, 0x10036ae3
test ebx, ebx
mov eax, str.Error:
cmove eax, ecx
push eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push eax
push str.P:_04d_T:_04d__s_s
mov eax, 0x3ff
sub eax, esi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x4c]
add eax, esi
push eax
call fcn.10018088
mov ecx, dword [esp + 0x44b]
test eax, eax
push esi
lea eax, [esp + 0x34]
mov edx, 0x2e2e2e
push eax
lea eax, [esp + 0x58]
cmovs ecx, edx
push eax
mov dword [esp + 0x457], ecx
call fcn.1000d8d0
lea edi, [esp + 0x5c]
add esp, 0x2c
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000b8ee
mov ax, word [0x100381c4]
mov word [edi], ax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x830]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000be90
add esp, 0x824
ret

Function at 0x10018088
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x10018097
pop dword [ebp - 0x20]
mov eax, 0xc6ecd5b
sub eax, 0xfc6d4cc4
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x453d9
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x5eaf
mov esi, eax
mov edi, 0x633eb9b8
add edi, 0xacc5a648
add edi, dword [ebp - 0x20]
mov ebx, 0x7f45d8bc
sub ebx, 0x90b1927b
xor dword [ebp - 4], 0x4d42fd05
mov edx, dword [edi]
sub dword [ebp - 8], edx
sub edx, ebx
add dword [ebp - 0xc], 0x790bb0d0
mov dword [esi], edx
xor dword [ebp - 0x14], 0x9b9f9c49
add esi, 0x3b2cfcc5
add esi, 0xc4d3033f
add edi, 4
loop 0x100180eb
add eax, 0x16d8f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x10001350
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0x288
push 0x288
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10001396
push 0x10005930
call fcn.100016a0
add esp, 4
push 0x100072d8
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor al, al
jmp 0x100014de
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x100013ee
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100013ee
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.100016a0
add esp, 4
push 0x100072d8
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor al, al
jmp 0x100014de
mov byte [ebp - 1], 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x100014ce
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, 1
imul edx, ecx, 5
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx + 0x194]
push ecx
mov edx, 1
shl edx, 2
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx + 0x194]
push ecx
mov edx, 1
imul eax, edx, 3
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax + 0x194]
push edx
mov eax, 1
shl eax, 1
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax + 0x194]
push edx
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax + 0x194]
push edx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx + 0x194]
push eax
push str._02X__02X__02X__02X__02X__02X
push 0x12
push 0x100072d8
call fcn.10001700
add esp, 0x24
mov ecx, dword [0x1000592c]
push ecx
mov edx, dword [sym.TetConfig.dll_Ordinal_1]
push edx
push 0x100072d8
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x100014bc
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x1000140e
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x100022e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
movzx ecx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0
jmp 0x1000231f
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
add ecx, 0x28
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x10], ecx
jge 0x1000243e
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
jne 0x100023af
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jle 0x100023aa
lfence
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x34]
push eax
push 4
push 0x1000
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10002383
xor eax, eax
jmp 0x10002443
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x1000230d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.100022c0
add esp, 8
test eax, eax
jne 0x100023d0
xor eax, eax
jmp 0x10002443
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x34]
push edx
push 4
push 0x1000
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10002407
xor eax, eax
jmp 0x10002443
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
jmp 0x1000230d
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40ce38
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419408]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004078cb
mov dword [ebp - 0x14], eax
cmp dword [0x43f278], esi
jne 0x40cf2b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40ceb8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d00b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d00b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d00b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43f278], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43f27c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43f280], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43f288], eax
test eax, eax
je 0x40cf28
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43f284], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40cf50
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40cf43
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40cf65
push 4
pop eax
jmp 0x40d00d
cmp dword [ebp - 0x14], esi
je 0x40cf65
push dword [0x43f278]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40cf4a
mov eax, dword [0x43f284]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40cfc3
cmp dword [0x43f288], edi
je 0x40cfc3
push eax
call ebx
push dword [0x43f288]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40cfc3
test eax, eax
je 0x40cfc3
call ecx
test eax, eax
je 0x40cfb8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40cfb8
test byte [ebp - 8], 1
jne 0x40cfc3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40cff3
mov eax, dword [0x43f27c]
cmp eax, edi
je 0x40cff0
push eax
call ebx
test eax, eax
je 0x40cff0
call eax
mov esi, eax
test esi, esi
je 0x40cff0
mov eax, dword [0x43f280]
cmp eax, edi
je 0x40cff0
push eax
call ebx
test eax, eax
je 0x40cff0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43f278]
call ebx
test eax, eax
je 0x40d00b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d00d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004041de
mov esp, ebp
pop ebp
ret
Function at 0x432000
Capabilities:
Check for vm using instruction vpcext
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x4dec273f
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x35ff5087
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x401e00
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
in al, 6
sti
mov al, byte [0x280c8c39]
mov byte [eax - 0x671da739], ah
and edi, dword [edx]
pop ds
sub byte [ecx + 0x59c44280], dh
fdivr qword [edi - 3]
add eax, 0xae142b2
mov dl, 0x42
loope 0x401e29
xchg dword [edi], edx
sub byte [ebx], al
mov byte [eax + ecx*2], 0x1d
sti
test byte [edx], dl
mov al, byte [0x2577d84]
adc ah, byte [eax + 0x2577d84]
inc eax
test eax, 0xc004c641
add byte [0x10513014], al
mov ebp, 0x8229940
dec eax
pop ss
shr byte [eax], 0xe1
mov ebx, 0x253a0212
xchg byte [ebp + 0x2c], ah
mov word [edx], cs
xor al, 0xa0
jle 0x401e1b
les edi, [edx + 0x40]
mov eax, dword [0x96c16e50]
and byte [eax + 0x1a], al
mov eax, dword [0x49509a73]
jecxz 0x401e72
invalid
test eax, 0xd5173214
push 0x50a6a878
xchg byte [esp + ecx*8 - 0x48], dl
push ecx
xor cl, al
sbb byte [edx], bl
mov byte [0x1250946f], al
xchg byte [ebp - 0x30], cl
add bl, byte [ebp + 0x4635451a]
cmp dh, byte [eax + 0xcc88ee0]
sbb byte [ecx - 0x30], al
xchg ecx, eax
invalid
Function at 0x403470
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5aa0d0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403640
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call sym.runtime.morestack_noctxt
jmp sym.internal_chacha8rand.setup
Function at 0x40ca40
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x5aa0d0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40cc0b
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40ca69
mov eax, 0x7000000
jmp 0x40ca71
test eax, eax
je 0x40cbe6
mov dword [esp + 0x34], eax
mov ecx, dword [0x5aa0d0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x4a4]
mov ebx, dword [ecx + 0x4a8]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x4a4], ebx
mov dword [ecx + 0x4a8], ebp
mov dword [esp], edx
call sym.runtime.uint32tofloat64
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x24]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x560e20]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x40cbfe
cmp edx, 0x21
jae 0x40cbf2
movsd qword [esp + 0x14], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x1c], xmm0
mov dword [esp], ecx
mov dword [esp + 4], ebp
call sym.runtime.int64tofloat64
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.uint64tofloat64
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x4eac88]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x4eacc8]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40cbc1
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x4eacf8]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call sym.runtime.panicIndexU
mov eax, edx
mov ecx, 0x21
call sym.runtime.panicExtendIndexU
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.fastexprand