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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x14
and eax, 1
or eax, 0
jne 0x27bd75a
push 0x6a
push 0x288d030
push 0x288d18c
call fcn.02810043
add esp, 0xc
push ebx
push ebp
xor eax, eax
mov dword [esp + 0x10], 0x40
xorps xmm0, xmm0
inc eax
and dword [esp + 8], 0
movlpd qword [esp + 0x14], xmm0
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push esi
push edi
mov dword [esp + 0x14], eax
mov esi, eax
xor edi, edi
and esi, 1
neg esi
adc edi, edi
and esi, dword [esp + 0x28]
neg edi
mov ecx, esi
and esi, dword [esp + 0x14]
xor ecx, eax
mov edx, edi
and edx, dword [esp + 0x2c]
mov eax, edx
and edx, dword [esp + 0x10]
xor eax, dword [esp + 0x10]
shrd ecx, eax, 1
shr eax, 1
add ecx, esi
mov dword [esp + 0x14], ecx
adc eax, edx
and edi, 0x80000000
shrd ebp, ebx, 1
mov dword [esp + 0x10], eax
xor eax, eax
shr ebx, 1
add ebp, eax
mov eax, ecx
adc ebx, edi
sub dword [esp + 0x18], 1
jne 0x27bd783
pop edi
pop esi
mov eax, ebp
mov edx, ebx
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x27bf262
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
mov eax, dword [0x2a00294]
xor eax, esp
mov dword [esp + 0x30], eax
cmp dword [esp + 0x40], 0x30
push esi
mov esi, dword [esp + 0x3c]
push edi
jbe 0x27bf284
xor eax, eax
jmp 0x27bf311
push ebx
push ebp
xor ebx, ebx
lea ebp, [esi + 0xf4]
lea edi, [esi + 0xfc]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
lea eax, [esp + 0x10]
push esi
add eax, ebx
push eax
push edi
call dword [ebp]
add ebx, 0x10
add esp, 0xc
cmp ebx, 0x30
jb 0x27bf294
mov edi, dword [esp + 0x50]
xor edx, edx
test edi, edi
je 0x27bf2e0
mov ebx, dword [esp + 0x4c]
lea eax, [esp + 0x10]
sub ebx, eax
lea ecx, [esp + 0x10]
add ecx, edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
inc edx
cmp edx, edi
jb 0x27bf2d0
push 0x20
lea eax, [esp + 0x14]
push eax
push ebp
push 0
push esi
call fcn.027b91fe
mov dword [esi + 0xf8], eax
lea eax, [esp + 0x44]
push 0x10
push eax
lea eax, [esi + 0xfc]
push eax
call fcn.02808da0
add esp, 0x20
xor eax, eax
inc eax
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
pop edi
pop esi
xor ecx, esp
call fcn.027f10fe
add esp, 0x34
ret
Function at 0x27d12b9
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
push ebx
xor bl, bl
test edx, edx
je 0x27d12dd
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
sub esi, ecx
mov al, byte [esi + ecx]
xor al, byte [ecx]
or bl, al
inc ecx
sub edx, 1
jne 0x27d12cf
pop esi
movzx eax, bl
pop ebx
ret

Function at 0x27db1cd
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x2a00294]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push eax
push 0x20
push esi
call fcn.027b8cf7
mov al, byte [ebp - 0x25]
and byte [ebp - 0x44], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 0x25], al
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.027e177a
lea eax, [ebp - 0xe4]
push eax
push edi
call fcn.027ddcf8
push 0x20
push esi
push ebx
call fcn.02808da0
push 0x20
lea eax, [ebx + 0x20]
push edi
push eax
call fcn.02808da0
mov ecx, dword [ebp - 4]
add esp, 0x34
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.027f10fe
leave
ret

