joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ec8c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x43ec9f
push 0x80004005
call fcn.004011cc
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x43eca6
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x43f67f
Capabilities:
Hash data with md5

Disassembly:
push esi
xor ecx, ecx
push 0x40
lea esi, [eax + 0x58]
push ecx
push esi
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
call fcn.004857c0
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret

Function at 0x43fea6
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
xor esi, esi
cmp dword [edi + 0x58], esi
jne 0x43fed6
push 0x98
call fcn.0045c795
mov ebx, eax
cmp ebx, esi
pop ecx
je 0x43fec9
call fcn.0043f67f
mov eax, ebx
jmp 0x43fecb
xor eax, eax
cmp eax, esi
mov dword [edi + 0x58], eax
jne 0x43fed6
xor eax, eax
jmp 0x43ff4c
push ebp
push 0x4ef8f8
push dword [esp + 0x14]
call fcn.004899cb
mov ebp, eax
cmp ebp, esi
pop ecx
pop ecx
jne 0x43fef1
xor eax, eax
jmp 0x43ff4b
cmp dword [edi + 0x5c], esi
mov ebx, 0xff
jne 0x43ff05
push ebx
call fcn.004827bc
pop ecx
mov dword [edi + 0x5c], eax
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.00489c7a
add esp, 0x10
cmp eax, esi
je 0x43ff36
push dword [edi + 0x5c]
mov esi, dword [edi + 0x58]
call fcn.0043f6b7
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.00489c7a
add esp, 0x10
test eax, eax
jne 0x43ff18
push ebp
call fcn.00489d07
mov eax, dword [edi + 0x58]
pop ecx
lea esi, [edi + 4]
push esi
call fcn.0043f74e
mov eax, esi
pop ebp
pop esi
pop ebx
ret 4
Function at 0x44037e
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
xor esi, esi
push 0xf003f
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x4403f9
push ebx
push edi
push 2
push str.seclogon
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
cmp edi, esi
je 0x4403f2
lea eax, [ebp - 8]
push eax
push 0x24
lea eax, [ebp - 0x30]
push eax
push edi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x4403d8
cmp dword [ebp - 0x2c], 3
je 0x4403ef
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov dword [ebp - 4], eax
push edi
call ebx
push dword [ebp - 0xc]
call ebx
pop edi
pop ebx
mov eax, dword [ebp - 4]
pop esi
leave
ret

Function at 0x440413
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [esi], eax
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x44049c
push ebx
call fcn.004827bc
pop ecx
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44048d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4e26ac
push dword [ebp - 4]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44048d
cmp dword [ebp - 0xc], ebx
je 0x44048d
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edi], ecx
mov dword [esi], eax
mov dword [ebp - 0x14], 1
cmp dword [ebp - 4], 0
je 0x44049c
push dword [ebp - 4]
call fcn.00483868
pop ecx
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret

Function at 0x4404d8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, eax
mov ecx, 0x509500
call fcn.0040f32d
and word [ebp - 0x208], 0
push 0x206
lea eax, [ebp - 0x206]
push 0
push eax
call fcn.004857c0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
lea eax, [ebp - 0x208]
push eax
push esi
call fcn.00414fa4
push esi
call fcn.00472a8e
pop ecx
mov eax, esi
pop esi
leave
ret
Function at 0x4405e6
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x11c
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.004857c0
add esp, 0xc
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x44063f
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x4406f5
mov eax, dword [ebp - 0x94]
dec eax
je 0x4406e1
dec eax
jne 0x4406f5
mov eax, dword [ebp - 0xa0]
xor edx, edx
push 6
pop ecx
inc edx
cmp eax, ecx
jne 0x44068e
cmp dword [ebp - 0x9c], edx
jne 0x440678
xor eax, eax
cmp byte [ebp + 0x76], dl
setne al
add eax, 8
jmp 0x4406dd
cmp dword [ebp - 0x9c], edi
jne 0x4406c6
xor eax, eax
cmp byte [ebp + 0x76], dl
setne al
lea eax, [eax + eax + 7]
jmp 0x4406dd
cmp eax, 5
jne 0x4406b8
cmp dword [ebp - 0x9c], 2
jne 0x44069f
push eax
jmp 0x4406bf
cmp dword [ebp - 0x9c], 1
jne 0x4406ac
mov edi, ecx
jmp 0x4406f5
cmp dword [ebp - 0x9c], edi
jne 0x4406f5
push 3
jmp 0x4406bf
cmp eax, 4
ja 0x4406c2
push 4
pop edi
jmp 0x4406f5
cmp eax, ecx
jb 0x4406f5
cmp dword [ebp - 0x9c], 2
jae 0x4406d3
cmp eax, ecx
jbe 0x4406f5
cmp byte [ebp + 0x76], dl
jne 0x4406f5
call fcn.00440537
mov edi, eax
jmp 0x4406f5
mov eax, dword [ebp - 0x98]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov eax, edi
pop edi
pop esi
add ebp, 0x78
leave
ret

