joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f678
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x388
push ebx
push esi
xor ebx, ebx
push 0x7f
lea eax, [ebp - 0x17]
push ebx
push eax
mov byte [ebp - 0x18], bl
call fcn.0043fd94
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
add esp, 0xc
push dword [ebp + 0x7c]
lea eax, [ebp - 0x118]
push eax
mov dword [ebp + 0x68], 0x80
mov dword [ebp + 0x6c], ebx
call esi
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x6c]
push eax
push ebx
lea eax, [ebp - 0x118]
push eax
push dword [ebp + 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40f840
cmp word [ebp - 0x118], bx
jne 0x40f6f1
push str._default_
lea eax, [ebp - 0x118]
push eax
call esi
push edi
xor eax, eax
push 0x1fe
mov word [ebp - 0x318], ax
lea eax, [ebp - 0x316]
push ebx
push eax
call fcn.0043fd94
mov eax, dword [ebp + 0x6c]
add esp, 0xc
dec eax
je 0x40f803
dec eax
je 0x40f7f1
dec eax
je 0x40f7d4
dec eax
je 0x40f761
sub eax, 7
jne 0x40f823
push dword [ebp - 0x14]
lea eax, [ebp - 0x118]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x318]
push str.___24s:_REG_QWORD__08I64x___u_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
jmp 0x40f823
push dword [ebp - 0x18]
lea eax, [ebp - 0x118]
push dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x318]
push str.___24s:_REG_DWORD__08x___u_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
cmp dword [ebp - 0x18], ebx
je 0x40f823
movzx eax, word [ebp - 0x18]
test eax, eax
jne 0x40f823
push dword [ebp - 0x18]
call fcn.0040f622
mov edi, eax
cmp edi, ebx
je 0x40f823
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x44b940
lea eax, [ebp - 0x318]
push eax
call esi
push edi
lea eax, [ebp - 0x318]
push eax
call esi
push 0x44b93c
lea eax, [ebp - 0x318]
push eax
call esi
jmp 0x40f823
push 0x20
push dword [ebp + 0x68]
lea eax, [ebp - 0x18]
push eax
call fcn.0042517d
push eax
lea eax, [ebp - 0x118]
push eax
push str.___24s:_REG_BINARY__s
jmp 0x40f813
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x118]
push eax
push str.___24s:_REG_EXPAND_SZ___s_
jmp 0x40f813
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x118]
push eax
push str.___24s:_REG_SZ___s_
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
pop edi
cmp word [ebp - 0x318], bx
je 0x40f840
lea eax, [ebp - 0x318]
push eax
push str._s_r_n
call fcn.0040d261
pop ecx
pop ecx
pop esi
pop ebx
add ebp, 0x70
leave
ret 8
Function at 0x40f8cd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
push esi
xor esi, esi
mov eax, str.SYSTEMCurrentControlSetControlStorageDevicePolicies
push edi
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], str.SYSTEMCurrentControlSetControlUsbFlags
mov dword [ebp - 0x40], str.SYSTEMCurrentControlSetControlUSB
mov dword [ebp - 0x3c], str.SYSTEMCurrentControlSetControlUSBAutomaticSurpriseRemoval
mov dword [ebp - 0x38], str.SYSTEMCurrentControlSetServicesUSB
mov dword [ebp - 0x34], str.SYSTEMCurrentControlSetServicesusbhubhubg
mov dword [ebp - 0x30], str.SOFTWAREPoliciesMicrosoftWindowsRemovableStorageDevices
mov dword [ebp - 0x2c], str.SOFTWAREPoliciesMicrosoftWindowsRemovableStorageDevices53f5630d_b6bf_11d0_94f2_00a0c91efb8b
mov dword [ebp - 0x28], str.SOFTWAREPoliciesMicrosoftWindowsRemovableStorageDevices53f56308_b6bf_11d0_94f2_00a0c91efb8b
mov dword [ebp - 0x24], str.SOFTWAREPoliciesMicrosoftWindowsRemovableStorageDevices53f56311_b6bf_11d0_94f2_00a0c91efb8b
mov dword [ebp - 0x20], str.SOFTWAREPoliciesMicrosoftWindowsRemovableStorageDeviceseec5ad98_8080_425f_922a_dabf3de3f69a
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push dword [ebp - 0xc]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40fa13
cmp dword [ebp - 4], esi
je 0x40fa13
push esi
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x40fa07
cmp dword [ebp - 8], esi
je 0x40fa07
xor ebx, ebx
inc ebx
xor edi, edi
cmp dword [ebp - 8], esi
jbe 0x40fa07
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x250]
push eax
push edi
push dword [ebp - 4]
mov dword [ebp - 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x40fa01
lea eax, [ebp - 0x250]
push eax
call fcn.0040f849
test eax, eax
jne 0x40fa01
cmp dword [ebp - 0x14], esi
je 0x40f9dd
push str._r_n_________Registry_USB_Flags__r_n
call fcn.0040d20e
pop ecx
mov dword [ebp - 0x14], esi
cmp ebx, esi
je 0x40f9f2
push dword [ebp - 0xc]
push str.HKEY_LOCAL_MACHINE_s_r_n
call fcn.0040d261
pop ecx
pop ecx
xor ebx, ebx
lea eax, [ebp - 0x250]
push eax
push dword [ebp - 4]
call fcn.0040f678
inc edi
cmp edi, dword [ebp - 8]
jb 0x40f996
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], esi
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x48]
mov dword [ebp - 0xc], eax
cmp eax, esi
jne 0x40f93f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x424028
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
push edi
push 0x4fa908
push 0x40
mov esi, 0x4f17b0
push esi
mov ebx, str.HighlightCustomColors
push ebx
mov edi, 0x44e6b4
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
mov eax, esi
mov ecx, dword [esp + 0x14]
cmp dword [eax], ecx
je 0x424079
add eax, 4
cmp eax, 0x4f17f0
jl 0x42404c
xor eax, eax
cmp dword [eax*4 + 0x4f17b0], 0
je 0x424072
inc eax
cmp eax, 0x10
jl 0x424060
jmp 0x424079
mov dword [eax*4 + 0x4f17b0], ecx
mov eax, dword [esp + 0x10]
push 0x4f178c
mov dword [0x4f178c], 0x24
mov dword [0x4f1790], eax
mov dword [0x4f1798], ecx
mov dword [0x4f179c], esi
mov dword [0x4f17a0], 3
call dword [sym.imp.COMDLG32.dll_ChooseColorW]
test eax, eax
jne 0x4240b7
mov eax, dword [esp + 0x14]
jmp 0x4240cc
push 0x4fa908
push 0x40
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStructW]
mov eax, dword [0x4f1798]
pop edi
pop esi
pop ebx
ret 8

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

