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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
je 0x404cce
mov ecx, dword [ebp + 0x10]
and ecx, 1
mov dword [ebp - 0x10], ecx
shr dword [ebp + 0x10], 1
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
movzx ecx, word [eax + edx*2]
mov ebx, dword [ebp - 0x10]
neg ebx
and ebx, 0x7ff
xor ecx, ebx
sar ecx, 4
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + ecx*4]
add dword [ebp - 4], edx
mov ecx, dword [ebp - 8]
add ecx, ecx
or ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x404c8b
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404e0f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov eax, dword [ebp + 8]
movzx edx, word [eax]
sar edx, 4
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
movzx ecx, word [edx]
xor ecx, 0x7ff
sar ecx, 4
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx + ecx*4]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
movzx ecx, word [edx + 2]
sar ecx, 4
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx + ecx*4]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 8]
movzx ecx, word [edx + 2]
xor ecx, 0x7ff
sar ecx, 4
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx + ecx*4]
add eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
xor edx, edx
mov dword [ebp - 0x14], edx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jae 0x404f44
push dword [ebp + 0x18]
push dword [ebp - 0x14]
push 3
mov edx, dword [ebp + 0xc]
shl edx, 3
add edx, edx
add edx, dword [ebp + 8]
add edx, 4
push edx
call fcn.00404c17
add esp, 0x10
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx + edx*4], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 8
jb 0x404e7c
cmp dword [ebp - 0x14], 0x10
jae 0x404f04
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jae 0x404f44
push dword [ebp + 0x18]
mov ecx, dword [ebp - 0x14]
sub ecx, 8
push ecx
push 3
mov eax, dword [ebp + 0xc]
shl eax, 3
add eax, eax
add eax, dword [ebp + 8]
add eax, 0x104
push eax
call fcn.00404c17
add esp, 0x10
add eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [edx + ecx*4], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x10
jb 0x404ec2
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jae 0x404f44
push dword [ebp + 0x18]
mov edx, dword [ebp - 0x14]
sub edx, 8
sub edx, 8
push edx
push 8
mov ecx, dword [ebp + 8]
add ecx, 0x204
push ecx
call fcn.00404c17
add esp, 0x10
add eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [edx + ecx*4], eax
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jb 0x404f0c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413ebc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ecx + 0x4c], ebx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x20], edx
push dword [ebp + 8]
call fcn.00412d4a
pop ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
xor edx, edx
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov ebx, dword [ebp - 8]
and ebx, 1
dec ebx
not ebx
and ebx, 0xedb88320
xor ecx, ebx
mov dword [ebp - 8], ecx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 8
jl 0x413ef4
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + edx*4 + 0x6c], ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x100
jb 0x413ee9
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4151f8
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x67452301
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x10325476
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
pop ebp
ret