Function at 0x4407c3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x440851
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
push dword [ebp + 8]
push eax
call edi
cmp dword [ebp - 8], 1
je 0x4407fa
cmp dword [ebp - 8], 2
jne 0x440850
push esi
mov esi, dword [ebp + 0xc]
call fcn.0041483c
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.004010cd
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
jne 0x440838
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov dword [ebp - 0xc], 1
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x440848
push eax
call fcn.00483779
pop ecx
mov edx, esi
call fcn.004010ac
pop esi
pop edi
mov eax, dword [ebp - 0xc]
leave
ret 8
Function at 0x441471
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call fcn.0040e925
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x44151e
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
cmp edi, 0x200000
ja 0x44151d
lea eax, [edi + 1]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp + 8], edi
call fcn.0040e964
mov esi, eax
mov dword [ebp - 4], esi
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x44151d
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x44151d
sub dword [ebp + 8], eax
add dword [ebp - 4], eax
cmp dword [ebp + 8], ebx
jne 0x4414ce
mov byte [esi + edi], bl
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
cmp eax, ebx
jne 0x441508
xor eax, eax
jmp 0x44150f
push eax
call fcn.004838a0
pop ecx
mov edx, esi
call fcn.0040dc8f
mov dword [ebp - 0x10], 1
pop edi
cmp dword [ebp - 8], ebx
pop esi
pop ebx
je 0x44152e
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 8

