joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x11154091
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
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
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x51e6546e
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x100118b0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x100ffa04]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x224]
push str.SoftwareClassesCLSID_
call fcn.10007e90
push 0x104
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [edi + 0xc]
push dword [eax + 0xc]
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x224]
call fcn.1000c9c0
cmp dword [ebp - 0x210], 8
lea eax, [ebp - 0x224]
cmovae eax, dword [ebp - 0x224]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov esi, eax
cmp esi, 2
je 0x10011939
test esi, esi
jle 0x10011937
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x10011978
lea ecx, [ebp - 0x29c]
call fcn.100168a0
mov eax, dword [edi + 0xc]
sub esp, 0x10
mov ecx, esp
mov eax, dword [eax + 0xc]
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
lea ecx, [ebp - 0x29c]
call fcn.10016cf0
mov esi, eax
lea ecx, [ebp - 0x29c]
xor eax, eax
cmp esi, 0x80070002
cmove esi, eax
call fcn.10016980
cmp dword [ebp - 0x210], 8
jb 0x1001198c
push dword [ebp - 0x224]
call fcn.10022bc0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1008aaed
mov esp, ebp
pop ebp
ret
Function at 0x1001b050
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100ffa04]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, 0x100fe6f0
push ebx
push esi
mov esi, ecx
xor bl, bl
cmp dword [0x100fe704], 8
lea ecx, [ebp - 0x21c]
push ecx
cmovae eax, dword [0x100fe6f0]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1001b21d
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], 0x209
push eax
lea eax, [ebp - 0x220]
push eax
push 2
push dword [0x100fe718]
push 0
push dword [ebp - 0x21c]
call edi
test eax, eax
jne 0x1001b0ff
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001b0e0
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x20]
call fcn.10007720
lea eax, [ebp - 0x218]
mov dword [esi + 0x38], 0
push eax
lea ebx, [esi + 0x38]
mov dword [ebp - 0x218], 4
push ebx
lea eax, [ebp - 0x220]
push eax
push 0x10
push dword [0x100fe710]
push 0
push dword [ebp - 0x21c]
call edi
test eax, eax
jne 0x1001b17d
cmp dword [ebx], 0xffff
je 0x1001b17d
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x10
push dword [0x100fe714]
push 0
push dword [ebp - 0x21c]
call edi
test eax, eax
jne 0x1001b17d
cmp dword [ebp - 0x214], eax
setne al
mov byte [esi + 0x3e], al
lea eax, [ebp - 0x218]
mov dword [ebp - 0x214], 1
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x10
push dword [0x100fe720]
push 0
push dword [ebp - 0x21c]
call edi
test eax, eax
jne 0x1001b1bb
mov eax, dword [ebp - 0x214]
mov dword [esi + 0x4c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x214], 0
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x10
push dword [0x100fe71c]
push 0
push dword [ebp - 0x21c]
call edi
pop edi
test eax, eax
jne 0x1001b1fd
cmp dword [ebp - 0x214], eax
setne al
mov byte [esi + 0x50], al
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aaed
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.1008aaed
mov esp, ebp
pop ebp
ret 4
Function at 0x100212a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100ffa04]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov byte [ebp - 0x1d], 1
xor esi, esi
nop dword [eax]
inc esi
mov ecx, ebx
cmp dword [ebx + 0x14], 8
jb 0x100212cb
mov ecx, dword [ebx]
mov edi, dword [ebx + 0x10]
cmp esi, edi
jae 0x100212f2
mov eax, edi
sub eax, esi
lea esi, [ecx + esi*2]
je 0x100212f2
nop dword [eax + eax]
cmp word [esi], 0x5c
je 0x10021395
add esi, 2
sub eax, 1
jne 0x100212e0
or esi, 0xffffffff
test esi, esi
je 0x100212c0
cmp esi, 2
jne 0x1002139e
push 1
mov ecx, ebx
call fcn.10020f80
cmp word [eax], 0x3a
je 0x100212c0
xor eax, eax
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
cmp edi, esi
mov eax, esi
mov dword [ebp - 8], 7
cmovb eax, edi
mov ecx, ebx
cmp dword [ebx + 0x14], 8
jb 0x10021336
mov ecx, dword [ebx]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10007720
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
push 0
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10021369
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10021435
cmp esi, 0xffffffff
je 0x1002145a
mov eax, dword [ebx + 0x10]
dec eax
cmp esi, eax
je 0x1002145a
cmp dword [ebp - 8], 8
jb 0x100212c0
push dword [ebp - 0x1c]
call fcn.10022bc0
jmp 0x100212c0
sub esi, ecx
sar esi, 1
jmp 0x100212f5
cmp esi, 1
jne 0x10021311
push 0
mov ecx, ebx
call fcn.10020f80
cmp word [eax], 0x2e
je 0x100212c0
push 0
mov ecx, ebx
call fcn.10020f80
cmp word [eax], 0x5c
jne 0x10021311
mov esi, dword [ebx + 0x14]
mov edx, ebx
cmp esi, 8
jb 0x100213d9
mov edx, dword [ebx]
cmp edi, 2
jbe 0x100213f6
lea ecx, [edi - 2]
lea eax, [edx + 4]
test ecx, ecx
je 0x100213f6
cmp word [eax], 0x5c
je 0x10021426
add eax, 2
sub ecx, 1
jne 0x100213e8
or eax, 0xffffffff
inc eax
mov ecx, ebx
cmp esi, 8
jb 0x10021403
mov ecx, dword [ebx]
cmp eax, edi
jae 0x1002141e
lea esi, [ecx + eax*2]
sub edi, eax
je 0x1002141e
nop
cmp word [esi], 0x5c
je 0x1002142c
add esi, 2
sub edi, 1
jne 0x10021410
or esi, 0xffffffff
jmp 0x100212c0
sub eax, edx
sar eax, 1
jmp 0x100213f9
sub esi, ecx
sar esi, 1
jmp 0x100212c0
xor bl, bl
cmp dword [ebp - 8], 8
jb 0x10021445
push dword [ebp - 0x1c]
call fcn.10022bc0
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aaed
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 8], 8
jb 0x10021468
push dword [ebp - 0x1c]
call fcn.10022bc0
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x1d]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1008aaed
mov esp, ebp
pop ebp
ret 4

