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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469920
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 0x41f90a
lea ecx, [ebp - 0x28]
call fcn.0041f600
test eax, eax
jne 0x41f8f7
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.0042e220
push str.TUInstallHelper.exe
mov edx, eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00412310
add esp, 4
cmp dword [ebp - 0x44], 8
jb 0x41f836
push dword [ebp - 0x58]
call fcn.0044d639
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 0x41f86a
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 0x41f8e6
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 0x41f8c7
mov eax, dword [ebp - 0x5c]
cmp eax, 0x103
jne 0x41f8d6
push 0xa
call edi
cmp dword [ebp - 0x5c], 0x103
je 0x41f8b0
jmp 0x41f8e6
cmp eax, 1
jne 0x41f8df
mov esi, eax
jmp 0x41f8e6
cmp eax, 2
jne 0x41f8e6
mov esi, eax
cmp dword [ebp - 0x2c], 8
jb 0x41f8f7
push dword [ebp - 0x40]
call fcn.0044d639
add esp, 4
cmp dword [ebp - 0x14], 8
jb 0x41f908
push dword [ebp - 0x28]
call fcn.0044d639
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.0044c32d
mov esp, ebp
pop ebp
ret
Function at 0x41f930
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469920
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.0041f600
test eax, eax
jne 0x41fa68
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.0042e220
push str.TUInstallHelper.exe
mov edx, eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00412310
add esp, 4
cmp dword [ebp - 0x44], 8
jb 0x41f9b9
push dword [ebp - 0x58]
call fcn.0044d639
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 0x41f9ed
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 0x41fa55
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 0x41fa46
cmp dword [ebp - 0x5c], 0x103
jne 0x41fa57
push 0xa
call esi
cmp dword [ebp - 0x5c], 0x103
je 0x41fa30
jmp 0x41fa57
xor ebx, ebx
cmp dword [ebp - 0x2c], 8
jb 0x41fa68
push dword [ebp - 0x40]
call fcn.0044d639
add esp, 4
cmp dword [ebp - 0x14], 8
jb 0x41fa79
push dword [ebp - 0x28]
call fcn.0044d639
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.0044c32d
mov esp, ebp
pop ebp
ret
Function at 0x41fed0
Capabilities:
Terminate process

Disassembly:
cmp dword [0x4a6b14], 0xffffffff
push esi
mov esi, ecx
je 0x41fef7
mov ecx, str.FINISH
call fcn.0042ccb0
push 0x2710
push dword [0x4a6b14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x4acd9c]
cmp eax, 0xffffffff
je 0x41ff12
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4acd9c], 0xffffffff
push esi
call fcn.0044fab5
int3

Function at 0x41ff20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a483
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.00409da0
mov dword [ebp - 4], 0
test esi, esi
je 0x41ffaa
movzx edx, si
lea ecx, [ebp - 0x40]
call fcn.0042dfa0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00409570
mov byte [ebp - 4], 0
cmp dword [ebp - 0x2c], 8
jb 0x41ffaa
push dword [ebp - 0x40]
call fcn.0044d639
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.0042f4f0
push eax
mov edx, 0x47c010
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.0041ee20
add esp, 4
push 0x47c008
mov edx, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00412310
add esp, 4
cmp dword [ebp - 0x5c], 8
jb 0x41ffee
push dword [ebp - 0x70]
call fcn.0044d639
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 0x420017
push dword [ebp - 0x40]
call fcn.0044d639
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.004092c0
push 0x47bfb8
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x88]
call fcn.0040b640
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.00409570
mov byte [ebp - 4], 6
cmp dword [ebp - 0x74], 8
jb 0x420079
push dword [ebp - 0x88]
call fcn.0044d639
add esp, 4
mov ecx, dword [0x4acd9c]
cmp ecx, 0xffffffff
je 0x4200a7
cmp dword [ebp - 0x44], 8
mov edx, dword [ebp - 0x58]
jae 0x420090
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 0x4200bc
push dword [ebp - 0x58]
call fcn.0044d639
add esp, 4
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4200c8
lea eax, [ebp - 0x28]
push 0x10
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
movzx ecx, si
call fcn.0041fed0
int3
Function at 0x422970
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 0x422a7d
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 0x4229fd
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 0x422a0f
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 0x422a06
mov ecx, dword [ebp - 0x10]
cmp ecx, 1
je 0x422a58
cmp ecx, 2
je 0x422a58
cmp ecx, 3
je 0x422a58
cmp ecx, 4
je 0x422a58
xor eax, eax
cmp ecx, 5
setne al
dec eax
and ecx, eax
cmp dword [ebp - 0x14], 0
jbe 0x422a66
mov dword [esi], 6
jmp 0x422a6d
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 0x423f30
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.00450d40
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 0x423faf
mov eax, dword [ebp - 0x124]
cmp eax, 5
jb 0x423fbe
jne 0x423fa6
mov eax, dword [ebp - 0x120]
test eax, eax
je 0x423fbe
cmp eax, 1
jne 0x423fa6
cmp word [ebp - 0x14], 2
jae 0x423fa6
mov dword [0x4acbf8], 2
jmp 0x423fc8
cmp dword [0x4acbf8], 0
jne 0x423fc8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044c32d
mov esp, ebp
pop ebp
ret
mov dword [0x4acbf8], 1
mov ecx, esi
call fcn.00423a10
xor ecx, ecx
call fcn.0041fed0
int3