Disassembly:
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0xffffffff
pop esi
jne 0x424ce7
cmp eax, 5
je 0x424ce7
xor eax, eax
jmp 0x424cea
xor eax, eax
inc eax
ret 4

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

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x424d0f
mov ecx, eax
xor eax, eax
inc eax
and ecx, eax
cmp cl, al
je 0x424d11
xor eax, eax
ret 4

Function at 0x424d14
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 7
mov edi, 0x40000000
push edi
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
jne 0x424da7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x424db0
mov eax, dword [ebp + 8]
cmp word [eax + 2], 0x3a
jne 0x424db0
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str..tmp
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
push ebx
push 0x102
push 4
push ebx
push 7
push edi
lea eax, [ebp - 0x208]
push eax
call esi
cmp eax, 0xffffffff
je 0x424db0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
jmp 0x424db2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x424da2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x424f97
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor ebx, ebx
push 0x13c
push ebx
push esi
mov dword [ebp - 4], ebx
call fcn.0043fd94
add esp, 0xc
mov edi, 0x4f2080
push edi
push 0x1000
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4250bc
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x44c7f8
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4250bc
cmp dword [ebp + 0xc], ebx
je 0x4250bc
mov eax, dword [ebp - 4]
mov cx, word [eax + 0xa]
mov word [esi], cx
mov cx, word [eax + 8]
mov word [esi + 2], cx
mov cx, word [eax + 0xe]
mov word [esi + 4], cx
mov cx, word [eax + 0xc]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
mov word [esi + 6], cx
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
movzx eax, cx
push eax
movzx eax, word [esi + 4]
push eax
movzx eax, word [esi + 2]
push eax
movzx eax, word [esi]
push eax
lea eax, [esi + 0xc]
push str._u._u._u._u
push eax
call ebx
add esp, 0x18
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push str.VarFileInfoTranslation
push edi
mov dword [ebp - 8], 4
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4250b7
cmp dword [ebp - 8], 4
jb 0x4250b7
mov eax, dword [ebp - 0xc]
and dword [ebp + 8], 0
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp - 0x6c]
push str.StringFileInfo_04x_04xCompanyName
push eax
call ebx
and dword [ebp + 0xc], 0
add esp, 0x10
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4250b7
cmp dword [ebp + 0xc], 0x80
jae 0x4250b7
push dword [ebp + 8]
add esi, 0x3c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
inc eax
jmp 0x4250be
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4250c5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
test byte [0x4f3084], 1
mov dword [ebp - 4], edi
jne 0x4250f6
or dword [0x4f3084], 1
mov eax, dword [0x4fabe4]
neg eax
sbb eax, eax
and eax, 0x100
inc eax
mov dword [0x4f3080], eax
jmp 0x4250fb
mov eax, dword [0x4f3080]
mov esi, dword [ebp + 0x14]
xor ecx, ecx
mov word [esi], cx
lea ecx, [ebp - 4]
push ecx
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 5
jne 0x425125
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x425177
cmp eax, edi
jne 0x42516f
cmp dword [ebp - 4], edi
je 0x42516f
push ebx
lea eax, [ebp + 0x18]
push eax
push esi
lea eax, [ebp + 0x14]
push eax
push edi
push dword [ebp + 0x10]
mov dword [ebp + 0x14], edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, edi
pop ebx
jne 0x42516f
cmp dword [ebp + 0x14], 4
jne 0x42516f
push dword [esi]
push 0x454668
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
xor eax, eax
cmp word [esi], di
setne al
pop edi
pop esi
leave
ret 0x14
Function at 0x42528e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 1
xor esi, esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, esi
jne 0x4252f7
cmp dword [ebp - 4], esi
je 0x4252f7
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 0x10]
mov dword [ebp - 8], esi
push dword [ebp - 4]
mov dword [ebp + 8], 4
mov dword [ebp + 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
jne 0x4252fe
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
jmp 0x4252fe
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp edi, esi
pop edi
sete al
pop esi
leave
ret 0x10

Function at 0x42530b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea ecx, [ebp - 4]
push ecx
xor eax, eax
push 2
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
call esi
mov edi, eax
cmp edi, 5
jne 0x425369
mov ecx, dword [0x4fd5cc]
call fcn.0043f785
mov dword [ebp - 8], eax
test eax, eax
jne 0x425359
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x425402
lea eax, [ebp - 4]
push eax
push 2
push 0
push ebx
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, 3
je 0x425373
cmp edi, 2
jne 0x4253ae
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, 5
jne 0x4253ae
cmp dword [ebp - 8], 0
jne 0x4253a2
mov ecx, dword [0x4fd5cc]
call fcn.0043f785
mov dword [ebp - 8], eax
test eax, eax
je 0x42534a
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
call esi
mov edi, eax
xor esi, esi
cmp edi, esi
jne 0x4253e4
cmp dword [ebp - 4], esi
je 0x4253e4
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x14]
push 1
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], esi
je 0x4253f4
mov ecx, dword [0x4fd5cc]
call fcn.0043f7cf
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp edi, esi
sete al
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x425440
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea ecx, [ebp - 4]
push ecx
xor eax, eax
mov edi, 0x20006
push edi
push eax
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
call esi
mov ebx, eax
cmp ebx, 5
jne 0x42549e
mov ecx, dword [0x4fd5cc]
call fcn.0043f785
mov dword [ebp - 8], eax
test eax, eax
jne 0x42548d
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x4254fd
lea eax, [ebp - 4]
push eax
push edi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov ebx, eax
test ebx, ebx
jne 0x4254de
cmp dword [ebp - 4], ebx
je 0x4254de
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
test ebx, ebx
je 0x4254d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.RegDeleteValue__s___s___err_u
push 1
call fcn.00445f0b
add esp, 0x14
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
je 0x4254ef
mov ecx, dword [0x4fd5cc]
call fcn.0043f7cf
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test ebx, ebx
sete al
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x425504
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
lea eax, [ebp - 4]
push eax
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x42557d
cmp dword [ebp + 0x10], 0
je 0x42554f
cmp dword [0x507a24], 4
jl 0x42556a
push dword [ebp - 4]
push dword [ebp + 0x10]
push str.Thread__S_created__id_u
push 4
call fcn.00445f0b
add esp, 0x10
jmp 0x42556a
cmp dword [0x507a24], 4
jl 0x42556a
push dword [ebp - 4]
push str.Thread_id_u_created
push 4
call fcn.00445f0b
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x42557f
xor eax, eax
pop ebx
leave
ret 0xc