Function at 0x10021670
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x100216a1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10021690
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x100261b0
Capabilities:
Create thread

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 8], 0xffffffff
je 0x100261bd
mov al, 1
pop edi
ret
push ebx
push esi
lea esi, [edi + 0x14]
test esi, esi
jne 0x100261ca
xor bl, bl
jmp 0x100261d6
mov eax, dword [esi]
mov ecx, esi
push 0xffffffffffffffff
mov eax, dword [eax]
call eax
mov bl, al
push edi
push 0
push 0x10025fd0
call fcn.1009f60e
add esp, 0xc
mov dword [edi + 8], eax
cmp eax, 0xffffffff
setne bh
cmp bl, 1
jne 0x100261ff
test esi, esi
je 0x100261ff
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
pop esi
mov al, bh
pop ebx
pop edi
ret

Function at 0x10026470
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x101046cc]
sub esp, 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x100264af
push 0x101046d0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1002653f
push 0x101046d8
mov dword [0x101046cc], 1
call esi
mov eax, dword [0x101046cc]
cmp eax, 1
jne 0x10026549
lea eax, [ebp - 8]
push eax
call esi
test eax, eax
je 0x10026549
push ebx
mov ebx, dword [ebp - 4]
mov eax, ebx
push edi
mov edi, dword [ebp - 8]
mov ecx, edi
sub ecx, dword [0x101046d8]
push 0
sbb eax, dword [0x101046dc]
push 0x989680
push eax
push ecx
call fcn.1008b3f0
push dword [0x101046d4]
push dword [0x101046d0]
push edx
push eax
call fcn.1008ab00
mov esi, edx
mov ecx, eax
cmp esi, 8
jl 0x1002655b
jg 0x10026512
cmp ecx, 0x61c46800
jbe 0x1002655b
mov eax, dword [0x101046e0]
mov edx, dword [0x101046e4]
add eax, ecx
mov dword [0x101046d8], edi
pop edi
adc edx, esi
mov dword [0x101046dc], ebx
pop ebx
mov dword [0x101046e0], eax
mov dword [0x101046e4], edx
pop esi
mov esp, ebp
pop ebp
ret
mov dword [0x101046cc], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
pop esi
lea eax, [eax + eax*4]
add eax, eax
xor edx, edx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x101046e0]
mov edx, dword [0x101046e4]
add eax, ecx
pop edi
pop ebx
adc edx, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002a120
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [str.SoftwareAMD]
lea eax, [ebp - 8]
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1002a18b
lea eax, [ebp - 8]
push eax
push esi
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1002a18b
push dword [ebp - 4]
push str.Failed_to_find_regpath__using_default_d
push 1
push str.EncodeCoreHelper
push 1
push 0x176
push str..........._runtime_srccomponentsEncoderCoreEncodeCoreHelper.cpp
call fcn.10026a40
add esp, 0x1c
cmp dword [ebp - 4], 1
sete al
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x10
push str.EncQueueEnabled
push str.AmfEncCore
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
push dword [ebp - 4]
test eax, eax
jne 0x1002a1cf
push str.Found_key:_EncQueue_Enabled_status_d
push 1
push str.EncodeCoreHelper
push 2
push 0x17f
jmp 0x1002a1e2
push str.Found_regpath__but_key_not_found_using_default_d
push 1
push str.EncodeCoreHelper
push 2
push 0x183
push str..........._runtime_srccomponentsEncoderCoreEncodeCoreHelper.cpp
call fcn.10026a40
add esp, 0x1c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 1
pop esi
sete al
mov esp, ebp
pop ebp
ret
Function at 0x10060be0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100ffa04]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
mov dword [ebp - 0x20], esi
push edi
mov dword [esi], vtable.AMFEventsCounter.0
mov eax, dword [ebx]
mov edi, dword [eax]
cmp edi, eax
je 0x10060d1a
nop dword [eax]
push str.Events_
call sub.KERNEL32.dll_OutputDebugStringW
cmp dword [edi + 0x24], 8
lea eax, [edi + 0x10]
jb 0x10060c25
mov eax, dword [eax]
push eax
call sub.KERNEL32.dll_OutputDebugStringW
push str.:_nbegin_n
call sub.KERNEL32.dll_OutputDebugStringW
mov eax, dword [edi + 0x28]
mov esi, dword [eax]
cmp esi, eax
je 0x10060cc9
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x10060c4d
mov eax, dword [eax]
push dword [esi + 0x2c]
push dword [esi + 0x28]
push eax
lea eax, [ebp - 0x1c]
push str._____s_I64d_n
push eax
call fcn.10022520
add esp, 0x14
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
cmovae eax, dword [ebp - 0x1c]
push eax
call sub.KERNEL32.dll_OutputDebugStringW
cmp dword [ebp - 8], 8
jb 0x10060c84
push dword [ebp - 0x1c]
call fcn.10022bc0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10060caa
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10060ca6
cmp esi, dword [eax + 8]
jne 0x10060ca6
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10060c96
mov esi, eax
jmp 0x10060cc0
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x10060cc0
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10060cb4
cmp esi, dword [edi + 0x28]
jne 0x10060c42
push str.end_n_n
call sub.KERNEL32.dll_OutputDebugStringW
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
je 0x10060cf9
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x10060cf5
cmp edi, dword [eax + 8]
jne 0x10060cf5
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10060ce5
mov edi, eax
jmp 0x10060d0f
mov edi, eax
mov ecx, dword [edi]
cmp byte [ecx + 0xd], 0
jne 0x10060d0f
mov eax, dword [ecx]
mov edi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10060d03
cmp edi, dword [ebx]
jne 0x10060c10
mov esi, dword [ebp - 0x20]
lea ecx, [esi + 0x18]
call fcn.10025dd0
lea ecx, [esi + 0x10]
call fcn.10025e40
mov eax, dword [ebx]
mov ecx, ebx
push dword [eax + 4]
push ebx
call fcn.10060af0
push dword [ebx]
call fcn.10022bc0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008aaed
mov esp, ebp
pop ebp
ret
Function at 0x10063eb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea ecx, [ebp - 8]
push esi
mov esi, dword [ebp + 8]
push edi
push 0xffffffffffffffff
lea eax, [esi + 0x54]
push eax
call fcn.10025c80
cmp byte [ebp + 0xc], 0
lea edi, [esi + 0x60]
je 0x10063f24
cmp dword [edi], 0
jne 0x10063f09
lea ecx, [esi + 0x94]
mov word [esi + 0x90], 0
call fcn.10026170
lea ecx, [esi + 0x9c]
call fcn.10026170
push esi
push 0
push 0x10063790
call fcn.1009f60e
add esp, 0xc
mov dword [esi + 0x5c], eax
push edi
call fcn.10026320
add esp, 4
lea ecx, [ebp - 8]
call fcn.10025df0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
push edi
call fcn.10026310
add esp, 4
cmp dword [edi], 0
jne 0x10063f71
lea ecx, [esi + 0x94]
mov byte [esi + 0x90], 1
call fcn.10026190
cmp byte [esi + 0x91], 0
jne 0x10063f63
nop dword [eax]
push 0
call fcn.100266a0
add esp, 4
cmp byte [esi + 0x91], 0
je 0x10063f50
mov ecx, esi
mov dword [esi + 0x5c], 0
call fcn.10061b50
lea ecx, [ebp - 8]
call fcn.10025df0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100af428
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100af4c5
push ebx
push esi
call fcn.100af3f1
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100abb9a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100af472
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100af4c4
push edi
push eax
call fcn.100a52ec
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100af492
call fcn.100a52b2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100af4c3
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100abb9a
add esp, 0x20
test eax, eax
jne 0x100af4b1
push edi
call fcn.100a52b2
jmp 0x100af4b9
push ebx
call fcn.100a52b2
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100af4c8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100af4d9
pop esi
ret
push ebx
push edi
push esi
call fcn.100af3f1
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100a52ec
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100af501
push ebx
push esi
push edi
call fcn.1008bf40
add esp, 0xc
push 0
call fcn.100a52b2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100af8d1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100af516

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1a547751
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x56694cd4
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4010ca
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x502440
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
and dword [eax + 8], 0
lea ecx, [ebp - 0x34]
mov edi, dword [edx + 4]
mov esi, dword [edx + 8]
mov dword [ebp - 0x28], edi
mov edx, edi
push esi
call fcn.004cf780
pop eax
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000000
je 0x40114a
lea edx, [ebp - 0x34]
mov dword [edx], ecx
mov dword [edx + 4], esi
mov dword [edx + 8], eax
lea ecx, [ebp - 0x40]
push 1
call fcn.004d5b10
pop eax
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x3c]
cmp edi, 0x80000000
jne 0x401172
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov dword [ecx], esi
mov ecx, dword [edi]
mov edx, ebx
call fcn.004c9f70
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.kernel32.dll_DeleteFileW]
mov ebx, dword [ebp - 0x28]
test eax, eax
je 0x401188
mov eax, dword [ebp - 0x20]
mov byte [eax], 4
jmp 0x401197
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0
mov dword [ecx + 4], eax
test edi, edi
mov edi, dword [ebp - 0x24]
je 0x401158
push 2
pop edx
mov ecx, esi
call fcn.00420590
jmp 0x401158