Function at 0x27db24a
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x23c
mov eax, dword [0x2a00294]
xor eax, ebp
mov dword [ebp + 0x64], eax
push ebx
mov ebx, dword [ebp + 0x70]
lea eax, [ebp + 0x24]
push esi
mov esi, dword [ebp + 0x7c]
push edi
mov edi, dword [ebp + 0x74]
push eax
push 0x20
push esi
call fcn.027b8cf7
mov al, byte [ebp + 0x43]
and byte [ebp + 0x24], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp + 0x43], al
lea eax, [ebp - 0x134]
push eax
call fcn.027b8f32
push 0x20
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.027b8fc7
push dword [ebp + 0x78]
lea eax, [ebp - 0x134]
push edi
push eax
call fcn.027b8fc7
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.027b8d58
lea eax, [ebp - 0x1c]
push eax
call fcn.027e1a1b
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1d4]
push eax
call fcn.027e177a
lea eax, [ebp - 0x1d4]
push eax
push ebx
call fcn.027ddcf8
add esp, 0x44
lea eax, [ebp - 0x134]
push eax
call fcn.027b8f32
push 0x20
lea eax, [ebp - 0x134]
push ebx
push eax
call fcn.027b8fc7
push 0x20
lea eax, [esi + 0x20]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.027b8fc7
push dword [ebp + 0x78]
lea eax, [ebp - 0x134]
push edi
push eax
call fcn.027b8fc7
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.027b8d58
lea eax, [ebp - 0x5c]
push eax
call fcn.027e1a1b
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebx + 0x20]
push eax
call fcn.027dddfe
mov ecx, dword [ebp + 0x64]
add esp, 0x44
xor eax, eax
xor ecx, ebp
inc eax
pop edi
pop esi
pop ebx
call fcn.027f10fe
add ebp, 0x68
leave
ret
Function at 0x282213a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.02821fb0

Function at 0x4011c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x43dba0], 0x24e1
mov eax, dword [0x43dba0]
sub eax, 0x24e1
mov dword [0x43dba0], eax
mov ecx, 1
test ecx, ecx
je 0x40126b
mov edx, dword [0x43dba0]
cmp edx, dword [ebp + 0xc]
jb 0x4011f7
jmp 0x40126b
cmp dword [0x43dba0], 0
jne 0x401215
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401215
xor eax, eax
jmp 0x40126b
mov eax, dword [ebp + 8]
add eax, dword [0x43dba0]
mov ecx, dword [eax]
add ecx, dword [0x43dba0]
mov edx, dword [ebp + 8]
add edx, dword [0x43dba0]
mov dword [edx], ecx
mov dword [ebp - 4], 0x7d06f
mov eax, dword [0x43dba0]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x43dba0]
push eax
call fcn.00401270
add esp, 8
mov ecx, dword [0x43dba0]
add ecx, 4
mov dword [0x43dba0], ecx
jmp 0x4011dd
mov esp, ebp
pop ebp
ret

Function at 0x4014d0
Capabilities:
Get common file path
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa00
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x79c], 4
mov dword [ebp - 0x784], 0x80000000
mov dword [ebp - 0x798], 0x20019
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x72c], eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
cmp dword [ebp - 0x1c], 0
jne 0x40152c
xor eax, eax
jmp 0x401908
pushal
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x64
mov dword [ebp - 0x28], 0x1f
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x64
mov dword [ebp - 0x28], 0x1f
mov dword [ebp - 0x7ec], str.SOFTWAREmmasses
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x64
mov dword [ebp - 0x28], 0x1f
jmp loc.0045b59b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401833
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x401f78
call fcn.00401d98
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x403f68
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x401878
cmp eax, esi
jne 0x40186b
xor esi, esi
inc esi
mov edi, esi
jmp 0x40187b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40184f
xor esi, esi
inc esi
cmp dword [0x403f6c], esi
jne 0x40188d
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x4018c7
cmp dword [0x403f6c], ebx
jne 0x4018c1
mov dword [0x403f6c], esi
push 0x4010cc
push 0x4010c0
call fcn.004019ac
pop ecx
pop ecx
test eax, eax
je 0x4018c7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40199c
mov dword [0x402014], esi
cmp dword [0x403f6c], esi
jne 0x4018ea
push 0x4010bc
push 0x4010b4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x403f6c], 2
test edi, edi
jne 0x4018f7
xor eax, eax
mov ecx, 0x403f68
xchg dword [ecx], eax
cmp dword [0x403f70], 0
je 0x401923
push 0x403f70
call fcn.00401bf0
pop ecx
test eax, eax
je 0x401923
push ebx
push 2
push ebx
mov esi, dword [0x403f70]
mov ecx, esi
call dword [0x4040cc]
call esi
push dword [0x402020]
push dword [0x40201c]
push dword [0x402018]
call fcn.00401390
add esp, 0xc
mov dword [0x402010], eax
cmp dword [0x402028], 0
jne 0x401981
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x402014], 0
jne 0x401995
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x402010]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.00573000
jmp 0x401833

