joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f760
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4698e0
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4a5590]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
xor esi, esi
cmp dword [0x4acbe0], 0xa
jb 0x41f8ca
lea ecx, [ebp - 0x28]
call fcn.0041f5c0
test eax, eax
jne 0x41f8b7
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.0042e1e0
push str.TUInstallHelper.exe
mov edx, eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004122e0
add esp, 4
cmp dword [ebp - 0x44], 8
jb 0x41f7f6
push dword [ebp - 0x58]
call fcn.0044d5f9
add esp, 4
cmp dword [ebp - 0x2c], 8
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x98], 0x3c
mov dword [ebp - 0x94], 0x140
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], str.open
jae 0x41f82a
lea eax, [ebp - 0x40]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x84], str.__uninstall_sandman
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41f8a6
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x5c], 0
lea esp, [esp]
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x60]
call ebx
test eax, eax
je 0x41f887
mov eax, dword [ebp - 0x5c]
cmp eax, 0x103
jne 0x41f896
push 0xa
call edi
cmp dword [ebp - 0x5c], 0x103
je 0x41f870
jmp 0x41f8a6
cmp eax, 1
jne 0x41f89f
mov esi, eax
jmp 0x41f8a6
cmp eax, 2
jne 0x41f8a6
mov esi, eax
cmp dword [ebp - 0x2c], 8
jb 0x41f8b7
push dword [ebp - 0x40]
call fcn.0044d5f9
add esp, 4
cmp dword [ebp - 0x14], 8
jb 0x41f8c8
push dword [ebp - 0x28]
call fcn.0044d5f9
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c2ed
mov esp, ebp
pop ebp
ret
Function at 0x41f8f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4698e0
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4a5590]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
lea ebx, [eax + 1]
call fcn.0041f5c0
test eax, eax
jne 0x41fa28
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.0042e1e0
push str.TUInstallHelper.exe
mov edx, eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.004122e0
add esp, 4
cmp dword [ebp - 0x44], 8
jb 0x41f979
push dword [ebp - 0x58]
call fcn.0044d5f9
add esp, 4
cmp dword [ebp - 0x2c], 8
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x98], 0x3c
mov dword [ebp - 0x94], 0x140
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], str.open
jae 0x41f9ad
lea eax, [ebp - 0x40]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x84], str.__close_tuuapps
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41fa15
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x5c], 0
nop
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x60]
call edi
test eax, eax
je 0x41fa06
cmp dword [ebp - 0x5c], 0x103
jne 0x41fa17
push 0xa
call esi
cmp dword [ebp - 0x5c], 0x103
je 0x41f9f0
jmp 0x41fa17
xor ebx, ebx
cmp dword [ebp - 0x2c], 8
jb 0x41fa28
push dword [ebp - 0x40]
call fcn.0044d5f9
add esp, 4
cmp dword [ebp - 0x14], 8
jb 0x41fa39
push dword [ebp - 0x28]
call fcn.0044d5f9
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c2ed
mov esp, ebp
pop ebp
ret
Function at 0x41fe90
Capabilities:
Terminate process

Disassembly:
cmp dword [0x4a6b00], 0xffffffff
push esi
mov esi, ecx
je 0x41feb7
mov ecx, str.FINISH
call fcn.0042cc70
push 0x2710
push dword [0x4a6b00]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x4acda0]
cmp eax, 0xffffffff
je 0x41fed2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4acda0], 0xffffffff
push esi
call fcn.0044fa75
int3

