joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f1f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
sub esp, 0x18
movzx eax, word [esp + 0x20]
mov dword [esp + 8], 0x64
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
sub esp, 0xc
test eax, eax
je 0x43f254
mov ebx, eax
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
sub esp, 8
mov edx, dword [esp + 0x28]
mov dword [edx], eax
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
sub esp, 8
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
add esp, 0x18
pop ebx
ret
mov eax, dword [esp + 0x28]
mov dword [eax], 0
mov eax, dword [esp + 0x24]
mov dword [eax], 0
add esp, 0x18
pop ebx
ret

Function at 0x43f2f0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
sub esp, 4
test eax, eax
setne al
add esp, 0x1c
ret 4

Function at 0x43f310
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edx, [ebp - 0x36a]
push ebx
lea eax, [ebp - 0x37c]
sub esp, 0x38c
mov dword [ebp - 0x374], edx
xor edx, edx
mov word [ebp - 0x36a], dx
mov edx, dword [ebp + 8]
mov dword [esp + 4], 0x727900
mov dword [esp], eax
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x370], pe_nt_image_headers32
mov dword [esp + 8], edx
mov byte [ebp - 0x36c], 0
mov dword [ebp - 0x37c], 0x75d6e8
call fcn.00403910
mov eax, dword [ebp - 0x374]
lea esi, [ebp - 0x268]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
sub esp, 8
cmp eax, 0xffffffff
mov ebx, eax
je 0x43f400
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x43f3b0
mov dword [esp + 4], esi
mov dword [esp], ebx
call edi
sub esp, 8
test eax, eax
je 0x43f3f2
test byte [ebp - 0x268], 0x10
jne 0x43f3a0
mov esi, 1
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 4
mov eax, dword [ebp - 0x378]
mov dword [ebp - 0x37c], 0x75d500
test eax, eax
je 0x43f3e6
mov dword [esp], eax
call fcn.006eb310
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 4
xor esi, esi
jmp 0x43f3be
xor esi, esi
jmp 0x43f3ca

Function at 0x43f430
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
sub esp, 4
cmp eax, 0xffffffff
je 0x43f454
shr eax, 4
add esp, 0x1c
and eax, 1
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test al, 0x7f
sete al
add esp, 0x1c
ret 4
Function at 0x43f470
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x27c
mov eax, dword [esp + 0x290]
lea ebp, [esp + 0x20]
mov dword [esp + 4], ebp
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
sub esp, 8
cmp eax, 0xffffffff
je 0x43f4f0
mov ebx, eax
xor esi, esi
xor edi, edi
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
add esi, dword [esp + 0x18]
adc edi, dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
sub esp, 8
test eax, eax
jne 0x43f4a0
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 4
add esp, 0x27c
mov eax, esi
mov edx, edi
pop ebx
pop esi
pop edi
pop ebp
ret 4
xor esi, esi
xor edi, edi
jmp 0x43f4d8

Function at 0x43fce0
Capabilities:
Query environment variable

Disassembly:
push edi
push esi
mov eax, 0x2020
push ebx
call fcn.005d4d10
xor esi, esi
sub esp, eax
mov ebx, ecx
mov eax, dword [esp + 0x2034]
mov word [esp + 0x20], si
lea esi, [esp + 0x20]
mov dword [esp + 8], 0x1000
mov dword [esp + 4], esi
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebx + 8]
sub esp, 0xc
mov dword [esp], esi
mov dword [ebx], eax
call fcn.005e72a0
lea edi, [eax + eax]
mov edx, edi
sar edx, 1
cmp edx, 7
mov dword [esp + 0x1c], edx
ja 0x43fd60
cmp edx, 1
mov eax, dword [ebx]
je 0x43fda0
test edx, edx
jne 0x43fd82
xor ecx, ecx
mov dword [ebx + 4], edx
mov word [eax + edx*2], cx
add esp, 0x2020
mov eax, ebx
pop ebx
pop esi
pop edi
ret 8
lea eax, [esp + 0x1c]
mov dword [esp + 4], 0
mov ecx, ebx
mov dword [esp], eax
call int.006c1e40
sub esp, 8
mov dword [ebx], eax
mov edx, dword [esp + 0x1c]
mov dword [ebx + 8], edx
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.005e73f8
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx]
jmp 0x43fd45
movzx ecx, word [esp + 0x20]
mov word [eax], cx
jmp 0x43fd45
Function at 0x43fdb0
Capabilities:
Get disk information

Disassembly:
push esi
push ebx
sub esp, 0x34
mov ebx, dword [esp + 0x40]
lea esi, [esp + 0x28]
mov dword [esp + 4], 0x72795a
mov dword [esp], esi
call fcn.005e72b8
test ebx, ebx
je 0x43fde5
mov dword [esp], ebx
call fcn.005e72a0
cmp eax, 1
jbe 0x43fde5
cmp word [ebx + 2], 0x3a
je 0x43fe50
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
sub esp, 0x20
test eax, eax
je 0x43fef0
mov eax, dword [esp + 0x24]
add esp, 0x34
pop ebx
pop esi
shr eax, 0x13
xor eax, 1
and eax, 1
ret 4
movzx eax, word [ebx]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
mov word [esp + 0x28], ax
lea eax, [esp + 0x24]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
sub esp, 0x20
test eax, eax
jne 0x43fe35
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], 0x727964
mov esi, eax
mov dword [esp + 8], eax
mov dword [esp], 0x835180
call fcn.0041e920
cmp esi, 3
jne 0x43fe35
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x7279a4
mov dword [esp], 0x835180
call fcn.0041e920
jmp 0x43fe35
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], str.RlLH
mov esi, eax
mov dword [esp + 8], eax
mov dword [esp], 0x835180
call fcn.0041e920
cmp esi, 3
jne 0x43fe35
jmp 0x43fec9
Function at 0x43ff20
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
push edi
mov eax, 0x201c
push esi
push ebx
call fcn.005d4d10
sub esp, eax
mov ebx, dword [esp + 0x2030]
cmp word [ebx + 2], 0x3a
je 0x440030
mov dword [esp], ebx
mov ecx, 0x8554b8
call fcn.0043fdb0
sub esp, 4
test eax, eax
jne 0x43ff80
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x727a00
mov dword [esp], 0x835180
call fcn.0041e920
add esp, 0x201c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
sub esp, 4
cmp eax, 0xffffffff
je 0x4400a4
test al, 0x10
jne 0x43ff6e
lea esi, [esp + 0x10]
mov dword [esp + 4], ebx
mov dword [esp], esi
mov ebx, esi
call fcn.005e72b8
mov edi, dword [sym.imp.msvcrt.dll__wmkdir]
mov ebp, dword [sym.imp.msvcrt.dll__errno]
jmp 0x43ffcc
mov eax, 0x5c
add ebx, 2
mov word [ebx - 2], ax
mov dword [esp], ebx
mov dword [esp + 4], 0x5c
call fcn.005e72d0
test eax, eax
mov ebx, eax
je 0x440050
xor edx, edx
mov word [eax], dx
mov dword [esp], esi
call edi
test eax, eax
jns 0x43ffc0
call ebp
cmp dword [eax], 0x11
je 0x43ffc0
mov dword [esp], esi
call fcn.005e72a0
cmp eax, 2
jbe 0x43ffc0
call ebp
mov eax, dword [eax]
mov dword [esp + 8], esi
mov dword [esp + 4], 0x727a3c
mov dword [esp], 0x835180
mov dword [esp + 0xc], eax
call fcn.0041e920
jmp 0x43ffc0
cmp word [ebx + 4], 0
jne 0x43ff42
add esp, 0x201c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], esi
call edi
test eax, eax
jns 0x43ff6e
mov ebx, dword [sym.imp.msvcrt.dll__errno]
call ebx
cmp dword [eax], 0x11
je 0x43ff6e
mov dword [esp], esi
call fcn.005e72a0
cmp eax, 2
jbe 0x43ff6e
call ebx
mov eax, dword [eax]
mov dword [esp + 8], esi
mov dword [esp + 4], 0x727a3c
mov dword [esp], 0x835180
mov dword [esp + 0xc], eax
call fcn.0041e920
jmp 0x43ff6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test al, 0x7f
je 0x43ff6e
jmp 0x43ff99

Function at 0x4400c0
Capabilities:
Create directory

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
sub esp, 8
add esp, 0x1c
ret 4
Function at 0x440110
Capabilities:
Create process on windows

Disassembly:
push ebp
push edi
xor eax, eax
push esi
push ebx
mov ecx, 0xf
sub esp, 0x6c
lea ebp, [esp + 0x24]
mov esi, dword [esp + 0x80]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x8c]
mov edi, ebp
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], str.er6_
mov dword [esp], 0x835180
mov dword [esp + 0xc], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x24], 0x3c
mov dword [esp + 0x28], 0x40
mov dword [esp + 0x34], esi
call fcn.0041eed0
mov dword [esp + 4], 0x727a7a
mov dword [esp], esi
call fcn.005e72c8
test eax, eax
jne 0x440215
mov eax, dword [esp + 0x84]
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x727a7a
mov dword [esp], 0
mov dword [esp + 8], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
sub esp, 0x18
test ebx, ebx
je 0x440209
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
sub esp, 8
mov ebx, dword [esp + 0x20]
add esp, 0x6c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp], ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
sub esp, 4
jmp 0x4401d1
Function at 0x440520
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x9c
mov dword [ebp - 0x70], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp], 0x727a84
call edi
sub esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 4], 0x727a98
mov dword [esp], eax
call esi
sub esp, 8
mov ebx, eax
mov dword [esp], 0x727a84
call edi
sub esp, 4
mov dword [esp + 4], 0x727ab7
mov dword [esp], eax
call esi
sub esp, 8
test ebx, ebx
mov dword [ebp - 0x80], eax
setne dl
test eax, eax
mov byte [ebp - 0x79], 0
setne al
and dl, al
mov byte [ebp - 0x7a], dl
jne 0x440740
lea edi, [ebp - 0x4c]
mov dword [esp], 0x727ad8
lea ebx, [ebp - 0x54]
mov dword [ebp - 0x54], edi
call fcn.005e72a0
add eax, eax
mov edx, eax
mov dword [ebp - 0x84], eax
sar edx, 1
cmp edx, 7
mov ecx, edx
mov dword [ebp - 0x6c], edx
ja 0x4406f0
cmp edx, 1
mov eax, dword [ebp - 0x54]
je 0x440760
test edx, edx
lea esi, [ebp - 0x6c]
jne 0x440711
xor edx, edx
mov dword [ebp - 0x50], ecx
mov word [eax + ecx*2], dx
mov dword [esp + 4], ebx
mov ecx, esi
mov dword [esp], 0x8554b8
call fcn.0043fce0
mov eax, dword [ebp - 0x54]
sub esp, 8
cmp eax, edi
je 0x440608
mov dword [esp], eax
call fcn.006eb330
xor eax, eax
mov ecx, 0xf
mov edi, ebx
rep stosd dword es:[edi], eax
mov esi, dword [ebp - 0x6c]
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 4], str.er6_
mov dword [esp], 0x835180
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], 1
call fcn.0041eed0
mov dword [esp + 4], 0x727a7a
mov dword [esp], esi
call fcn.005e72c8
test eax, eax
jne 0x4406e0
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x727a7a
mov dword [esp], 0
mov dword [esp + 8], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
sub esp, 0x18
cmp byte [ebp - 0x79], 0
je 0x4406c3
cmp byte [ebp - 0x7a], 0
je 0x4406c3
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call dword [ebp - 0x80]
sub esp, 4
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x64]
cmp eax, edx
je 0x4406d5
mov dword [esp], eax
call fcn.006eb330
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov dword [esp], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
sub esp, 4
jmp 0x4406ab
lea esi, [ebp - 0x6c]
mov dword [esp + 4], 0
mov ecx, ebx
mov dword [esp], esi
call int.006c1e40
mov edx, dword [ebp - 0x6c]
sub esp, 8
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 0x84]
mov dword [esp + 4], 0x727ad8
mov dword [esp], eax
mov dword [esp + 8], ecx
call fcn.005e73f8
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x54]
jmp 0x4405db
lea eax, [ebp - 0x70]
mov dword [esp], eax
call ebx
sub esp, 4
test eax, eax
setne byte [ebp - 0x79]
jmp 0x440595
movzx edx, word [0x727ad8]
lea esi, [ebp - 0x6c]
mov word [eax], dx
jmp 0x4405db
Function at 0x4416e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
xor ebx, ebx
sub esp, 0x48
lea eax, [esp + 0x2c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], eax
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.00409690
sub esp, 8
cmp dword [esp + 0x28], 4
jg 0x441711
add esp, 0x48
mov eax, ebx
pop ebx
ret 4
lea eax, [esp + 0x30]
mov dword [esp + 0xc], 0x20119
mov dword [esp + 8], 0
mov dword [esp + 4], 0x727bcc
mov dword [esp], 0x80000002
mov dword [esp + 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x4417d0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], 4
cmp eax, 5
je 0x441824
cmp eax, 0xb
mov ebx, 1
je 0x4417b4
lea eax, [esp + 0x38]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x727c9c
mov dword [esp + 0x14], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x441800
cmp dword [esp + 0x34], 1
sete bl
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
mov eax, ebx
add esp, 0x48
pop ebx
ret 4
mov dword [esp + 8], eax
mov dword [esp + 4], 0x727cc0
mov ebx, 1
mov dword [esp], 0x835180
call fcn.0041e920
add esp, 0x48
mov eax, ebx
pop ebx
ret 4
cmp eax, 2
je 0x441820
mov dword [esp + 8], eax
mov dword [esp + 4], 0x727c58
mov dword [esp], 0x835180
call fcn.0041e920
jmp 0x4417b4
xor ebx, ebx
jmp 0x4417b4
lea eax, [esp + 0x38]
mov dword [esp + 8], 0
mov dword [esp + 4], str.t_MB
mov dword [esp + 0x14], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x441870
mov eax, dword [esp + 0x34]
test eax, eax
sete bl
jmp 0x4417b4
cmp eax, 2
je 0x441820
mov dword [esp + 8], eax
mov dword [esp + 4], 0x727c58
mov ebx, 1
mov dword [esp], 0x835180
call fcn.0041e920
jmp 0x4417b4

