joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425ba0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
push edi
mov eax, 0x403c
push esi
push ebx
call fcn.005d34c0
sub esp, eax
mov esi, dword [0x851284]
mov ebp, ecx
lea ebx, [esp + 0x2030]
test esi, esi
je 0x425c0c
xor eax, eax
mov ecx, 0xc
mov edi, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x2030], 0x30
mov dword [esp + 0x2034], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14
mov dword [esp], esi
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
sub esp, 0x10
test eax, eax
jne 0x425d23
mov eax, dword [0x70dc64]
mov ecx, ebp
mov dword [esp], eax
call fcn.00425950
sub esp, 4
lea esi, [esp + 0x30]
mov dword [esp + 4], 0x83b1c0
mov dword [esp], esi
call sub.msvcrt.dll_wcscpy
mov dword [esp + 4], 0x720aa4
mov dword [esp], esi
call sub.msvcrt.dll_wcscat
mov dword [esp + 4], 0x8411c0
mov dword [esp], ebx
call sub.msvcrt.dll_wcscpy
mov dword [esp + 4], 0x720aa4
mov dword [esp], ebx
call sub.msvcrt.dll_wcscat
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
sub esp, 8
mov ecx, 0x8534b8
mov dword [esp], 0x20
call fcn.00441540
mov edi, eax
mov eax, dword [0x8511c0]
sub esp, 4
test eax, 0x40000000
je 0x425cc4
mov ecx, dword [0x8555d0]
test ecx, ecx
je 0x425cb7
and eax, 0xbfffffff
mov dword [0x8511c0], eax
mov eax, dword [ecx]
call dword [eax + 0x48]
add esp, 0x403c
pop ebx
pop esi
pop edi
pop ebp
ret 4
cmp dword [0x851274], 1
jne 0x425cb7
mov dword [esp], esi
mov ecx, 0x8534b8
call fcn.0043fad0
sub esp, 4
test al, al
je 0x425d80
mov eax, dword [esp + 0x4050]
sar eax, 8
cmp eax, edi
jg 0x425d70
cmp byte [esp + 0x4050], 0
jne 0x425d70
cmp dword [0x70dc64], 1
jne 0x425cb7
mov dword [esp], 2
mov ecx, ebp
mov dword [0x851274], 0
call fcn.00425500
sub esp, 4
jmp 0x425cb7
mov dword [esp + 0x2038], 0
mov dword [esp + 0x203c], 0
mov dword [esp + 0x2054], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14
mov dword [esp], esi
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
sub esp, 0x10
jmp 0x425c0c
mov dword [0x851274], 0
jmp 0x425cb7
mov dword [esp], ebx
mov ecx, 0x8534b8
call fcn.0043fad0
sub esp, 4
test al, al
jne 0x425ce5
cmp dword [esp + 0x2c], 1
jg 0x425ce5
mov eax, dword [0x851238]
mov dword [0x851274], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41fb60
mov dword [esp + 4], 0x384
mov dword [esp + 8], eax
mov eax, dword [0x8512b0]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
sub esp, 0x14
jmp 0x425cb7
Function at 0x42f420
Capabilities:
Create thread

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x41ccb0
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [0x8330e8], eax
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x2c
ret 4
Function at 0x439e20
Capabilities:
Accept command line arguments