Function at 0x41fee0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a443
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4a5590]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
xor eax, eax
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00409d90
mov dword [ebp - 4], 0
test esi, esi
je 0x41ff6a
movzx edx, si
lea ecx, [ebp - 0x40]
call fcn.0042df60
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00409560
mov byte [ebp - 4], 0
cmp dword [ebp - 0x2c], 8
jb 0x41ff6a
push dword [ebp - 0x40]
call fcn.0044d5f9
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.0042f4b0
push eax
mov edx, 0x47c00c
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.0041ede0
add esp, 4
push 0x47c004
mov edx, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.004122e0
add esp, 4
cmp dword [ebp - 0x5c], 8
jb 0x41ffae
push dword [ebp - 0x70]
call fcn.0044d5f9
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x2c], 8
jb 0x41ffd7
push dword [ebp - 0x40]
call fcn.0044d5f9
add esp, 4
push 7
xor eax, eax
push str.ERROR:
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.004092b0
push 0x47c044
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x88]
call fcn.0040b610
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.00409560
mov byte [ebp - 4], 6
cmp dword [ebp - 0x74], 8
jb 0x420039
push dword [ebp - 0x88]
call fcn.0044d5f9
add esp, 4
mov ecx, dword [0x4acda0]
cmp ecx, 0xffffffff
je 0x420067
cmp dword [ebp - 0x44], 8
mov edx, dword [ebp - 0x58]
jae 0x420050
lea edx, [ebp - 0x58]
push 0
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x48]
add eax, eax
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x44], 8
jb 0x42007c
push dword [ebp - 0x58]
call fcn.0044d5f9
add esp, 4
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x420088
lea eax, [ebp - 0x28]
push 0x10
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
movzx ecx, si
call fcn.0041fe90
int3
Function at 0x422930
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
lea eax, [ebp - 4]
push eax
mov esi, ecx
push str.SoftwareAVGAWL2015
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], edx
mov dword [esi], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x422a3d
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.LicenseType
push dword [ebp - 4]
call ebx
mov edi, eax
test edi, edi
jne 0x4229bd
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.LicenseExpired
push dword [ebp - 4]
call ebx
mov edi, eax
test edi, edi
je 0x4229cf
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.LicenseBeta
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x4229c6
mov ecx, dword [ebp - 0x10]
cmp ecx, 1
je 0x422a18
cmp ecx, 2
je 0x422a18
cmp ecx, 3
je 0x422a18
cmp ecx, 4
je 0x422a18
xor eax, eax
cmp ecx, 5
setne al
dec eax
and ecx, eax
cmp dword [ebp - 0x14], 0
jbe 0x422a26
mov dword [esi], 6
jmp 0x422a2d
call fcn.00408ed0
mov dword [esi], eax
cmp dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x1c]
setne al
pop edi
mov byte [ecx], al
xor eax, eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423ef0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4a5590]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x118
lea eax, [ebp - 0x124]
push 0
push eax
mov esi, ecx
call fcn.00450d00
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
mov dword [ebp - 0x128], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x423f6f
mov eax, dword [ebp - 0x124]
cmp eax, 5
jb 0x423f7e
jne 0x423f66
mov eax, dword [ebp - 0x120]
test eax, eax
je 0x423f7e
cmp eax, 1
jne 0x423f66
cmp word [ebp - 0x14], 2
jae 0x423f66
mov dword [0x4acbf8], 2
jmp 0x423f88
cmp dword [0x4acbf8], 0
jne 0x423f88
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044c2ed
mov esp, ebp
pop ebp
ret
mov dword [0x4acbf8], 1
mov ecx, esi
call fcn.004239d0
xor ecx, ecx
call fcn.0041fe90
int3

