joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442a10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47f328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0047815f
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00442370
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0047808d
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00474951
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00474951
push 1
push 0
push 0
mov ecx, esi
call fcn.004748f9
push 1
push 0
push 1
mov ecx, esi
call fcn.004748f9
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004781d1
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x442b90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47f348
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0047815f
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00442370
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0047808d
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x442c54
cmp dword [esp + 0x40], 1
jne 0x442c52
cmp ecx, eax
jge 0x442c54
mov eax, ecx
cmp eax, 0xc8
jge 0x442c60
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00442a10
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004781d1
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x443460
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47f3f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00472d6f
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00478407
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00479923
test eax, eax
je 0x44357c
mov ecx, dword [esp + 0x3c]
call fcn.00478434
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x443540
push edi
mov ecx, esi
call fcn.00475a9b
mov ecx, esi
call fcn.00443720
cmp dword [esp + 0x38], 1
jne 0x443575
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00475bd6
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x445760
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x445793
push esi
call fcn.00453b10
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44578c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x445819
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x445802
mov eax, dword [esi + 8]
test eax, eax
je 0x4457b7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4457fe
cmp eax, 2
je 0x445802
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4457aa
cmp eax, 3
je 0x4457dd
cmp eax, 1
jne 0x4457aa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4457aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4457aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00445840
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x445828
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00445840
add esp, 4
pop esi
ret

