joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f200
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x503de3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5375a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
fld dword [0x526e34]
xor edi, edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], 0x11
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0xa
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebx
fstp dword [esi + 0xc]
fld dword [0x526e38]
mov ecx, esi
fstp dword [esi + 0x10]
fld dword [0x526e3c]
fstp dword [esi + 0x14]
call fcn.00440950
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x43fe50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x506bc0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push edi
mov eax, dword [0x5375a0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor ebx, ebx
mov byte [esp + 0x10], bl
mov dword [esp + 0xc], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], fcn.004c61e0
mov dword [esp + 0x28], fcn.004c83aa
mov dword [esp + 0x2c], fcn.004c6103
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x1fff8
mov dword [esp + 0x20], vtable.t_heap.0
mov eax, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edi, [esp + 0x1c]
mov byte [esp + 0x48], 1
call fcn.00442f40
test al, al
jne 0x43ff28
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x43fef8
push eax
call fcn.004c6103
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.allocator_unsigned_char__class_TAllocDefault_.0
call fcn.00403460
lea ecx, [esp + 0xc]
call fcn.00437e60
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x38
ret 8
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004403b0
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x43ff58
push eax
call fcn.004c6103
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.allocator_unsigned_char__class_TAllocDefault_.0
call fcn.00403460
lea ecx, [esp + 0xc]
call fcn.00437e60
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x38
ret 8
Function at 0x440a80
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x505a5b
mov eax, dword fs:[0]
push eax
sub esp, 0x370
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x368], eax
push ebx
push esi
push edi
mov eax, dword [0x5375a0]
xor eax, esp
push eax
lea eax, [esp + 0x380]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea esi, [esp + 0x1c]
mov dword [esp + 0x18], ecx
call fcn.00441690
xor esi, esi
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [esp + 0x36c], esi
mov dword [esp + 0x370], esi
push esi
push ebx
lea eax, [esp + 0x24]
push eax
mov eax, edi
mov dword [esp + 0x394], esi
call fcn.004417d0
test al, al
je 0x440b66
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x440b36
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
je 0x440b36
xor edi, edi
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x374], edi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x440bac
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
je 0x440bac
xor eax, eax
jmp 0x440bae
mov ecx, ebx
call fcn.00437ec0
push 0x521074
push 0x5192f4
mov edx, eax
call fcn.004392f0
mov dword [esp + 0x390], 0xffffffff
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.00441700
xor al, al
jmp 0x440c00
mov eax, edi
mov esi, dword [esp + 0x18]
push eax
mov dword [esi + 8], eax
call fcn.004c61e0
mov edx, dword [esi + 8]
add esp, 4
push edx
push eax
push ebx
lea ecx, [esp + 0x374]
mov dword [esi + 4], eax
call fcn.00446840
test al, al
je 0x440b66
mov dword [esp + 0x388], 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.00441700
mov al, 1
mov ecx, dword [esp + 0x380]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x368]
xor ecx, esp
call fcn.004c60f4
mov esp, ebp
pop ebp
ret 8
Function at 0x4417d0
Capabilities:
Set file attributes

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov esi, eax
mov eax, dword [ebp + 0x130]
mov edx, dword [eax + 0x18]
lea edi, [ebp + 0x130]
push esi
push ebx
mov ecx, edi
call edx
test al, al
jne 0x441821
mov ecx, ebx
call fcn.00437ec0
push 0x521074
push 0x5192f4
mov edx, eax
call fcn.004392f0
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
push ebx
call fcn.00442090
test al, al
je 0x4417fa
mov ebx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
mov dword [ebp + 0x348], edi
mov edi, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
push edx
mov eax, edi
mov dword [ebp + 8], ebx
call fcn.004415e0
add esp, 0xc
test al, al
jne 0x4418b0
cmp byte [esi + 0x11c], al
je 0x441874
add esi, 0xc
jmp 0x441877
mov esi, dword [esi + 8]
mov ecx, edi
call fcn.00437ec0
mov edi, eax
push 0x5228ec
push 0x5192f4
mov edx, edi
call fcn.004392f0
add esi, 4
push esi
push 0x5192f4
mov edx, edi
call fcn.004392f0
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0
push 0x80
push edi
push 0
push eax
push ecx
mov ecx, esi
call fcn.00435ed0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 4], eax
mov ebx, 1
cmp eax, 0xffffffff
jne 0x441951
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x24], eax
cmp eax, 0x20
jne 0x441905
cmp ebx, 3
jge 0x44199f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x441926
cmp eax, 5
jne 0x441966
cmp ebx, 3
jge 0x44199f
push 0x80
mov ecx, esi
call fcn.00435ed0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push 0
push 0x80
push edi
push 0
push edx
push eax
mov ecx, esi
call fcn.00435ed0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
inc ebx
mov dword [ebp + 4], eax
cmp eax, 0xffffffff
je 0x4418e3
push esi
lea ecx, [ebp + 0xc]
call fcn.00435fb0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
test eax, eax
jne 0x44199f
cmp byte [esi + 0x11c], al
je 0x441977
add esi, 0xc
jmp 0x44197a
mov esi, dword [esi + 8]
mov ecx, dword [esp + 0x20]
add esi, 4
push esi
push 0x5228fc
call fcn.00402790
mov ecx, eax
call fcn.00438830
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp byte [esi + 0x11c], 0
lea ebx, [esi + 0xc]
jne 0x4419ae
mov ebx, dword [esi + 8]
mov ecx, dword [esp + 0x20]
call fcn.00437ec0
mov edi, dword [esp + 0x24]
mov esi, eax
call fcn.00438700
mov ecx, dword [esp + 0x20]
call fcn.00437ec0
add ebx, 4
push ebx
push 0x5228ec
mov ecx, eax
call fcn.00438830
mov ecx, eax
call fcn.00438830
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 0xc
Function at 0x441a90
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push edi
push 0
mov ebx, eax
mov edi, ecx
mov esi, edx
call ebp
test edi, edi
jne 0x441ab9
test ebx, ebx
je 0x441aaf
mov dword [ebx], edi
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 4]
push 0
lea eax, [esp + 0x14]
push eax
push edi
push ecx
push edx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x441b3f
lea ebx, [esi + 0x18]
cmp byte [esi + 0x128], al
jne 0x441aea
mov ebx, dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
mov edi, eax
call fcn.00437ec0
mov esi, eax
call fcn.00438700
push 0
call ebp
mov ecx, dword [esp + 0x18]
call fcn.00437ec0
mov esi, eax
push 0x52291c
push 0x5192f4
mov edx, esi
call fcn.004392f0
add ebx, 4
push ebx
push 0x5192f4
mov edx, esi
call fcn.004392f0
add esp, 0x10
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x10]
test ebx, ebx
je 0x441b49
mov dword [ebx], eax
test eax, eax
jne 0x441aaf
cmp byte [esi + 0x128], al
je 0x441b5e
add esi, 0x18
jmp 0x441b61
mov esi, dword [esi + 0x14]
mov ecx, dword [esp + 0x18]
call fcn.00437ec0
mov edi, eax
push 0x52292c
push 0x5192f4
mov edx, edi
call fcn.004392f0
add esi, 4
push esi
push 0x5192f4
mov edx, edi
call fcn.004392f0
add esp, 0x10
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 8

Function at 0x441ba0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push edi
push 0
mov edi, eax
mov esi, ecx
call ebp
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x441c3d
push ebx
lea ebx, [esi + 0x18]
cmp byte [esi + 0x128], al
jne 0x441be8
mov ebx, dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
mov edi, eax
call fcn.00437ec0
mov esi, eax
call fcn.00438700
push 0
call ebp
mov ecx, dword [esp + 0x18]
call fcn.00437ec0
mov esi, eax
push 0x52294c
push 0x5192f4
mov edx, esi
call fcn.004392f0
add ebx, 4
push ebx
push 0x5192f4
mov edx, esi
call fcn.004392f0
add esp, 0x10
pop ebx
pop edi
pop esi
xor al, al
pop ebp
pop ecx
ret 0xc
test edi, edi
je 0x441c47
mov ecx, dword [esp + 0xc]
mov dword [edi], ecx
pop edi
pop esi
mov al, 1
pop ebp
pop ecx
ret 0xc

Function at 0x4425e0
Capabilities:
Encrypt data using aes

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
jmp fcn.004477c0
Function at 0x4426e0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 4]
push ebx
push eax
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00442740
mov byte [esp + 0xb], al
mov eax, dword [esp + 0x70]
add esp, 4
lea ebx, [esp + 8]
call fcn.00447010
mov al, byte [esp + 7]
pop ebx
add esp, 0x64
ret

Function at 0x442740
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x5059ab
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x360], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5375a0]
xor eax, esp
push eax
lea eax, [esp + 0x37c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38c]
lea esi, [esp + 0x1c]
mov ebx, ecx
mov edi, edx
call fcn.00441690
xor esi, esi
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [esp + 0x36c], esi
mov dword [esp + 0x370], esi
push esi
push ebx
lea eax, [esp + 0x24]
push eax
mov eax, edi
mov dword [esp + 0x390], esi
call fcn.004417d0
test al, al
je 0x4428b8
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4427f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jne 0x4427f6
mov esi, edi
push 0x100000
mov dword [esp + 0x370], esi
call fcn.004c61e0
mov edi, eax
mov eax, dword [esp + 0x370]
add esp, 4
sub eax, dword [esp + 0x370]
je 0x44285e
mov esi, eax
cmp eax, 0x100000
jb 0x44282a
mov esi, 0x100000
push esi
push edi
push ebx
lea ecx, [esp + 0x374]
call fcn.00446840
push edi
test al, al
je 0x4428f3
mov eax, esi
mov ecx, ebp
call fcn.00446d70
mov eax, dword [esp + 0x370]
add esp, 4
sub eax, dword [esp + 0x370]
jne 0x44281c
push edi
call fcn.004c6103
mov dword [esp + 0x388], 0xffffffff
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.00441700
mov al, 1
mov ecx, dword [esp + 0x37c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x360]
xor ecx, esp
call fcn.004c60f4
add esp, 0x374
ret
push 0x522b0c
push ebx
call fcn.00437f70
mov dword [esp + 0x38c], 0xffffffff
add esp, 8
lea ecx, [esp + 0x1c]
mov bl, al
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.00441700
mov al, bl
jmp 0x442890
call fcn.004c6103
add esp, 4
mov ecx, ebx
call fcn.00437ec0
push 0x522b0c
push 0x5192f4
mov edx, eax
call fcn.004392f0
mov dword [esp + 0x38c], 0xffffffff
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.00441700
xor al, al
jmp 0x442890
Function at 0x444100
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov ebx, eax
mov eax, dword [esp + 0x20]
mov esi, ecx
mov ecx, dword [eax]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esi + 4]
push eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x20]
push ecx
push 0
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
je 0x44422b
test ebx, ebx
je 0x4441d7
cmp word [ebx], 0
je 0x4441d7
cmp byte [esi + 0x128], 0
je 0x444169
add esi, 0x18
mov dword [esp + 0x20], esi
jmp 0x444170
mov eax, dword [esi + 0x14]
mov dword [esp + 0x20], eax
mov ecx, ebp
call fcn.00437ec0
mov esi, eax
call fcn.00438700
mov ecx, ebp
call fcn.00437ec0
mov esi, eax
push 0x522cec
push 0x5192f4
mov edx, esi
call fcn.004392f0
mov ecx, dword [esp + 0x28]
add ecx, 4
push ecx
push 0x5192f4
mov edx, esi
call fcn.004392f0
push 0x51924c
push 0x5192f4
mov edx, esi
call fcn.004392f0
push ebx
push 0x5192f4
mov edx, esi
call fcn.004392f0
add esp, 0x20
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 0x10
cmp byte [esi + 0x128], 0
lea ebx, [esi + 0x18]
jne 0x4441e6
mov ebx, dword [esi + 0x14]
mov ecx, ebp
call fcn.00437ec0
mov esi, eax
call fcn.00438700
mov ecx, ebp
call fcn.00437ec0
mov esi, eax
push 0x522cec
push 0x5192f4
mov edx, esi
call fcn.004392f0
add ebx, 4
push ebx
push 0x5192f4
mov edx, esi
call fcn.004392f0
add esp, 0x10
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 0x10
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x24]
je 0x44430c
test ebx, ebx
je 0x4442c4
cmp word [ebx], 0
je 0x4442c4
cmp byte [esi + 0x128], 0
je 0x444259
add esi, 0x18
mov dword [esp + 0x20], esi
jmp 0x444260
mov eax, dword [esi + 0x14]
mov dword [esp + 0x20], eax
mov ecx, ebp
call fcn.00437ec0
xor edi, edi
mov esi, eax
call fcn.00438700
mov ecx, ebp
call fcn.00437ec0
mov esi, eax
push 0x522cfc
push 0x5192f4
mov edx, esi
call fcn.004392f0
mov ecx, dword [esp + 0x28]
add ecx, 4
add esp, 8
push ecx
mov ecx, esi
call fcn.00438830
mov esi, eax
push 0x51924c
push 0x5192f4
mov edx, esi
call fcn.004392f0
add esp, 8
push ebx
mov ecx, esi
call fcn.00438830
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 0x10
cmp byte [esi + 0x128], 0
je 0x4442d2
add esi, 0x18
jmp 0x4442d5
mov esi, dword [esi + 0x14]
mov ecx, ebp
call fcn.00437ec0
mov edi, eax
push 0x522cfc
push 0x5192f4
mov edx, edi
call fcn.004392f0
add esi, 4
push esi
push 0x5192f4
mov edx, edi
call fcn.004392f0
add esp, 0x10
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 0x10
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [eax], edx
mov al, 1
pop ebx
pop ecx
ret 0x10
Function at 0x4451b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44521e
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x4451ef
cmp eax, 2
jne 0x44520a
mov eax, dword [esp]
test esi, esi
je 0x445218
test eax, eax
je 0x445213
test al, 1
jne 0x44520a
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x445218
mov eax, 0xd
pop ecx
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8

Function at 0x4453c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x503408
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x5375a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push 0x11
mov esi, ecx
xor ebx, ebx
xor eax, eax
push str.SoftwareClasses_
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], ax
call fcn.00445ce0
mov eax, esi
mov dword [esp + 0x38], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x445420
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x18]
call fcn.00445bd0
push 6
push str.Shell
call fcn.00445bd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x28], esp
push 0xffffffffffffffff
push ebx
mov eax, esi
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00445ad0
push reloc.WS2_32.dll_accept
push edi
call fcn.004455a0
add esp, 0x24
cmp dword [esp + 0x28], 8
mov bl, al
jb 0x44548e
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004c85c5
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004c60f4
add esp, 0x30
ret
Function at 0x4454b0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x503408
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x5375a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov word [esp + 0x14], ax
mov eax, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
lea esi, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x445500
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00445ce0
push 6
push str.Shell
lea esi, [esp + 0x18]
mov dword [esp + 0x40], ebx
call fcn.00445bd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x28], esp
push 0xffffffffffffffff
push ebx
mov eax, esi
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00445ad0
push accept
push edi
call fcn.004455a0
add esp, 0x24
cmp dword [esp + 0x28], 8
mov bl, al
jb 0x445576
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004c85c5
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004c60f4
add esp, 0x30
ret
Function at 0x445810
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x503d66
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
push esi
push edi
mov eax, dword [0x5375a0]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push 0x3e
xor ebx, ebx
mov word [esp + 0x30], cx
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
call fcn.00445ce0
mov eax, str.http
mov dword [esp + 0x458], ebx
lea edx, [eax + 2]
jmp 0x445890
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x445890
sub eax, edx
sar eax, 1
push eax
push str.http
lea esi, [esp + 0x30]
call fcn.00445bd0
push 0xb
push 0x522e4c
call fcn.00445bd0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x458], 1
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x4458d9
lea eax, [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
push 1
push ebx
push eax
push reloc.WS2_32.dll_accept
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4459b7
mov eax, dword [esp + 0x14]
push 0x3fe
lea edx, [esp + 0x4a]
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov word [esp + 0x50], cx
call fcn.004cd250
add esp, 0xc
push str.Progid
lea eax, [esp + 0x1c]
push eax
lea edi, [esp + 0x2c]
lea esi, [esp + 0x4c]
mov dword [esp + 0x2c], 0x200
call fcn.004451b0
test eax, eax
jne 0x4459a8
xor ecx, ecx
cmp cx, word [esp + 0x44]
jne 0x445965
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x44595a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x28]
call fcn.0043b4e0
jmp 0x4459cb
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x44]
call fcn.004453c0
test al, al
jne 0x445985
lea ecx, [esp + 0x44]
call fcn.004454b0
mov byte [esp + 0x13], al
jmp 0x44598a
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x445999
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x28]
call fcn.0043b4e0
mov al, byte [esp + 0x13]
jmp 0x4459cd
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4459b7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x40], 8
jb 0x4459cb
mov edx, dword [esp + 0x2c]
push edx
call fcn.004c85c5
add esp, 4
xor al, al
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.004c60f4
mov esp, ebp
pop ebp
ret

Function at 0x4467f0
Capabilities:
Get file size

Disassembly:
push ecx
push esi
push 0
push eax
mov eax, dword [esp + 0x14]
push edi
call fcn.004417d0
test al, al
jne 0x446808
pop esi
pop ecx
ret 4
mov edx, dword [edi + 4]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x446832
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x446832
xor esi, esi
mov dword [edi + 0x350], esi
mov al, 1
pop esi
pop ecx
ret 4