Function at 0x425584
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
lea eax, [ebp - 4]
push eax
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x4255f1
cmp dword [ebp + 0x10], 0
je 0x4255cf
cmp dword [0x507a24], 4
jl 0x4255ea
push dword [ebp - 4]
push dword [ebp + 0x10]
push str.Thread__S_created__id_u
push 4
call fcn.00445f0b
add esp, 0x10
jmp 0x4255ea
cmp dword [0x507a24], 4
jl 0x4255ea
push dword [ebp - 4]
push str.Thread_id_u_created
push 4
call fcn.00445f0b
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, ebx
pop ebx
leave
ret 0xc
Function at 0x425855
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push ebx
call esi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp + 8], eax
call esi
cmp dword [ebp + 8], 0
je 0x4258b4
test eax, eax
je 0x4258b4
cmp eax, dword [ebp + 8]
ja 0x4258b4
movzx ecx, word [edi]
movzx eax, word [ebx]
mov edx, ebx
mov esi, edi
cmp ax, cx
je 0x42589e
movzx ecx, cx
movzx eax, ax
xor ecx, eax
test ecx, 0xffffffdf
jne 0x4258b4
inc esi
inc esi
movzx ecx, word [esi]
xor eax, eax
cmp ax, cx
je 0x4258bd
inc edx
inc edx
movzx eax, word [edx]
test ax, ax
jne 0x425889
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, ebx
jmp 0x4258b6