Disassembly:
push esi
push ebx
mov ebx, 1
sub esp, 0x24
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
sub esp, 8
mov esi, eax
cmp dword [esp + 0x1c], 1
ja 0x439e70
jmp 0x439e83
mov dword [esp + 4], str._script
mov dword [esp], eax
call sub.SHELL32.dll_StrStrIW
sub esp, 8
test eax, eax
jne 0x439e90
add ebx, 1
cmp dword [esp + 0x1c], ebx
jbe 0x439e83
mov eax, dword [esi + ebx*4]
cmp word [eax], 0x2f
jne 0x439e50
mov edx, 0x2d
mov word [eax], dx
jmp 0x439e50
add esp, 0x24
xor eax, eax
pop ebx
pop esi
ret
add esp, 0x24
mov eax, 1
pop ebx
pop esi
ret
Function at 0x43ed00
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
mov eax, 0x201c
push esi
push ebx
call fcn.005d34c0
xor ebx, ebx
sub esp, eax
mov ebp, dword [esp + 0x2034]
mov eax, dword [esp + 0x2030]
lea esi, [esp + 0x10]
mov word [ebp], bx
mov dword [esp + 8], 0x1000
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
sub esp, 0xc
mov dword [esp + 8], esi
mov dword [esp + 4], str.Opening__S_n
mov dword [esp], 0x833180
call fcn.0041ee70
mov dword [esp + 4], 0x7266f2
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__wfopen]
test eax, eax
mov edi, eax
je 0x43ee57
mov dword [esp + 8], edi
mov dword [esp + 4], 0x1000
mov dword [esp], esi
call sub.msvcrt.dll_fgetws
test eax, eax
je 0x43ee2c
mov ebx, esi
jmp 0x43ed96
add ebx, 2
movzx eax, word [ebx]
mov dword [esp], eax
call sub.msvcrt.dll_iswspace
test eax, eax
jne 0x43ed93
mov dword [esp + 4], ebx
mov dword [esp], esi
call sub.msvcrt.dll_wcscpy
movzx eax, word [esp + 0x10]
cmp ax, 0x3b
je 0x43ed73
cmp ax, 0x23
je 0x43ed73
cmp ax, 0x2f
je 0x43ee20
mov dword [esp + 4], 0x725fc4
mov dword [esp], esi
call sub.msvcrt.dll_wcsstr
test eax, eax
jne 0x43ed73
mov dword [esp], esi
call sub.msvcrt.dll_wcslen
cmp word [esp + eax*2 + 0xe], 0xa
je 0x43ee46
cmp word [esp + 0x10], 0
je 0x43ed73
mov dword [esp + 4], esi
mov dword [esp], ebp
call sub.msvcrt.dll_wcscat
mov dword [esp + 4], 0x72670e
mov dword [esp], eax
call sub.msvcrt.dll_wcscat
jmp 0x43ed73
mov ecx, 0x2d
mov word [esp + 0x10], cx
jmp 0x43edc8
mov dword [esp], edi
call sub.msvcrt.dll_fclose
mov eax, 1
add esp, 0x201c
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov dword [esp], esi
call sub.msvcrt.dll_wcslen
xor edx, edx
mov word [esp + eax*2 + 0xe], dx
jmp 0x43edec
mov dword [esp + 8], esi
mov dword [esp + 4], str.Failed_to_open__S_n
mov dword [esp], 0x833180
call fcn.0041e8c0
xor eax, eax
jmp 0x43ee39

Function at 0x43eee0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
push edi
mov ebp, ecx
push esi
push ebx
sub esp, 0x3c
mov dword [esp], str._cfg:
call sub.msvcrt.dll_wcslen
mov edi, eax
lea eax, [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
sub esp, 8
mov esi, eax
lea eax, [edi + edi]
cmp dword [esp + 0x2c], 1
mov edi, 1
mov dword [esp + 0x1c], eax
jg 0x43ef65
jmp 0x43ef80
mov dword [esp + 4], str._cfg:
mov dword [esp], ebx
call sub.SHELL32.dll_StrStrIW
sub esp, 8
test eax, eax
je 0x43ef5c
add ebx, dword [esp + 0x1c]
mov ecx, ebp
mov dword [esp], ebx
call fcn.0043ee80
sub esp, 4
test al, al
jne 0x43ef90
add edi, 1
cmp dword [esp + 0x2c], edi
jle 0x43ef80
mov ebx, dword [esi + edi*4]
cmp word [ebx], 0x2f
jne 0x43ef30
mov eax, 0x2d
mov word [ebx], ax
jmp 0x43ef30
add esp, 0x3c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 4
or dword [ebp + 0x1c000], 0x8000
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret 4
Function at 0x43f990
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 0x43f9f4
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 + 0x20]
mov dword [esp + 4], str.ERROR_in_get_resource__:_failed_FindResource__d__n
mov dword [esp], 0x833180
mov dword [esp + 8], eax
call fcn.0041e8c0
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 0x43fab0
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 0x43fad0
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], 0x726890
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 - method.g.virtual_0], vtable.g.0
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 0x43fbc0
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x43fb70
mov dword [esp + 4], esi
mov dword [esp], ebx
call edi
sub esp, 8
test eax, eax
je 0x43fbb2
test byte [ebp - 0x268], 0x10
jne 0x43fb60
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 - method.nInst.virtual_0], vtable.nInst.0
test eax, eax
je 0x43fba6
mov dword [esp], eax
call fcn.006e9860
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 4
xor esi, esi
jmp 0x43fb7e
xor esi, esi
jmp 0x43fb8a

Function at 0x43fbf0
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 0x43fc14
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 0x43fc30
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 0x43fcb0
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 0x43fc60
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 0x43fc98

Function at 0x440490
Capabilities:
Query environment variable