Function at 0x441bbf
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x441bd8
mov eax, dword [ebp - 4]
jmp 0x441cb2
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x441c8d
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
nop
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e8b68]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4e8b68]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e8b68]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4e8b68]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e8b68]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4e8b68]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e8b68]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4e8b68]
dec ebp
jne 0x441bf7
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x441ca9
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4e8b68]
dec ecx
jne 0x441c97
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x444aa0
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor eax, eax
mov esi, str.Administrators
cmp eax, esi
je 0x444b63
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x444b63
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
push ebx
jmp 0x444b3d
cmp dword [ebp - 4], ebx
je 0x444af6
push dword [ebp - 4]
call fcn.00485474
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
je 0x444b07
push dword [ebp - 8]
call fcn.00485474
pop ecx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x444b48
push dword [ebp - 0x10]
call fcn.00484c93
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
call fcn.00484c93
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push esi
push ebx
call edi
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x444ae5
push dword [ebp - 8]
call fcn.00485474
mov eax, dword [ebp - 0x14]
cmp eax, ebx
pop ecx
pop edi
je 0x444b65
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
jmp 0x444b65
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x444c05
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push edi
xor edi, edi
push 0x228
lea eax, [ebp - 0x244]
push edi
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x248], edi
call fcn.004857c0
add esp, 0xc
push edi
push 2
mov dword [ebp - 0x14], edi
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
jne 0x444c4f
xor eax, eax
jmp 0x444d75
push esi
lea ecx, [ebp - 0x248]
push ecx
push eax
mov dword [ebp - 0x248], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
je 0x444d5f
push ebx
cmp dword [ebp - 8], edi
je 0x444c83
push dword [ebp - 8]
call esi
mov dword [ebp - 8], edi
cmp dword [ebp - 4], edi
je 0x444c90
push dword [ebp - 4]
call esi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x224]
push str.explorer.exe
push eax
call fcn.00483df2
test eax, eax
pop ecx
pop ecx
jne 0x444d23
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.DLL_ProcessIdToSessionId]
test eax, eax
je 0x444d23
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jne 0x444d23
push dword [ebp - 0x240]
push edi
push 0x400
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
cmp eax, edi
mov dword [ebp - 8], eax
je 0x444d23
lea eax, [ebp - 4]
push eax
push 0xf01ff
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x444d23
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
lea ebx, [ebp - 0xc]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], edi
call fcn.00444a23
test eax, eax
pop ecx
pop ecx
je 0x444d23
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call fcn.004448fb
test eax, eax
pop ecx
push ebx
je 0x444d3c
call fcn.00485474
pop ecx
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x18]
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x444c76
jmp 0x444d54
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ebp - 0x10], 1
call fcn.00485474
pop ecx
cmp dword [ebp - 8], edi
pop ebx
je 0x444d5f
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], edi
je 0x444d6c
push dword [ebp - 4]
call esi
mov dword [ebp - 4], edi
push dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
pop esi
pop edi
leave
ret
Function at 0x444ed3
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f0
push ebx
push esi
push edi
xor ebx, ebx
push 0xd2
lea eax, [ebp - 0xde]
push ebx
push eax
mov word [ebp - 0xe0], bx
call fcn.004857c0
add esp, 0xc
lea eax, [ebp - 0xe0]
push eax
push 0x69
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
cmp eax, ebx
jne 0x444f17
xor eax, eax
jmp 0x444fc4
cdq
and edx, 3
add eax, edx
mov esi, eax
push 0x208
lea eax, [ebp - 0x2ee]
push ebx
push eax
sar esi, 2
mov word [ebp - 0x2f0], bx
call fcn.004857c0
mov word [ebp - 0xe8], bx
mov ebx, dword [ebp + 8]
add esp, 0xc
add ebx, 4
push ebx
lea edi, [ebp - 0xe0]
call fcn.00444d78
test esi, esi
jle 0x444fc1
and word [edi + 4], 0
push 0x104
lea eax, [ebp - 0x2f0]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
test eax, eax
je 0x444fbb
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp + 8]
call fcn.00423484
lea eax, [ebp + 8]
push eax
mov eax, ebx
call fcn.00406ef0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00401023
push edi
lea eax, [ebp - 4]
call fcn.00423484
lea eax, [ebp - 4]
push eax
mov eax, ebx
call fcn.00406ef0
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401023
add edi, 8
dec esi
jne 0x444f5b
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x444ff1
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
jne 0x445072
push 0x4f00b8
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x18], eax
je 0x445072
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.EnumProcessModules
push eax
call edi
push str.EnumProcesses
push dword [esi + 0x18]
mov dword [esi + 8], eax
call edi
push str.GetModuleBaseNameW
push dword [esi + 0x18]
mov dword [esi], eax
call edi
push 0x4ecdbc
push dword [esi + 0x18]
mov dword [esi + 4], eax
call edi
push 0x4ecdd4
push dword [esi + 0x18]
mov dword [esi + 0xc], eax
call edi
cmp dword [esi], ebx
mov dword [esi + 0x10], eax
pop edi
je 0x44506d
cmp dword [esi + 4], ebx
je 0x44506d
cmp dword [esi + 8], ebx
je 0x44506d
cmp dword [esi + 0xc], ebx
je 0x44506d
cmp eax, ebx
je 0x44506d
xor eax, eax
inc eax
jmp 0x44506f
xor eax, eax
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
pop ebx
ret
Function at 0x44514c
Capabilities:
Acquire debug privileges

Disassembly:
push 0x28
push 0x4fd670
call fcn.004d606c
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], esi
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
mov dword [ebp - 0x38], esi
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x1c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
je 0x4451d1
lea eax, [ebp - 0x28]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp eax, esi
je 0x4451d1
xor edi, edi
inc edi
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 2
push esi
push esi
push esi
lea eax, [ebp - 0x38]
push eax
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp eax, esi
je 0x4451d1
mov dword [ebp - 0x20], edi
or dword [ebp - 4], 0xffffffff
call fcn.004451e5
mov eax, dword [ebp - 0x20]
call fcn.004d60a7
ret

Function at 0x445250
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push edi
mov esi, eax
mov ecx, 0x509500
call fcn.0040f32d
xor edi, edi
push 0x206
lea eax, [ebp - 0x20a]
push edi
push eax
mov word [ebp - 0x20c], di
call fcn.004857c0
add esp, 0xc
push edi
push 0x23
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4452b0
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.00414fa4
push esi
call fcn.00472a8e
pop ecx
jmp 0x4452db
push 0x400000
lea eax, [ebp - 4]
call fcn.0047258a
pop ecx
mov edi, esi
call fcn.0042454d
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401023
push str.appdata_
push esi
call fcn.00401000
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x44536a
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xe8
push ebx
xor eax, eax
push esi
push edi
xor ebx, ebx
mov byte [ebp + 0x54], bl
lea edi, [ebp + 0x55]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov dword [ebp + 0x68], ebx
lea edi, [ebp + 0x6c]
stosd dword es:[edi], eax
push 0xc6
stosd dword es:[edi], eax
lea eax, [ebp - 0x72]
push ebx
push eax
mov word [ebp - 0x74], bx
call fcn.004857c0
add esp, 0xc
push dword [ebp + 0x7c]
push 0x50b408
call fcn.00414fa4
call fcn.004456e0
xor edi, edi
inc edi
push edi
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push ebx
push ebx
push edi
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp + 0x54]
push 0x50b40c
mov dword [ebp + 0x68], 0xc
mov dword [ebp + 0x6c], eax
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x74]
push str.GlobalBFD88F2D_0990_4de4_AD0F_764F5894389A__d
push eax
call fcn.004459a8
mov esi, dword [sym.imp.KERNEL32.DLL_CreateEventW]
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
call esi
push ebx
push ebx
push edi
push ebx
mov dword [0x50b3fc], eax
call esi
cmp dword [0x50b3fc], ebx
mov dword [0x50b400], eax
je 0x445458
cmp eax, ebx
je 0x445458
push ebx
push ebx
push 0x50b3f4
push 0x445574
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [0x50b404], eax
mov eax, ecx
jmp 0x44545a
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4
Function at 0x445580
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov esi, eax
call fcn.0044585c
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
jmp 0x4456b1
lea ebx, [esi + 0x18]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x38], eax
push dword [esi + 0xc]
mov dword [esp + 0x24], ecx
call dword [sym.imp.KERNEL32.DLL_ResetEvent]
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp dword [esp + 0x20], edi
je 0x4456ad
cmp dword [esi + 4], edi
jne 0x445602
mov eax, dword [esi + 0x14]
push 0x4f01b8
push eax
call fcn.004899cb
cmp eax, edi
pop ecx
pop ecx
mov dword [esi + 4], eax
je 0x4456ad
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
call fcn.0040f0b6
jmp 0x445685
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
cmp ebx, eax
jne 0x445625
call fcn.00484b94
push 0xffffffffffffffff
push edi
add ebx, 8
push ebx
lea ecx, [esp + 0x30]
call fcn.00414a28
mov eax, dword [esp + 0x1c]
push dword [eax]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
lea ebx, [esp + 0x24]
call fcn.00445806
cmp dword [esp + 0x3c], 0x10
mov ecx, dword [esp + 0x28]
jae 0x44565d
lea ecx, [esp + 0x28]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x445685
push eax
push dword [esp + 0x3c]
push 1
push ecx
call fcn.0048ac89
push dword [esi + 4]
push 2
push 1
push 0x4f01c0
call fcn.0048ac89
add esp, 0x20
cmp dword [esp + 0x20], edi
jne 0x445616
mov eax, dword [esi + 4]
cmp eax, edi
je 0x44569c
push eax
call fcn.00489d07
pop ecx
mov dword [esi + 4], edi
push edi
push 1
lea ecx, [esp + 0x2c]
call fcn.0040f27a
jmp 0x4455a2
cmp dword [esi], edi
jne 0x4456c4
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x4455a2
lea esi, [esp + 0x18]
call fcn.004458b2
push dword [esp + 0x1c]
call fcn.00485474
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4456e0
Capabilities:
Delete file
Get file size
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 3
push SysReAllocString
push dword [0x50b408]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x445778
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44571d
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp edi, 0x80000
jb 0x445777
mov eax, dword [0x50b408]
add eax, 0xfffffff0
call fcn.004244f5
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0044577f
mov edi, dword [ebp - 4]
mov ebx, dword [0x50b408]
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push 0
push ebx
call esi
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
lea eax, [edi - 0x10]
call fcn.00401023
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret

Function at 0x447acd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x28]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x447b19
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0xfc]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x447b19
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x1d0]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
cmp dword [esi + 0x2c0], 0
je 0x447b91
lea ebx, [esi + 0x2cc]
cmp dword [ebx], 0
je 0x447b36
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x2c0], edi
jne 0x447b8a
push edi
call fcn.004241f5
mov edi, eax
movzx eax, word [ebp + 0x10]
pop ecx
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x205
call fcn.00424436
mov eax, dword [esi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x10]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x2c0], 0
pop edi
pop ebx
leave
ret 0xc