Function at 0x4418a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
sub esp, 0x38
lea eax, [esp + 0x20]
mov dword [esp + 0xc], 0x20119
mov dword [esp + 8], 0
mov dword [esp + 4], 0x727bcc
mov dword [esp], 0x80000002
mov dword [esp + 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x441943
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 4
mov dword [esp + 0x2c], 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0x727d00
mov ebx, 0xffffffff
mov dword [esp + 0x14], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
mov eax, dword [esp + 0x20]
cmove ebx, dword [esp + 0x24]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
add esp, 0x38
mov eax, ebx
pop ebx
ret
mov dword [esp + 8], eax
mov dword [esp + 4], 0x727d48
mov ebx, 0xfffffffe
mov dword [esp], 0x835180
call fcn.0041e920
jmp 0x44193c
Function at 0x441970
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebx
sub esp, 0x38
mov ebx, dword [esp + 0x40]
cmp ebx, 0xfffffffe
je 0x441a06
lea eax, [esp + 0x28]
mov dword [esp + 0xc], 0x20106
mov dword [esp + 8], 0
mov dword [esp + 4], 0x727bcc
mov dword [esp], 0x80000002
mov dword [esp + 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x441a10
cmp ebx, 0xffffffff
mov dword [esp + 0x2c], ebx
je 0x441a30
lea eax, [esp + 0x2c]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0x727d00
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub esp, 0x18
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
add esp, 0x38
pop ebx
ret 4
mov dword [esp + 8], eax
mov dword [esp + 4], 0x727d90
mov dword [esp], 0x835180
call fcn.0041e920
add esp, 0x38
pop ebx
ret 4
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 0x727d00
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
sub esp, 8
jmp 0x4419f6
Function at 0x4459e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp - 0x21e]
lea ecx, [ebp - 0x230]
sub esp, 0x244
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x224], pe_nt_image_headers32
mov dword [ebp - 0x228], eax
xor eax, eax
mov byte [ebp - 0x220], 0
mov word [ebp - 0x21e], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x230], 0x75d6e8
mov dword [esp], eax
call fcn.00403cc0
mov ebx, dword [ebp - 0x228]
sub esp, 4
movzx eax, word [ebx]
test ax, ax
je 0x445b40
mov edx, ebx
jmp 0x445a60
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
je 0x445b40
cmp ax, 0x5f
jne 0x445a50
movzx ecx, word [edx + 2]
mov eax, ecx
sub ecx, 0x30
cmp ecx, 9
ja 0x445a54
xor eax, eax
mov word [edx], ax
mov eax, dword [str.HMS]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov dword [esp], ebx
call dword [eax + 0x18]
sub esp, 4
test eax, eax
je 0x445b40
lea ecx, [ebp - 0x10a]
lea edx, [ebp - 0x11c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x83d1c0
mov dword [esp + 4], 0x73151c
mov dword [ebp - 0x114], ecx
mov dword [esp], edx
xor ecx, ecx
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x110], pe_nt_image_headers32
mov byte [ebp - 0x10c], 0
mov dword [ebp - 0x11c], 0x75d6e8
mov word [ebp - 0x10a], cx
call fcn.00403910
mov eax, dword [ebp - 0x114]
mov dword [esp + 4], 0x73152a
mov dword [esp], 0x835180
mov dword [esp + 8], eax
call fcn.0041eed0
mov eax, dword [ebp - 0x114]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wremove]
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x11c], 0x75d500
test eax, eax
je 0x445b40
mov dword [esp], eax
call fcn.006eb310
lea esi, [esi]
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x230], 0x75d500
test eax, eax
je 0x445b5c
mov dword [esp], eax
call fcn.006eb310
mov ebx, dword [ebp - 4]
leave
ret 4
Function at 0x464d50
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
mov edi, eax
push esi
push ebx
mov ebx, ecx
sub esp, 0x1c
mov dword [esp + 0x10], eax
movzx eax, word [eax]
mov esi, dword [esp + 0x34]
mov dword [esp + 4], ecx
shr ax, 4
movzx ecx, ax
xor eax, 0x7f
movzx eax, ax
mov ecx, dword [esi + ecx*4]
mov eax, dword [esi + eax*4]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
movzx eax, word [edi + 2]
mov word [esp], ax
shr ax, 4
movzx ecx, ax
xor eax, 0x7f
test ebx, ebx
movzx eax, ax
mov ecx, dword [esi + ecx*4]
mov eax, dword [esi + eax*4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
je 0x464e14
lea ebp, [edi + 4]
mov edi, edx
mov dword [esp], 0
shl edi, 4
nop
lea esi, [esi]
mov eax, dword [esp]
xor ebx, ebx
or eax, 8
nop
lea esi, [esi]
mov edx, eax
and eax, 1
shr edx, 1
neg eax
lea ecx, [ebp + edx*2]
and eax, 0x7ff
movzx ecx, word [ecx + edi]
xor eax, ecx
sar eax, 4
add ebx, dword [esi + eax*4]
cmp edx, 1
mov eax, edx
jne 0x464dd0
add ebx, dword [esp + 8]
mov eax, dword [esp]
mov ecx, dword [esp + 0x30]
mov dword [ecx + eax*4], ebx
add eax, 1
cmp eax, 8
mov dword [esp], eax
je 0x464e1c
cmp dword [esp + 4], eax
jne 0x464dc0
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [esp + 4], 8
jbe 0x464e14
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
lea ebp, [eax + 0x104]
mov eax, dword [esp + 0xc]
add eax, ebx
mov dword [esp + 8], eax
nop
lea esi, [esi]
mov eax, dword [esp]
xor ebx, ebx
sub eax, 8
or eax, 8
nop
lea esi, [esi]
mov edx, eax
and eax, 1
shr edx, 1
neg eax
lea ecx, [ebp + edx*2]
and eax, 0x7ff
movzx ecx, word [ecx + edi]
xor eax, ecx
sar eax, 4
add ebx, dword [esi + eax*4]
cmp edx, 1
mov eax, edx
jne 0x464e50
add ebx, dword [esp + 8]
mov eax, dword [esp]
mov ecx, dword [esp + 0x30]
mov dword [ecx + eax*4], ebx
add eax, 1
cmp eax, 0x10
mov dword [esp], eax
je 0x464e9c
cmp dword [esp + 4], eax
jne 0x464e40
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 4]
cmp eax, 0x10
jbe 0x464e14
sub eax, 0x10
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
xor ebp, ebp
add edi, 0x204
add eax, ebx
mov dword [esp + 4], eax
lea esi, [esi]
mov eax, ebp
xor ebx, ebx
or ah, 1
mov esi, esi
lea edi, [edi]
mov ecx, eax
and eax, 1
shr ecx, 1
neg eax
movzx edx, word [edi + ecx*2]
and eax, 0x7ff
xor edx, eax
mov eax, ecx
sar edx, 4
add ebx, dword [esi + edx*4]
cmp ecx, 1
jne 0x464ee0
add ebx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [eax + ebp*4 + 0x40], ebx
add ebp, 1
cmp dword [esp], ebp
jne 0x464ed0
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x464fd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
lea esi, [eax + 0x30f34]
sub esp, 0x21c
mov dword [esp + 0x10], eax
add eax, 0x32b68
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
lea esi, [esi]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
mov ebx, 0x7fffffff
xor ebp, ebp
movzx eax, byte [ecx + esi + 0x30734]
mov edx, eax
mov ecx, eax
sub ebx, eax
and edx, 1
shr ecx, 1
or edx, 2
sub ecx, 1
movzx edx, dl
shl edx, cl
sub esi, edx
add edx, ebx
test ecx, ecx
lea eax, [edx + edx]
mov dword [esp], eax
je 0x465073
mov ebx, 1
mov eax, dword [esp + 8]
mov edx, dword [esp]
add ebx, ebx
mov edi, esi
shr esi, 1
and edi, 1
add eax, ebx
or ebx, edi
movzx eax, word [eax + edx]
mov edx, edi
neg edx
and edx, 0x7ff
xor eax, edx
mov edx, dword [esp + 4]
sar eax, 4
add ebp, dword [edx + eax*4]
sub ecx, 1
jne 0x465040
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x1c], ebp
add eax, 1
mov dword [esp + 0xc], eax
add eax, 0xffffff80
jne 0x465000
mov eax, dword [esp + 0x10]
lea ecx, [eax + 0x31dc8]
lea edi, [eax + 0x32968]
lea esi, [eax + 0x319c8]
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], ecx
mov ebp, ecx
mov edi, eax
mov edx, dword [edi + 0x88]
xor eax, eax
test edx, edx
je 0x465148
mov dword [esp], esi
mov dword [esp + 8], edi
mov esi, dword [esp + 4]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x14], ebp
mov ebp, eax
mov eax, ebp
xor ebx, ebx
or eax, 0x40
lea esi, [esi]
mov ecx, eax
and eax, 1
shr ecx, 1
neg eax
movzx edx, word [edi + ecx*2]
and eax, 0x7ff
xor edx, eax
mov eax, ecx
sar edx, 4
add ebx, dword [esi + edx*4]
cmp ecx, 1
jne 0x4650e0
mov eax, dword [esp]
mov dword [eax + ebp*4], ebx
mov eax, dword [esp + 8]
add ebp, 1
mov eax, dword [eax + 0x88]
cmp eax, ebp
ja 0x4650d2
cmp eax, 0xe
mov esi, dword [esp]
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 8]
jbe 0x465148
mov eax, 0xe
lea esi, [esi]
mov edx, eax
shr edx, 1
sub edx, 5
shl edx, 4
add dword [esi + eax*4], edx
add eax, 1
cmp dword [edi + 0x88], eax
ja 0x465130
mov eax, dword [esi]
mov dword [ebp], eax
mov eax, dword [esi + 4]
mov dword [ebp + 4], eax
mov eax, dword [esi + 8]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, 4
movzx ecx, byte [edi + eax + 0x30734]
mov edx, dword [esp + eax*4 + 0x1c]
add edx, dword [esi + ecx*4]
mov dword [ebp + eax*4], edx
add eax, 1
cmp eax, 0x80
jne 0x465164
add esi, 0x100
add ebp, 0x200
sub dword [esp + 0xc], 0xffffff80
cmp esi, dword [esp + 0x18]
jne 0x4650ad
mov eax, dword [esp + 0x10]
mov dword [eax + 0x80], 0
add esp, 0x21c
pop ebx
pop esi
pop edi
pop ebp
ret