Disassembly:
push edi
push esi
mov eax, 0x2020
push ebx
call fcn.005d34c0
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 sub.msvcrt.dll_wcslen
lea edi, [eax + eax]
mov edx, edi
sar edx, 1
cmp edx, 7
mov dword [esp + 0x1c], edx
ja 0x440510
cmp edx, 1
mov eax, dword [ebx]
je 0x440550
test edx, edx
jne 0x440532
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 fcn.006c0420
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 sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx]
jmp 0x4404f5
movzx ecx, word [esp + 0x20]
mov word [eax], cx
jmp 0x4404f5
Function at 0x440560
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], 0x7268ea
mov dword [esp], esi
call sub.msvcrt.dll_wcscpy
test ebx, ebx
je 0x440595
mov dword [esp], ebx
call sub.msvcrt.dll_wcslen
cmp eax, 1
jbe 0x440595
cmp word [ebx + 2], 0x3a
je 0x440600
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 0x4406a0
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 0x4405e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], str.Error:_canWrite_:_GetVolumeInformation_1__failed_with_error__d_n
mov esi, eax
mov dword [esp + 8], eax
mov dword [esp], 0x833180
call fcn.0041e8c0
cmp esi, 3
jne 0x4405e5
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Error:_Path_not_found:__S_n
mov dword [esp], 0x833180
call fcn.0041e8c0
jmp 0x4405e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], str.Error:_canWrite_:_GetVolumeInformation_2__failed_with_error__d_n
mov esi, eax
mov dword [esp + 8], eax
mov dword [esp], 0x833180
call fcn.0041e8c0
cmp esi, 3
jne 0x4405e5
jmp 0x440679
Function at 0x4406d0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
push edi
mov eax, 0x201c
push esi
push ebx
call fcn.005d34c0
sub esp, eax
mov ebx, dword [esp + 0x2030]
cmp word [ebx + 2], 0x3a
je 0x4407e0
mov dword [esp], ebx
mov ecx, 0x8534b8
call fcn.00440560
sub esp, 4
test eax, eax
jne 0x440730
mov dword [esp + 8], ebx
mov dword [esp + 4], str.ERROR_in_mkdir_r__:_Path_not_found_or_write_protected__S_n
mov dword [esp], 0x833180
call fcn.0041e8c0
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 0x440854
test al, 0x10
jne 0x44071e
lea esi, [esp + 0x10]
mov dword [esp + 4], ebx
mov dword [esp], esi
mov ebx, esi
call sub.msvcrt.dll_wcscpy
mov edi, dword [sym.imp.msvcrt.dll__wmkdir]
mov ebp, dword [sym.imp.msvcrt.dll__errno]
jmp 0x44077c
mov eax, 0x5c
add ebx, 2
mov word [ebx - 2], ax
mov dword [esp], ebx
mov dword [esp + 4], 0x5c
call sub.msvcrt.dll_wcschr
test eax, eax
mov ebx, eax
je 0x440800
xor edx, edx
mov word [eax], dx
mov dword [esp], esi
call edi
test eax, eax
jns 0x440770
call ebp
cmp dword [eax], 0x11
je 0x440770
mov dword [esp], esi
call sub.msvcrt.dll_wcslen
cmp eax, 2
jbe 0x440770
call ebp
mov eax, dword [eax]
mov dword [esp + 8], esi
mov dword [esp + 4], str.ERROR_in_mkdir_r__:_failed__wmkdir__S__d__n
mov dword [esp], 0x833180
mov dword [esp + 0xc], eax
call fcn.0041e8c0
jmp 0x440770
cmp word [ebx + 4], 0
jne 0x4406f2
add esp, 0x201c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], esi
call edi
test eax, eax
jns 0x44071e
mov ebx, dword [sym.imp.msvcrt.dll__errno]
call ebx
cmp dword [eax], 0x11
je 0x44071e
mov dword [esp], esi
call sub.msvcrt.dll_wcslen
cmp eax, 2
jbe 0x44071e
call ebx
mov eax, dword [eax]
mov dword [esp + 8], esi
mov dword [esp + 4], str.ERROR_in_mkdir_r__:_failed__wmkdir__S__d__n
mov dword [esp], 0x833180
mov dword [esp + 0xc], eax
call fcn.0041e8c0
jmp 0x44071e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test al, 0x7f
je 0x44071e
jmp 0x440749