Function at 0x401ad4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x401f98
call fcn.00401d98
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x401b34
cmp eax, 0xffffffff
je 0x401b34
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x401b2d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x401b2d
cmp edx, 0x10000000
jae 0x401b2d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x401b2a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x401ba0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x401bde
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x401bd6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x401be0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x401bc6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x406544
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e2050], 0
je 0x4065a5
cmp word [0x4e232c], 0xd7b2
jne 0x40656d
cmp dword [0x4e2334], 0
jbe 0x40656d
mov eax, 0x4e2328
call dword [0x4e2344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4065d0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4df028], 0
jne 0x4065c1
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40679c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x4df02c], 0
je 0x4067c7
mov edx, edi
mov eax, esi
call dword [0x4df02c]
mov ebx, eax
jmp 0x4067d8
mov eax, 8
call fcn.00404350
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4e2051], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x406764
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x40680d
mov edx, 8
mov eax, ebx
call fcn.0040436c
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x421784
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42185a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406ce8
lea eax, [ebp - 4]
call fcn.00406e84
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407258
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x421844
mov eax, ebx
call fcn.00404350
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42183d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407258
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x421827
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42186c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x421827
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421844
mov eax, dword [ebp - 0x10]
call fcn.0040436c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421861
lea eax, [ebp - 4]
call fcn.004068e0
ret

Function at 0x422168
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00406d90
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00409e74
mov edi, eax
cmp edi, 0x104
jbe 0x422113
mov eax, edi
add eax, eax
call fcn.00404350
mov esi, eax
jmp 0x422115
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00409e74
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42214e
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x422138
mov eax, esp
cmp esi, eax
je 0x42215b
mov eax, esi
call fcn.0040436c
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x422194
cmp bl, 0
je 0x422190
cmp bl, 0x41
jl 0x42218b
cmp bl, 0x5a
jg 0x42218b
or bl, 0x20
xor al, bl
inc esi
jmp 0x42216f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4220d4

Function at 0x422934
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.004072e4
add esp, 0x800
pop ebx
ret
Function at 0x446764
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x446802
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x4467c6
cmp byte [ebx + 0x10], 0
jne 0x4467c6
cmp byte [ebx + 0x3c], 0
jne 0x4467c6
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4467e7
lea edx, [ebp - 4]
mov eax, dword [0x4e1540]
call fcn.00409de0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4367bc]
call fcn.00420764
call fcn.00405fe4
jmp 0x4467e7
lea edx, [ebp - 8]
mov eax, dword [0x4e1540]
call fcn.00409de0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4367bc]
call fcn.00420764
call fcn.00405fe4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446809
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406940
ret

Function at 0x447110
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x44715e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004466b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x447177
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x447180
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004466b0
dec esi
jne 0x4471a2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x449068
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e6f98
cmp dword [edi], 0
jne 0x4490e4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4e6f94]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4dfff4
mov ecx, 2
call fcn.0040451c
mov edx, 0x449040
lea eax, [esi + 5]
call fcn.00449060
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00449060
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4490b9
mov dword [0x4e6f94], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x44945c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
lea eax, [esp + 4]
push eax
push 0x40
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x449496
mov dword [ebx], esi
push esp
mov eax, dword [esp + 8]
push eax
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
push 4
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44d2b8
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44d433
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406ce8
mov eax, dword [ebp - 4]
call fcn.0044cc18
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x44d30a
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040764c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0044deac
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x44d3e9
xor eax, eax
push ebp
push 0x44d3e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0044ceb8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0044d468
test al, al
je 0x44d3c0
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00406a48
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x44d3c0
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00407258
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0044ce18
test al, al
je 0x44d3ba
mov eax, dword [ebp - 8]
call fcn.00407258
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004072a8
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0044d2b8
dec ebx
cmp ebx, 0xffffffff
jne 0x44d369
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d3e9
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0044ceb8
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 4]
call fcn.00407258
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0044cea4
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0044ce18
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d43a
lea eax, [ebp - 0x3c]
call fcn.004068e0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406940
ret
Function at 0x44dd88
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.0044cc30
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00407258
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0044ce18
test al, al
jne 0x44ddf0
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e1490]
mov dl, 1
mov eax, dword [0x44ba3c]
call fcn.00420968
call fcn.00405fe4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44ddfc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00407258
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.0044ce18
test al, al
jne 0x44de5d
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e1720]
mov dl, 1
mov eax, dword [0x44ba3c]
call fcn.00420968
call fcn.00405fe4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0044cc60
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44e45c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x44e584
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.0044ceb8
xor eax, eax
push ebp
push 0x44e55f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044d468
test al, al
je 0x44e543
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0044e33c
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406a48
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x44e543
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407258
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044ce18
test al, al
je 0x44e53f
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00407258
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.004072a8
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0044e33c
pop ecx
inc edi
dec ebx
jne 0x44e4e7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e566
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.0044ceb8
ret