Function at 0x424150
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 0x424224
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x230]
push eax
push 5
push 0xffffffffffffffff
push ebx
call esi
test eax, eax
je 0x424218
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 0x42420c
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 0x47abf8
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.0044c32d
mov esp, ebp
pop ebp
ret
Function at 0x4248b0
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.00450d40
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 0x4249c3
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 0x4249c3
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 0x4249c3
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 0x4249b7
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 0x424a08
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 0x4249ff
cmp eax, 0x103
jb 0x424a08
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 0x424a36
push str.explorer.exe
lea eax, [ebp - 0x210]
push eax
call esi
test eax, eax
jne 0x424aba
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 0x424aba
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 0x424aba
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xff
cmp eax, 6
jae 0x424a9c
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 0x424aba
lea ecx, [ebp - 0x418]
call fcn.00424800
mov bl, al
test bl, bl
jne 0x424aba
lea ecx, [ebp - 0x418]
call fcn.00424240
mov bl, al
mov eax, dword [0x4acc04]
test eax, eax
je 0x424ad4
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.0044c32d
mov esp, ebp
pop ebp
ret
Function at 0x4278c0
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 [0x4a6fac], 0
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x20], 0
jne 0x4279d0
lea ecx, [ebp - 0x1c]
call fcn.0042e430
mov edi, eax
cmp edi, 0x4a6f9c
je 0x427938
cmp dword [0x4a6fb0], 8
jb 0x427911
push dword [0x4a6f9c]
call fcn.0044d639
add esp, 4
xor eax, eax
push edi
mov ecx, 0x4a6f9c
mov dword [0x4a6fb0], 7
mov dword [0x4a6fac], 0
mov word [0x4a6f9c], ax
call fcn.00409c20
cmp dword [ebp - 8], 8
jb 0x427949
push dword [ebp - 0x1c]
call fcn.0044d639
add esp, 4
cmp dword [0x4a6fb0], 8
mov edx, dword [0x4a6f9c]
jae 0x42795d
mov edx, 0x4a6f9c
mov ecx, str.AVGREPLIB_DLL
call fcn.0041e220
test eax, eax
mov eax, dword [0x4a6f9c]
js 0x427999
cmp dword [0x4a6fb0], 8
jae 0x42797e
mov eax, 0x4a6f9c
push 0
push 0x4000000
push 3
push 0
push 5
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x4279d0
cmp dword [0x4a6fb0], 8
jae 0x4279a7
mov eax, 0x4a6f9c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x4a6fb0], 8
mov eax, dword [0x4a6f9c]
mov dword [0x4a6fac], 0
jae 0x4279cb
mov eax, 0x4a6f9c
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 0x4a6f9c
mov ecx, esi
mov word [esi], ax
call fcn.00409da0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044c32d
mov esp, ebp
pop ebp
ret
Function at 0x427f30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469f29
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.0042e430
mov edi, eax
cmp esi, edi
je 0x427fbf
cmp dword [esi + 0x14], 8
jb 0x427fa4
push dword [esi]
call fcn.0044d639
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.00409c20
cmp dword [ebp - 0x18], 8
jb 0x427fd0
push dword [ebp - 0x2c]
call fcn.0044d639
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x427fda
mov edx, dword [esi]
jmp 0x427fdc
mov edx, esi
mov ecx, ebx
call fcn.0041e220
test eax, eax
js 0x428014
cmp byte [ebp + 8], 0
je 0x42803f
cmp dword [esi + 0x14], 8
jb 0x427ff7
mov eax, dword [esi]
jmp 0x427ff9
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 0x42803f
cmp dword [esi + 0x14], 8
jb 0x42801e
mov eax, dword [esi]
jmp 0x428020
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x428038
mov eax, dword [esi]
jmp 0x42803a
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.0044c32d
mov esp, ebp
pop ebp
ret
Function at 0x42ccb0
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 0x42cd47
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 0x42cd20
sub ecx, 0xe5
jne 0x42cd76
push 0xffffffffffffffff
push str..pipezenreportingpipe
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x42cd24
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 0x42ccf0
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 0x42d460
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 0x42d4e6
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 0x42d4db
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 0x42d4d2
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 0x42d4d2
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 0x42e430
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46aecb
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.00450d40
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x104
jg 0x42e4e8
test eax, eax
je 0x42e4e8
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.0040a210
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.0044c32d
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.0040a110
mov edx, 0x80004005
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 0
call fcn.0041ff20
int3

Function at 0x42e530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46afd9
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 0x42e590
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 0x42e644
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], 8
jb 0x42e5bc
mov eax, dword [esi]
jmp 0x42e5be
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 0x42e621
cmp dword [ebp - 0x18], 1
jne 0x42e621
push dword [ebp + 8]
call fcn.0044dde2
add esp, 4
cmp dword [esi + 0x14], 8
mov ebx, eax
jb 0x42e5f3
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 0x42e618
push ebx
mov ecx, edi
call fcn.00409270
mov byte [ebp - 0xd], 1
push ebx
call fcn.0044cc04
add esp, 4
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0xd], 0
je 0x42e644
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.0044c474
push 0x49e158
lea eax, [ebp - 0x2c]
push eax
call fcn.0045103b
int3
Function at 0x42e670
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 0x42e688
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 0x42e6ea
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], 4
cmp dword [eax + 0x14], 8
jb 0x42e6b1
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 0x42e6d5
cmp dword [ebp - 0x10], 4
jne 0x42e6d5
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
pop ebx
je 0x42e6ea
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.0044c474
push 0x49e158
lea eax, [ebp - 0x1c]
push eax
call fcn.0045103b
int3