Function at 0x440870
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 0x4408c0
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.Run__S__S__d__d__n
mov dword [esp], 0x833180
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.0041ee70
mov dword [esp + 4], 0x726a0a
mov dword [esp], esi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x4409c5
mov eax, dword [esp + 0x84]
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x726a0a
mov dword [esp], 0
mov dword [esp + 8], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
sub esp, 0x18
test ebx, ebx
je 0x4409b9
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 0x440981
Function at 0x441e90
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.004096e0
sub esp, 8
cmp dword [esp + 0x28], 4
jg 0x441ec1
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], str.SOFTWAREMicrosoftWindows_NTCurrentVersionSystemRestore
mov dword [esp], 0x80000002
mov dword [esp + 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x441fb2
lea eax, [esp + 0x38]
cmp dword [esp + 0x28], 5
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], 4
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xc], eax
je 0x441f70
mov eax, dword [esp + 0x30]
mov dword [esp + 4], str.RPSessionInterval
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x441f8c
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 eax, dword [esp + 0x30]
mov dword [esp + 4], str.DisableSR
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
je 0x441fe0
xor ebx, ebx
cmp eax, 2
je 0x441f54
mov dword [esp + 8], eax
mov dword [esp + 4], str.ERROR_in_SystemProtectionEnabled__:_error_in_RegQueryValueEx__d_n
mov ebx, 1
mov dword [esp], 0x833180
call fcn.0041e8c0
jmp 0x441f54
mov dword [esp + 8], eax
mov dword [esp + 4], str.ERROR_in_SystemProtectionEnabled__:_error_in_RegOpenKeyEx__d_n
mov ebx, 1
mov dword [esp], 0x833180
call fcn.0041e8c0
add esp, 0x48
mov eax, ebx
pop ebx
ret 4
mov eax, dword [esp + 0x34]
test eax, eax
sete bl
jmp 0x441f54

Function at 0x441ff0
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], str.SOFTWAREMicrosoftWindows_NTCurrentVersionSystemRestore
mov dword [esp], 0x80000002
mov dword [esp + 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x442093
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 4
mov dword [esp + 0x2c], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.SystemRestorePointCreationFrequency
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], str.ERROR_in_GetRestorePointCreationFrequency__:_error_in_RegOpenKeyEx__d_n
mov ebx, 0xfffffffe
mov dword [esp], 0x833180
call fcn.0041e8c0
jmp 0x44208c
Function at 0x4420c0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebx
sub esp, 0x38
mov ebx, dword [esp + 0x40]
cmp ebx, 0xfffffffe
je 0x442156
lea eax, [esp + 0x28]
mov dword [esp + 0xc], 0x20106
mov dword [esp + 8], 0
mov dword [esp + 4], str.SOFTWAREMicrosoftWindows_NTCurrentVersionSystemRestore
mov dword [esp], 0x80000002
mov dword [esp + 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x442160
cmp ebx, 0xffffffff
mov dword [esp + 0x2c], ebx
je 0x442180
lea eax, [esp + 0x2c]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.SystemRestorePointCreationFrequency
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], str.ERROR_in_SetRestorePointCreationFrequency__:_error_in_RegOpenKeyEx__d_n
mov dword [esp], 0x833180
call fcn.0041e8c0
add esp, 0x38
pop ebx
ret 4
mov eax, dword [esp + 0x28]
mov dword [esp + 4], str.SystemRestorePointCreationFrequency
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
sub esp, 8
jmp 0x442146
Function at 0x446130
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 - method.g.virtual_0], vtable.g.0
mov dword [esp], eax
call fcn.00403cc0
mov ebx, dword [ebp - 0x228]
sub esp, 4
movzx eax, word [ebx]
test ax, ax
je 0x446290
mov edx, ebx
jmp 0x4461b0
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
je 0x446290
cmp ax, 0x5f
jne 0x4461a0
movzx ecx, word [edx + 2]
mov eax, ecx
sub ecx, 0x30
cmp ecx, 9
ja 0x4461a4
xor eax, eax
mov word [edx], ax
mov eax, dword [0x70b368]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov dword [esp], ebx
call dword [eax + 0x18]
sub esp, 4
test eax, eax
je 0x446290
lea ecx, [ebp - 0x10a]
lea edx, [ebp - 0x11c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x83b1c0
mov dword [esp + 4], 0x7304bc
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 - method.g.virtual_0], vtable.g.0
mov word [ebp - 0x10a], cx
call fcn.00403910
mov eax, dword [ebp - 0x114]
mov dword [esp + 4], str.Old_file:__S_n
mov dword [esp], 0x833180
mov dword [esp + 8], eax
call fcn.0041ee70
mov eax, dword [ebp - 0x114]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wremove]
mov eax, dword [ebp - 0x118]
mov dword [ebp - method.nInst.virtual_0], vtable.nInst.0
test eax, eax
je 0x446290
mov dword [esp], eax
call fcn.006e9860
lea esi, [esi]
mov eax, dword [ebp - 0x22c]
mov dword [ebp - method.nInst.virtual_0], vtable.nInst.0
test eax, eax
je 0x4462ac
mov dword [esp], eax
call fcn.006e9860
mov ebx, dword [ebp - 4]
leave
ret 4