Function at 0x424120
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4a5590]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x22c]
push eax
push 7
push 0xffffffffffffffff
xor ebx, ebx
push ebx
call esi
test eax, eax
je 0x4241f4
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x230]
push eax
push 5
push 0xffffffffffffffff
push ebx
call esi
test eax, eax
je 0x4241e8
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push dword [ebp - 0x22c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
add eax, esi
cmp eax, 0x111
jae 0x4241dc
push dword [ebp - 0x22c]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x47ac4c
lea eax, [ebp - 0x228]
push eax
call esi
push dword [ebp - 0x230]
lea eax, [ebp - 0x228]
push eax
call esi
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, eax
push dword [ebp - 0x230]
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
push dword [ebp - 0x22c]
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0044c2ed
mov esp, ebp
pop ebp
ret
Function at 0x424880
Capabilities:
Check os version
Create process on windows
Query environment variable
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4a5590]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
xor bl, bl
call fcn.00450d00
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
push 0x20019
push 0
push str.systemcurrentcontrolsetcontrol_safebootoption
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x424993
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push str.UseAlternateShell
push dword [ebp - 0x41c]
mov dword [ebp - 0x420], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x424], 0
je 0x424993
lea eax, [ebp - 0x41c]
push eax
push 0x20019
push 0
push str.systemcurrentcontrolsetcontrol_safeboot
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x424993
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push str.AlternateShell
push dword [ebp - 0x41c]
mov dword [ebp - 0x420], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x424987
xor eax, eax
mov word [ebp - 0x210], ax
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp ax, word [ebp - 0x210]
jne 0x4249d8
push str.system.ini
push 0x104
lea eax, [ebp - 0x210]
push eax
push str.explorer
push str.Shell
push str.boot
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4249cf
cmp eax, 0x103
jb 0x4249d8
xor eax, eax
mov word [ebp - 0x210], ax
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.explorer
lea eax, [ebp - 0x210]
push eax
call esi
test eax, eax
je 0x424a06
push str.explorer.exe
lea eax, [ebp - 0x210]
push eax
call esi
test eax, eax
jne 0x424a8a
push 0
push str.Progman
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x424a8a
push 0x104
lea eax, [ebp - 0x418]
push eax
push str._SystemRoot_Explorer.EXE
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x103
ja 0x424a8a
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xff
cmp eax, 6
jae 0x424a6c
push 5
push 0
push 0
lea eax, [ebp - 0x418]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
setg bl
jmp 0x424a8a
lea ecx, [ebp - 0x418]
call fcn.004247d0
mov bl, al
test bl, bl
jne 0x424a8a
lea ecx, [ebp - 0x418]
call fcn.00424210
mov bl, al
mov eax, dword [0x4acc04]
test eax, eax
je 0x424aa4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4acc04], 0
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0044c2ed
mov esp, ebp
pop ebp
ret
Function at 0x427890
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4a5590]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4a6f9c], 0
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x20], 0
jne 0x4279a0
lea ecx, [ebp - 0x1c]
call fcn.0042e3f0
mov edi, eax
cmp edi, 0x4a6f8c
je 0x427908
cmp dword [0x4a6fa0], 8
jb 0x4278e1
push dword [0x4a6f8c]
call fcn.0044d5f9
add esp, 4
xor eax, eax
push edi
mov ecx, 0x4a6f8c
mov dword [0x4a6fa0], 7
mov dword [0x4a6f9c], 0
mov word [0x4a6f8c], ax
call fcn.00409c10
cmp dword [ebp - 8], 8
jb 0x427919
push dword [ebp - 0x1c]
call fcn.0044d5f9
add esp, 4
cmp dword [0x4a6fa0], 8
mov edx, dword [0x4a6f8c]
jae 0x42792d
mov edx, 0x4a6f8c
mov ecx, str.AVGREPLIB_DLL
call fcn.0041e1e0
test eax, eax
mov eax, dword [0x4a6f8c]
js 0x427969
cmp dword [0x4a6fa0], 8
jae 0x42794e
mov eax, 0x4a6f8c
push 0
push 0x4000000
push 3
push 0
push 5
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x4279a0
cmp dword [0x4a6fa0], 8
jae 0x427977
mov eax, 0x4a6f8c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x4a6fa0], 8
mov eax, dword [0x4a6f8c]
mov dword [0x4a6f9c], 0
jae 0x42799b
mov eax, 0x4a6f8c
xor ecx, ecx
mov word [eax], cx
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push 0x4a6f8c
mov ecx, esi
mov word [esi], ax
call fcn.00409d90
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044c2ed
mov esp, ebp
pop ebp
ret
Function at 0x427ef0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469ee9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4a5590]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [ebp - 0x34], esi
mov word [esi], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
call fcn.0042e3f0
mov edi, eax
cmp esi, edi
je 0x427f7f
cmp dword [esi + 0x14], 8
jb 0x427f64
push dword [esi]
call fcn.0044d5f9
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push edi
mov ecx, esi
mov word [esi], ax
call fcn.00409c10
cmp dword [ebp - 0x18], 8
jb 0x427f90
push dword [ebp - 0x2c]
call fcn.0044d5f9
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x427f9a
mov edx, dword [esi]
jmp 0x427f9c
mov edx, esi
mov ecx, ebx
call fcn.0041e1e0
test eax, eax
js 0x427fd4
cmp byte [ebp + 8], 0
je 0x427fff
cmp dword [esi + 0x14], 8
jb 0x427fb7
mov eax, dword [esi]
jmp 0x427fb9
mov eax, esi
push 0
push 0x4000000
push 3
push 0
push 5
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x427fff
cmp dword [esi + 0x14], 8
jb 0x427fde
mov eax, dword [esi]
jmp 0x427fe0
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x427ff8
mov eax, dword [esi]
jmp 0x427ffa
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044c2ed
mov esp, ebp
pop ebp
ret
Function at 0x42cc70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
mov ebx, ecx
push str..pipezenreportingpipe
mov dword [ebp - 4], ebx
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x42cd07
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea ebx, [ebx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
sub ecx, 2
je 0x42cce0
sub ecx, 0xe5
jne 0x42cd36
push 0xffffffffffffffff
push str..pipezenreportingpipe
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x42cce4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
push 5
call ebx
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push str..pipezenreportingpipe
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x42ccb0
mov ebx, dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
lea ecx, [ebp - 8]
push ecx
lea eax, [eax*2 + 2]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
neg esi
sbb esi, esi
neg esi
lea eax, [esi - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42d420
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push 0xf0000020
push 1
push 0
push 0
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0xc], 0x10
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x42d4a6
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x42d49b
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x42d492
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x42d492
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42e3f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ae8b
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x4a5590]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x43c], 0
call fcn.00450d00
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x104
jg 0x42e4a8
test eax, eax
je 0x42e4a8
lea eax, [ebp - 0x218]
push eax
push 0
push str.TUMSI
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.0040a200
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c2ed
mov esp, ebp
pop ebp
ret
push 0xd
xor eax, eax
push str.TempFileName1
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call fcn.0040a100
mov edx, 0x80004005
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 0
call fcn.0041fee0
int3