Function at 0x41556c
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc4
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 0x30], eax
mov eax, 0x51828c
call fcn.00505774
mov esi, 0x517db4
lea edi, [ebp - 0x23c]
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x30]
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
lea edx, [ebp - 0x23c]
push edx
push dword [ebp - 0x34]
call sub.SHELL32.DLL_SHGetPathFromIDListW
mov word [ebp - 0x1c], 0x18
lea edx, [ebp - 0x23c]
lea eax, [ebp - 4]
call fcn.005130c0
mov edx, eax
inc dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0051314c
mov eax, dword [ebp - 8]
mov word [ebp - 0x1c], 0x24
push eax
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00513124
pop eax
mov word [ebp - 0x1c], 0x18
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x415f54
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 0x38], eax
mov eax, 0x518724
call fcn.00505774
push 0
call sub.OLE32.DLL_CoInitialize
test eax, eax
jl 0x416161
lea edx, [ebp - 0x3c]
push edx
push 0x52021c
push 1
push 0
push 0x52022c
call sub.OLE32.DLL_CoCreateInstance
test eax, eax
jl 0x41615c
mov word [ebp - 0x24], 0x18
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x38]
call fcn.00512fe4
inc dword [ebp - 0x18]
mov word [ebp - 0x24], 0xc
lea eax, [ebp - 4]
call fcn.0040adf4
push eax
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x50]
mov word [ebp - 0x24], 0x24
lea eax, [ebp - 0xc]
call fcn.0040af7c
mov edx, eax
inc dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0044a824
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.0051314c
dec dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00513124
lea eax, [ebp - 4]
call fcn.0040adf4
push eax
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x38]
add eax, 8
call fcn.0040afac
test al, al
jne 0x41603b
mov edx, dword [ebp - 0x38]
add edx, 8
lea eax, [ebp - 4]
call fcn.0051314c
lea eax, [ebp - 4]
call fcn.0040adf4
push eax
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x38]
add eax, 0xc
call fcn.0040afac
test al, al
jne 0x41606c
mov edx, dword [ebp - 0x38]
add edx, 0xc
lea eax, [ebp - 4]
call fcn.0051314c
push 0
lea eax, [ebp - 4]
call fcn.0040adf4
push eax
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x44]
push 5
mov eax, dword [ebp - 0x3c]
push eax
mov edx, dword [eax]
call dword [edx + 0x3c]
mov word [ebp - 0x24], 0x30
lea eax, [ebp - 8]
call fcn.0040af7c
mov edx, eax
inc dword [ebp - 0x18]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 4]
call fcn.0044a824
mov word [ebp - 0x24], 0xc
lea eax, [ebp - 8]
call fcn.0040afac
test al, al
jne 0x4160c8
mov word [ebp - 0x24], 0x3c
mov eax, dword [ebp - 8]
call fcn.0044a520
mov word [ebp - 0x24], 0xc
jmp 0x4160c8
lea edx, [ebp - 0x40]
push edx
push 0x52023c
mov ecx, dword [ebp - 0x3c]
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jl 0x41612d
mov word [ebp - 0x24], 0x54
mov edx, dword [ebp - 0x38]
add edx, 4
lea eax, [ebp - 0x10]
call fcn.00512de8
inc dword [ebp - 0x18]
mov word [ebp - 0x24], 0x60
push 1
lea eax, [ebp - 0x10]
call fcn.00416bd0
push eax
mov edx, dword [ebp - 0x40]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x40]
push eax
mov edx, dword [eax]
call dword [edx + 8]
dec dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00512e48
mov word [ebp - 0x24], 0xc
mov ecx, dword [ebp - 0x3c]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
dec dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00513124
dec dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00513124
mov word [ebp - 0x24], 0
call sub.OLE32.DLL_CoUninitialize
mov ecx, dword [ebp - 0x34]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416172
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push esi
push edi
mov byte [ebp - 0x41], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, 0x5187fc
call fcn.00505774
mov dword [ebp - 0x24], 2
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.00512fe4
inc dword [ebp - 0x24]
mov word [ebp - 0x30], 0xc
lea edx, [ebp - 8]
lea eax, [ebp - 8]
call fcn.00512fe4
inc dword [ebp - 0x24]
mov byte [ebp - 0x42], 0
mov word [ebp - 0x30], 0x18
lea eax, [ebp - 0xc]
call fcn.0040af7c
inc dword [ebp - 0x24]
mov word [ebp - 0x30], 0xc
lea eax, [ebp - 8]
call fcn.0040afac
test al, al
jne 0x416295
mov word [ebp - 0x30], 0x24
lea eax, [ebp - 0x10]
call fcn.0040af7c
mov ecx, eax
inc dword [ebp - 0x24]
lea edx, [ebp - 4]
mov eax, 0x5181ee
call fcn.00513540
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
call fcn.0040af7c
push eax
inc dword [ebp - 0x24]
mov edx, 0x5181f0
lea eax, [ebp - 0x14]
call fcn.00512fa4
inc dword [ebp - 0x24]
lea edx, [ebp - 0x14]
pop ecx
pop eax
call fcn.00513174
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
call fcn.0040af7c
mov ecx, eax
inc dword [ebp - 0x24]
lea edx, [ebp - 8]
pop eax
call fcn.00513174
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.0051314c
dec dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00513124
dec dword [ebp - 0x24]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00513124
dec dword [ebp - 0x24]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00513124
dec dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00513124
jmp 0x4162a0
lea edx, [ebp - 4]
lea eax, [ebp - 0xc]
call fcn.0051314c
mov esi, 0x518010
lea edi, [ebp - 0x54]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x30], 0xc
mov esi, 0x518020
lea edi, [ebp - 0x98]
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x98], 0x44
cmp byte [ebp - 0x41], 0
jne 0x4162e4
mov dword [ebp - 0x6c], 1
mov word [ebp - 0x68], 0
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x98]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
call fcn.0040adf4
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessW
test eax, eax
setne dl
and edx, 1
mov byte [ebp - 0x42], dl
cmp byte [ebp - 0x42], 0
je 0x41632c
push dword [ebp - 0x54]
call sub.KERNEL32.DLL_CloseHandle
push dword [ebp - 0x50]
call sub.KERNEL32.DLL_CloseHandle
mov al, byte [ebp - 0x42]
push eax
dec dword [ebp - 0x24]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00513124
dec dword [ebp - 0x24]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00513124
dec dword [ebp - 0x24]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00513124
pop eax
mov edx, dword [ebp - 0x40]
mov dword fs:[0], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x417704
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x527424
push 0xa
push 0x417798
mov eax, dword [0x527380]
push eax
call sub.KERNEL32.DLL_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x417728
call fcn.00451320
push ebx
mov eax, dword [0x527380]
push eax
call sub.KERNEL32.DLL_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x41773f
call fcn.00451320
push ebx
call sub.KERNEL32.DLL_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x417751
call fcn.00451320
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x527428], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x52742c], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x527430], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x527434], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x527438], ecx
add edx, dword [eax + 0x14]
mov dword [0x52743c], edx
pop esi
pop ebx
ret

Function at 0x418bd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x418bff
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x418c7e
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0041d8c0
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x418c4c
mov cx, word [esp]
sub cx, si
jmp 0x418c4e
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x418c35
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x418c74
mov cx, word [esp]
sub cx, si
jmp 0x418c76
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x418c5d
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x418cdb
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.004188a4
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x418cc6
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x418cdb
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x418bda
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x43a5a0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x43a63e
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x43a602
cmp byte [ebx + 0x10], 0
jne 0x43a602
cmp byte [ebx + 0x3c], 0
jne 0x43a602
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 0x43a623
lea edx, [ebp - 4]
mov eax, dword [0x526de4]
call fcn.00466d38
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x42b22c]
call fcn.0044ec70
call fcn.00462bc0
jmp 0x43a623
lea edx, [ebp - 8]
mov eax, dword [0x526de4]
call fcn.00466d38
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x42b22c]
call fcn.0044ec70
call fcn.00462bc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a645
lea eax, [ebp - 8]
mov edx, 2
call fcn.00463ac8
ret

Function at 0x43aebc
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 0x43af0a
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.0043a524
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43af23
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x43af2c
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.0043a524
dec esi
jne 0x43af4e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x43c768
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x527664
cmp dword [edi], 0
jne 0x43c7e4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x527660]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x51cd90
mov ecx, 2
call fcn.00461698
mov edx, 0x43c740
lea eax, [esi + 5]
call fcn.0043c760
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043c760
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 0x43c7b9
mov dword [0x527660], 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 0x43feac
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 0x440027
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00463b24
mov eax, dword [ebp - 4]
call fcn.0043f744
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x43fefe
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004642e0
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.00440b58
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43ffdd
xor eax, eax
push ebp
push 0x43ffd6
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0043faac
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0044005c
test al, al
je 0x43ffb4
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00463c0c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x43ffb4
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.00463b5c
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.0043fa0c
test al, al
je 0x43ffae
mov eax, dword [ebp - 8]
call fcn.00463b5c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00463c7c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0043feac
dec ebx
cmp ebx, 0xffffffff
jne 0x43ff5d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ffdd
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0043faac
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
call fcn.00463b5c
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0043fa98
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0043fa0c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44002e
lea eax, [ebp - 0x3c]
call fcn.00463ac0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00463ac8
ret

Function at 0x440a34
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.0043f7b8
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.00463b5c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0043fa0c
test al, al
jne 0x440a9c
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x526db8]
mov dl, 1
mov eax, dword [0x43e568]
call fcn.0044ee74
call fcn.00462bc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x440aa8
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.00463b5c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.0043fa0c
test al, al
jne 0x440b09
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x526db0]
mov dl, 1
mov eax, dword [0x43e568]
call fcn.0044ee74
call fcn.00462bc0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0043f7e8
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 0x441108
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 0x441230
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.0043faac
xor eax, eax
push ebp
push 0x44120b
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.0044005c
test al, al
je 0x4411ef
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00440fe8
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00463c0c
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x4411ef
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.00463b5c
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.0043fa0c
test al, al
je 0x4411eb
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00463b5c
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00463c7c
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00440fe8
pop ecx
inc edi
dec ebx
jne 0x441193
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441212
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.0043faac
ret