Function at 0x425bdb
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 8], ebx
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], 5
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x425c3a
cmp dword [ebp - 4], ebx
je 0x425c3a
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 8]
pop ebx
leave
ret

Function at 0x425c40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x425c9b
push eax
call fcn.00440b33
push eax
lea eax, [ebp - 0x400]
push str.ShellExecute_failed:__S
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x10
push dword [0x493a18]
lea eax, [ebp - 0x400]
push eax
push 0
call fcn.00446da2
xor eax, eax
jmp 0x425c9e
xor eax, eax
inc eax
leave
ret 8
Function at 0x42611f
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
call fcn.0044824b
test eax, eax
je 0x4261d5
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x25e]
push eax
call fcn.0043fd94
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x54
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0043fd94
mov eax, dword [0x4fb1c0]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
add esp, 0xc
xor esi, esi
lea eax, [ebp - 0x58]
inc esi
push eax
mov dword [ebp - 0x58], 0x58
mov dword [ebp - 0x4c], str.Text_Files__.txt_
mov dword [ebp - 0x24], 0x9080e
mov dword [ebp - 0x1c], 0x467c20
mov dword [ebp - 0x40], esi
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x4261d2
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, esi
jmp 0x4261d4
xor eax, eax
pop esi
leave
ret 8

Function at 0x4261d9
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
call fcn.0044824b
test eax, eax
je 0x42628f
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x25e]
push eax
call fcn.0043fd94
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x54
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0043fd94
mov eax, dword [0x4fb1c0]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
add esp, 0xc
xor esi, esi
lea eax, [ebp - 0x58]
inc esi
push eax
mov dword [ebp - 0x58], 0x58
mov dword [ebp - 0x4c], str.XML_Files__.xml_
mov dword [ebp - 0x24], 0x9080e
mov dword [ebp - 0x1c], 0x467c88
mov dword [ebp - 0x40], esi
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x42628c
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, esi
jmp 0x42628e
xor eax, eax
pop esi
leave
ret 8
Function at 0x426293
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
call fcn.0044824b
test eax, eax
je 0x426349
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x25e]
push eax
call fcn.0043fd94
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x54
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0043fd94
mov eax, dword [0x4fb1c0]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
add esp, 0xc
xor esi, esi
lea eax, [ebp - 0x58]
inc esi
push eax
mov dword [ebp - 0x58], 0x58
mov dword [ebp - 0x4c], str.XML_Files__.xml_
mov dword [ebp - 0x24], 0x9080e
mov dword [ebp - 0x1c], 0x467c88
mov dword [ebp - 0x40], esi
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je 0x426346
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, esi
jmp 0x426348
xor eax, eax
pop esi
leave
ret 8