Function at 0x42e4f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46af99
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4a5590]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov byte [ebp - 0xd], 0
mov word [edi], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], 1
cmp dword [eax + 0x14], 8
jb 0x42e550
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e604
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], 8
jb 0x42e57c
mov eax, dword [esi]
jmp 0x42e57e
mov eax, esi
lea ecx, [ebp + 8]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42e5e1
cmp dword [ebp - 0x18], 1
jne 0x42e5e1
push dword [ebp + 8]
call fcn.0044dda2
add esp, 4
cmp dword [esi + 0x14], 8
mov ebx, eax
jb 0x42e5b3
mov esi, dword [esi]
lea eax, [ebp + 8]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push 0
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42e5d8
push ebx
mov ecx, edi
call fcn.00409260
mov byte [ebp - 0xd], 1
push ebx
call fcn.0044cbc4
add esp, 4
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0xd], 0
je 0x42e604
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp + 8], str.Registry_Value_not_found
call fcn.0044c434
push 0x49e148
lea eax, [ebp - 0x2c]
push eax
call fcn.00450ffb
int3
Function at 0x42e630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor bl, bl
cmp dword [edx + 0x14], 8
mov dword [ebp - 8], 0
jb 0x42e648
mov edx, dword [edx]
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e6aa
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], 4
cmp dword [eax + 0x14], 8
jb 0x42e671
mov eax, dword [eax]
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42e695
cmp dword [ebp - 0x10], 4
jne 0x42e695
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
pop ebx
je 0x42e6aa
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], str.Registry_Value_not_found
call fcn.0044c434
push 0x49e148
lea eax, [ebp - 0x1c]
push eax
call fcn.00450ffb
int3