Function at 0x4460c0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4460e1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4460e1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4460e1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x473b64
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x473b9c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00471c1b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00471bf3
jmp 0x473ba8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x475255
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x475297
call fcn.0047ad13
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x475297
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47528e
xor eax, eax
jmp 0x47529f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004752a5
pop edi
pop esi
pop ebx
ret 4
Function at 0x47b243
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47b271
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47b28f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047b1a9
jmp 0x47b28f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47b28f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047b1a9
test edi, edi
mov eax, edi
jne 0x47b279
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4cfb00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x40c136
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x404080
xor ebx, ebx
lea edx, [ebp + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcIsMissing]
test ax, ax
je 0x4cfc02
call fcn.004cfa40
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
push ecx
call fcn.004cf9d0
test ax, ax
je 0x4cfb6c
dec dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
lea eax, [edx - 2]
cdq
xor eax, edx
sub eax, edx
push eax
mov dword [ebp - 0x14], eax
call fcn.004cf9e0
test ax, ax
je 0x4cfb6c
mov ecx, dword [ebp - 0x14]
mov esi, 0x763d
mov eax, ecx
mov edi, 0x7663
cdq
idiv esi
mov eax, ecx
mov esi, edx
cdq
idiv edi
mov eax, ecx
mov ecx, 0x7673
mov dword [0x5aec34], esi
mov edi, edx
cdq
idiv ecx
cmp esi, ebx
mov dword [0x5aec38], edi
mov dword [0x5aec3c], edx
jne 0x4cfbca
mov dword [0x5aec34], 0xab
cmp edi, ebx
jne 0x4cfbd8
mov dword [0x5aec38], 0xac
cmp edx, ebx
jne 0x4cfbe6
mov dword [0x5aec3c], 0xaa
mov dword [0x5aebfc], 0
mov dword [0x5aec00], 0
wait
push 0x4cfc8a
jmp 0x4cfc80
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrErrVarCopy]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x28]
push eax
call fcn.004dd740
fabs
call dword [sym.imp.MSVBVM60.DLL___vbaFPFix]
fstp qword [0x5aec08]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
fld qword [0x5aec08]
fcomp qword [0x402780]
fnstsw ax
test ah, 0x41
jne 0x4cfc6e
fld qword [0x5aec08]
fdiv qword [0x402780]
call dword [sym.imp.MSVBVM60.DLL___vbaFPFix]
fmul qword [0x402780]
fsubr qword [0x5aec08]
fstp qword [0x5aec08]
wait
push 0x4cfc8a
jmp 0x4cfc80
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
ret
Function at 0x4dd440
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x40c136
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4049e8
mov eax, dword [0x5aeb48]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], 0
mov edi, ecx
mov esi, dword [eax + 0x2c]
and edi, 0x80000000
mov eax, 0x7fffffff
imul edi
sub edx, edi
sar edx, 0x1e
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
xor dl, 0x30
mov byte [esi], dl
mov edx, ecx
sar edx, 0x1e
sar eax, 0x1d
and dl, 1
and al, 1
xor dl, 0x30
xor al, 0x30
mov byte [esi + 2], dl
mov byte [esi + 4], al
mov edx, ecx
mov eax, ecx
sar edx, 0x1c
sar eax, 0x1b
and dl, 1
and al, 1
xor dl, 0x30
xor al, 0x30
mov byte [esi + 6], dl
mov byte [esi + 8], al
mov edx, ecx
mov eax, ecx
sar edx, 0x1a
sar eax, 0x19
and dl, 1
and al, 1
xor dl, 0x30
xor al, 0x30
mov byte [esi + 0xa], dl
mov byte [esi + 0xc], al
mov edx, ecx
mov eax, ecx
sar edx, 0x18
sar eax, 0x17
and dl, 1
and al, 1
xor dl, 0x30
xor al, 0x30
mov byte [esi + 0xe], dl
mov byte [esi + 0x10], al
mov edx, ecx
mov eax, ecx
sar edx, 0x16
sar eax, 0x15
and dl, 1
and al, 1
xor dl, 0x30
xor al, 0x30
mov byte [esi + 0x12], dl
mov byte [esi + 0x14], al
mov edx, ecx
mov eax, ecx
sar edx, 0x14
sar eax, 0x13
and dl, 1
and al, 1
xor dl, 0x30
xor al, 0x30
mov byte [esi + 0x16], dl
mov byte [esi + 0x18], al
mov edx, ecx
sar edx, 0x12
mov eax, ecx
and dl, 1
sar eax, 0x11
xor dl, 0x30
and al, 1
mov byte [esi + 0x1a], dl
xor al, 0x30
mov edx, ecx
mov byte [esi + 0x1c], al
sar edx, 0x10
mov eax, ecx
and dl, 1
sar eax, 0xf
xor dl, 0x30
and al, 1
mov byte [esi + 0x1e], dl
xor al, 0x30
mov edx, ecx
mov byte [esi + 0x20], al
sar edx, 0xe
mov eax, ecx
and dl, 1
sar eax, 0xd
xor dl, 0x30
and al, 1
mov byte [esi + 0x22], dl
xor al, 0x30
mov edx, ecx
mov byte [esi + 0x24], al
sar edx, 0xc
mov eax, ecx
and dl, 1
sar eax, 0xb
xor dl, 0x30
and al, 1
mov byte [esi + 0x26], dl
xor al, 0x30
mov edx, ecx
mov byte [esi + 0x28], al
sar edx, 0xa
mov eax, ecx
and dl, 1
sar eax, 9
xor dl, 0x30
and al, 1
mov byte [esi + 0x2a], dl
xor al, 0x30
mov edx, ecx
mov byte [esi + 0x2c], al
sar edx, 8
mov eax, ecx
and dl, 1
sar eax, 7
xor dl, 0x30
and al, 1
mov byte [esi + 0x2e], dl
xor al, 0x30
mov edx, ecx
mov byte [esi + 0x30], al
sar edx, 6
mov eax, ecx
and dl, 1
sar eax, 5
xor dl, 0x30
and al, 1
mov byte [esi + 0x32], dl
xor al, 0x30
mov edx, ecx
mov byte [esi + 0x34], al
sar edx, 4
mov eax, ecx
and dl, 1
sar eax, 3
xor dl, 0x30
and al, 1
mov byte [esi + 0x36], dl
xor al, 0x30
mov edx, ecx
mov byte [esi + 0x38], al
sar edx, 2
mov eax, ecx
and dl, 1
sar eax, 1
and al, 1
xor dl, 0x30
and cl, 1
xor al, 0x30
mov byte [esi + 0x3a], dl
xor cl, 0x30
push 0x40
mov byte [esi + 0x3c], al
push esi
mov byte [esi + 0x3e], cl
call dword [sym.imp.OLEAUT32.DLL_SysAllocStringByteLen]
mov edx, eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push 0x4dd64f
jmp 0x4dd64e
ret
Function at 0x89e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0089e1a8
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 0x89e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x89e06a
add dl, dl
jne 0x89e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x89e0dc
xor eax, eax
add dl, dl
jne 0x89e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x89e17d
add dl, dl
jne 0x89e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x89e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x89e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x89e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x89e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x89e075
mov eax, 1
add dl, dl
jne 0x89e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x89e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x89e0e1
sub eax, ebx
mov ebx, 1
jne 0x89e128
mov ecx, 1
add dl, dl
jne 0x89e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x89e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x89e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x89e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x89e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x89e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x89e136
cmp eax, 0x7d00
jae 0x89e16d
cmp eax, 0x500
jb 0x89e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x89e075
cmp eax, 0x7f
ja 0x89e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x89e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x89e19e
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 0x89e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0x62854548
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x42f3f8
mov ecx, 0x6f36407e
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ed0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x63c600c8
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x64d4199e
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4f8b10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb6000]
push edi
jmp 0x4f8b2a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f8b31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f8b20
mov eax, 1
add ebx, ebx
jne 0x4f8b43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f8b54
jne 0x4f8b73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f8b73
dec eax
add ebx, ebx
jne 0x4f8b60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f8b38
add ebx, ebx
jne 0x4f8b6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f8bc5
xor ecx, ecx
sub eax, 3
jb 0x4f8b8b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f8bfa
sar eax, 1
mov ebp, eax
jmp 0x4f8b96
add ebx, ebx
jne 0x4f8b96
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f8b64
inc ecx
add ebx, ebx
jne 0x4f8ba4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f8b64
add ebx, ebx
jne 0x4f8bb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f8ba6
jne 0x4f8bc2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f8ba6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f8be4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f8bd6
jmp 0x4f8b26
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f8be4
add edi, ecx
jmp 0x4f8b26
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f8c02
cmp byte [edi], 0x11
jne 0x4f8c02
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 0x4f8c07
lea edi, [esi + 0xf4000]
mov eax, dword [edi]
or eax, eax
je 0x4f8c7f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x140a38]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x140b8c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4f8c34
mov ecx, edi
jns 0x4f8c63
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 + 0x140b90]
or eax, eax
je 0x4f8c79
mov dword [ebx], eax
add ebx, 4
jmp 0x4f8c51
call dword [esi + 0x140ba0]
mov ebp, dword [esi + 0x140b94]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4f8cb3
sub esp, 0xffffff80
jmp 0x416310
Function at 0x4fab46a
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4fb0294]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x108]
push edx
push 0xf003f
push 0
push ecx
push eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4fab502
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push edi
mov edi, 0x100
jmp 0x4fab4cc
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x108]
call fcn.04fb8cde
push edi
lea eax, [ebp - 0x104]
push eax
push 0
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x4fab4ba
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.04fae377
leave
ret 8

Function at 0x4fab621
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x4fb0294]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x410], ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
push esi
mov dword [ebp - 0x40c], ecx
cmp edi, ebx
je 0x4fab689
push eax
mov esi, 0x400
push esi
lea eax, [ebp - 0x404]
push eax
call fcn.04fab515
push 0x4fa15b8
push esi
lea eax, [ebp - 0x404]
push eax
call fcn.04fab54f
push edi
push esi
lea eax, [ebp - 0x404]
push eax
call fcn.04fab54f
lea eax, [ebp - 0x404]
push ebx
lea ecx, [ebp - 0x408]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x4fab6e3
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp - 0x40c]
push 1
push ebx
push dword [ebp - 0x410]
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x408]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.04fae377
leave
ret 8