Function at 0x404044
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xcc
mov edi, dword [esp + 0xe0]
mov ebp, dword [esp + 0xe4]
mov eax, edx
mov edx, ecx
call fcn.00404065
Function at 0x407a1b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
lea edi, [ebp - 0x18]
lea esi, [ebp - 0x48]
mov dword [ebp - 0x30], ecx
lea ebx, [edx + 0xc]
mov dword [edi - 4], esp
or dword [edi + 8], 0xffffffff
mov dword [edi + 4], 0x5027d0
mov ecx, esi
mov eax, dword fs:[0]
mov dword [edi], eax
mov dword fs:[0], edi
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x2c], eax
push eax
call fcn.0042363e
pop eax
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
and dword [edi + 8], 0
and dword [eax], 0
mov dword [eax + 4], 1
and dword [ecx + 0x1c], 0
mov dword [ecx + 0x10], 0x20
mov byte [ecx + 0x20], 3
and dword [ecx], 0
and dword [ecx + 8], 0
mov dword [ecx + 0x14], eax
and dword [eax + 8], 0
mov eax, dword [esi + 8]
mov dword [ecx + 0x18], 0x53aa50
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x28], eax
push ecx
push ebx
call fcn.0042330f
pop ecx
pop edx
movzx ecx, al
call fcn.00406dfa
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x3c]
mov dword [ecx + 0x1c], eax
movsd qword [ecx + 0x14], xmm0
mov dword [ecx + 0x24], str._H:_M:_S____
mov dword [ecx + 0x28], 8
mov dword [ecx + 0x2c], 0x5b8dd0
and dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0x53cbf8
push 5
pop eax
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], 0x53cc34
mov dword [ecx + 0x40], 0xd
mov dword [ecx + 0x44], 0x53ccd0
mov dword [ecx + 0x48], eax
xor eax, eax
mov esi, dword [ebp - 0x28]
inc eax
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x20], edx
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x407c41
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
lea esi, [ebp - 0x18]
mov dword [ebp - 0x28], edx
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
lea edi, [ebp - 0x34]
mov dword [ebp - 0x20], ecx
mov dword [esi - 4], esp
or dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0x5027f0
mov ecx, edi
mov eax, dword fs:[0]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esi
push eax
call fcn.00407b50
pop eax
movzx eax, byte [ebx + 0xc]
mov edx, dword [ebx + 8]
mov edi, dword [edi + 4]
mov ecx, dword [ebx + 4]
and dword [esi + 8], 0
push edx
push ecx
push eax
push 0
mov dword [ebp - 0x24], edi
push edi
push dword [ebp - 0x28]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
test eax, eax
je 0x407cb7
mov ecx, dword [ebp - 0x20]
and dword [ecx], 0
mov dword [ecx + 4], eax
jmp 0x407cbd
mov eax, dword [ebp - 0x20]
mov byte [eax], 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
call fcn.004c9e95
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret