joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f381
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
or dword [esi], 0xffffffff
push ebx
push dword [esp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f416
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x42f416
push edi
lea edi, [esi + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x42f415
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov edx, ecx
or edx, eax
je 0x42f415
cmp eax, ebx
jl 0x42f3ea
mov eax, 0x400000
jg 0x42f3e6
cmp ecx, eax
jbe 0x42f3ea
mov edi, eax
jmp 0x42f3ec
mov edi, ecx
push ebx
push ebx
push ebx
push 2
push ebx
push dword [esi]
mov dword [esi + 0x18], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
cmp eax, ebx
je 0x42f415
push dword [esi + 0x18]
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
pop edi
mov eax, esi
pop ebx
ret 4

Function at 0x42fb96
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4e8070]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x20
mov eax, 0x4b2de9
call fcn.00499151
mov eax, dword [ebp + 0x80c]
mov ebx, dword [ebp + 0x810]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x814]
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], ebx
mov word [esi + 4], ax
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x14], edi
cmp ebx, edi
je 0x42fca8
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00499dd0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], edi
push ebx
push dword [ebp - 0x20]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x18], edi
call ebx
cmp dword [ebp - 0x18], 1
je 0x42fc42
cmp dword [ebp - 0x18], 2
jne 0x42fca8
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x42fca8
cmp eax, 0x800
jbe 0x42fc76
add eax, 2
push eax
call fcn.004983d2
mov ecx, dword [ebp - 0x10]
add ecx, 2
push ecx
push edi
push eax
mov dword [ebp - 0x14], eax
call fcn.00499dd0
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
jmp 0x42fc7e
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call ebx
mov ebx, dword [ebp - 0x14]
mov eax, ebx
cmp ebx, edi
jne 0x42fc96
lea eax, [ebp]
push eax
push esi
call fcn.00403e86
cmp ebx, edi
je 0x42fca8
push ebx
call fcn.004982f5
pop ecx
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 + 0x800]
xor ecx, ebp
call fcn.0049795f
add ebp, 0x804
leave
ret
Function at 0x42fccd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4308
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.004a3980
mov eax, dword [0x4e8070]
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 eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2028], eax
mov esi, ecx
mov dword [ebp - 0x202c], edi
call fcn.00419370
xor ebx, ebx
push esi
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.0042caee
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x42fde2
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2012]
push edi
push eax
mov dword [ebp - 0x2018], edi
call fcn.00499dd0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push edi
jmp 0x42fdcc
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
push eax
lea esi, [ebp - 0x2048]
call fcn.004034c9
mov eax, esi
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp - 0x2028]
call fcn.0041317b
push edi
push 1
mov byte [ebp - 4], 1
call fcn.00403ead
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2018]
push dword [ebp - 0x2020]
mov dword [ebp - 0x201c], 0x1000
call ebx
test eax, eax
je 0x42fd7e
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x42fe00
push dword [ebp - 0x2020]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2028]
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.0049795f
leave
ret

Function at 0x42fe20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push 1
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp edi, esi
jne 0x42fe6d
push 8
push dword [ebp + 0x10]
push 0xb
push esi
push dword [ebp + 0xc]
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]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x42fe73
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x4b507e
call fcn.00499151
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0041b34e
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push str._allowedInstaller
mov dword [ebp - 4], esi
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push str.Softwareprojonepodlp_smpcache_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], 1
call ebx
cmp dword [ebp - 0x14], 7
jne 0x42ff6a
cmp dword [ebp - 0x10], esi
jbe 0x42ff6a
add dword [ebp - 0x10], 0x100
push dword [ebp - 0x10]
call fcn.004983d2
mov edi, eax
pop ecx
mov dword [ebp - 0x18], edi
cmp edi, esi
je 0x42ff6a
push dword [ebp - 0x10]
push esi
push edi
call fcn.00499dd0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push str._allowedInstaller
push str.Softwareprojonepodlp_smpcache_
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov ebx, edi
cmp word [edi], si
je 0x42ff63
mov eax, dword [ebp - 0x10]
lea eax, [edi + eax*2]
cmp ebx, eax
jae 0x42ff63
push ebx
lea esi, [ebp - 0x38]
call fcn.004034c9
mov dword [ebp - 4], 1
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi]
push eax
push ecx
mov eax, esi
push eax
call fcn.0041b3d3
push 0
push 1
mov byte [ebp - 4], 0
call fcn.00403ead
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x18]
lea ebx, [ebx + eax*2 + 2]
cmp word [ebx], 0
jne 0x42ff16
push edi
call fcn.004982f5
pop ecx
mov eax, dword [ebp + 8]
call fcn.00499229
ret
Function at 0x42ff73
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push 0x800
mov dword [ebp - 0xc], 0x400
xor ebx, ebx
call fcn.004983d2
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax]
lea edi, [ebp - 0x20]
lea esi, [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
call fcn.0041e1dc
test al, al
je 0x430050
call fcn.00432e32
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 0x14]
lea ecx, [eax + ebx + 2]
mov eax, dword [ebp - 0xc]
cmp ecx, eax
jbe 0x430002
lea edi, [eax + eax]
mov esi, edi
lea edi, [esi + esi]
push edi
push dword [ebp - 8]
mov dword [ebp - 0xc], esi
call fcn.0049f07a
pop ecx
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x43004c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
lea eax, [eax + ebx + 2]
cmp eax, esi
ja 0x42ffda
lea esi, [ebp - 0x18]
call fcn.00432e32
mov edi, dword [eax + 0x14]
call fcn.00432e32
cmp dword [eax + 0x18], 8
jb 0x43001d
mov eax, dword [eax + 4]
jmp 0x430020
add eax, 4
inc edi
push edi
push eax
mov eax, dword [ebp - 8]
lea eax, [eax + ebx*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea esi, [ebp - 0x18]
call fcn.00432e32
mov eax, dword [eax + 0x14]
lea ebx, [ebx + eax + 1]
call fcn.00419672
mov eax, dword [ebp + 8]
jmp 0x42ffa3
xor al, al
jmp 0x430087
mov esi, dword [ebp - 8]
add ebx, ebx
xor eax, eax
mov word [ebx + esi], ax
add ebx, 2
push ebx
push esi
push 7
push str._allowedInstaller
push str.Softwareprojonepodlp_smpcache_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push esi
mov edi, eax
call fcn.004982f5
xor eax, eax
test edi, edi
pop ecx
sete al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430145
Capabilities:
Check if file exists
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
cmp dword [ebp + 0x10], 3
jbe 0x430159
cmp dword [ebp + 0x10], esi
ja 0x4301c4
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4301c4
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push 0xf003f
push esi
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x4301bc
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
push 1
push dword [ebp + 0x10]
push 2
push 0xf01ff
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
call fcn.00430125
xor eax, eax
cmp dword [ebp - 8], esi
setne al
jmp 0x4301c6
lea eax, [ebp - 0xc]
call fcn.00430125
xor eax, eax
pop esi
leave
ret 0xc
Function at 0x4301cb
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x43022a
push 0xf003f
push edi
push edi
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x430222
push 0x10
push dword [ebp + 8]
lea esi, [ebp - 0xc]
call fcn.004300f7
cmp dword [ebp - 0xc], edi
je 0x430222
push edi
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x43021f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x430222
xor edi, edi
inc edi
lea eax, [ebp - 0xc]
call fcn.00430125
mov eax, edi
pop edi
pop esi
leave
ret 4

Function at 0x430296
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x4302e4
push 0xf003f
push edi
push edi
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x4302dc
push 0x10000
push dword [ebp + 8]
lea esi, [ebp - 0xc]
call fcn.004300f7
cmp dword [ebp - 0xc], edi
je 0x4302dc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov edi, eax
lea eax, [ebp - 0xc]
call fcn.00430125
mov eax, edi
pop edi
pop esi
leave
ret 4

Function at 0x4302ec
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [ebp + 8], edi
je 0x430351
push 4
push edi
push edi
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x430349
push 4
push dword [ebp + 8]
lea esi, [ebp - 0xc]
call fcn.004300f7
cmp dword [ebp - 0xc], edi
je 0x430349
push 6
mov dword [ebp - 0x28], edi
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x430349
cmp dword [ebp - 0x24], 4
jne 0x430349
inc ebx
lea eax, [ebp - 0xc]
call fcn.00430125
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x430475
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x4e8070]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x430529
push ebx
push esi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.00499dd0
add esp, 0xc
lea esi, [ebp - 0x20c]
mov ecx, edi
call fcn.0042de5f
mov ecx, esi
call fcn.0043035a
test eax, eax
je 0x4304d6
xor eax, eax
inc eax
jmp 0x430527
lea eax, [ebp - 0x20c]
push eax
push str.explorer.exe__select__s
lea eax, [ebp - 0x61c]
push 0x208
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [ebp - 0x61c]
push eax
call fcn.0042eb53
mov dword [ebp - 0x620], eax
cmp eax, ebx
je 0x430515
cmp eax, 0xffffffff
je 0x430515
xor ebx, ebx
inc ebx
lea eax, [ebp - 0x620]
call fcn.0040681e
xor eax, eax
test bl, bl
setne al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049795f
leave
ret
Function at 0x430535
Capabilities:
Get common file path

Disassembly:
push 0
push 0x23
push dword [esp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
ret 4

Function at 0x4325d9
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x4b0e08
call fcn.00499184
xor edi, edi
mov dword [ebp - 4], edi
push 0x18
mov byte [ebp - 4], 1
call fcn.00497f23
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, edi
je 0x43260d
lea eax, [ebp + 8]
call fcn.0041e139
jmp 0x43260f
xor eax, eax
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
push 0x41b958
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
or dword [ebp - 4], 0xffffffff
lea esi, [ebp + 8]
mov edi, eax
call fcn.00443a2a
mov eax, edi
jmp 0x432649
call fcn.00499229
ret

Function at 0x4328db
Capabilities:
Delete registry value

Disassembly:
push 0x58
mov eax, 0x4b4256
call fcn.004991ba
mov esi, ecx
push esi
lea ecx, [ebp - 0x48]
mov edi, edx
call fcn.0042f2b1
pop ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x34], ebx
je 0x4329a9
cmp edi, ebx
jne 0x43290c
mov edi, 0x4c102f
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x432918
lea eax, [ebp - 0x44]
push esi
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0x4c7464
lea ecx, [ebp - 0x2c]
call fcn.0042f9b3
add esp, 0x10
mov byte [ebp - 4], 1
cmp byte [ebp + 8], bl
je 0x432981
lea eax, [ebp - 0x64]
push 1
push eax
call fcn.0042e6c6
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x432953
mov eax, dword [eax + 4]
jmp 0x432956
add eax, 4
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x432962
lea ecx, [ebp - 0x28]
push ecx
push 0x4ee2b8
mov esi, eax
mov edi, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0042fb06
push ebx
push 1
lea esi, [ebp - 0x64]
call fcn.00403ead
jmp 0x43299e
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x43298d
lea eax, [ebp - 0x28]
push eax
push 0x4ee2b8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.00403ead
push ebx
push 1
lea esi, [ebp - 0x48]
call fcn.00403ead
call fcn.0049923d
ret 4
Function at 0x432c0a
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4e8070]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
cmp eax, 0xc6
ja 0x432ca4
push ebx
mov esi, 0x4ee2b8
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
push 0x206
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push ebx
push eax
call fcn.00499dd0
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x214]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
push edi
push 0x4c2a40
push esi
call ebx
push edi
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push esi
call ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp byte [0x4ef6e8], 0
mov dword [0x4ef740], 0x444ffa
jne 0x432cc1
mov eax, dword [ebp + 8]
call fcn.0043272a
jmp 0x432cc3
xor al, al
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049795f
leave
ret
Function at 0x44476d
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4e8070]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.00499dd0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logs_accelerator
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.004034c9
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0049795f
add ebp, 0x190
leave
ret

Function at 0x4447e6
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4e8070]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.00499dd0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logsignored
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.004034c9
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0049795f
add ebp, 0x190
leave
ret

Function at 0x444e0c
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x4e8070]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x4b3e82
call fcn.00499151
mov edi, dword [ebp + 0x230]
mov esi, dword [ebp + 0x238]
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.00499dd0
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 0x234], 1
jne 0x444e78
push str.projonepodlp
jmp 0x444e86
cmp dword [ebp + 0x234], 2
jne 0x444ea5
push str.projonepotcm
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, ebx
je 0x444e9f
push esi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1c]
push eax
jmp 0x444ef8
cmp dword [ebp + 0x234], ebx
jne 0x444ef3
push ebx
lea eax, [ebp]
push 2
push eax
call fcn.00444e0c
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x444ecb
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
test eax, eax
je 0x444eef
push 2
push edi
call fcn.00444e0c
add esp, 0xc
push ebx
push 1
lea esi, [ebp]
call fcn.00403ead
jmp 0x444eff
push 1
jmp 0x444ed9
push 0x4c1030
mov esi, edi
call fcn.004034c9
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.0049795f
add ebp, 0x228
leave
ret
Function at 0x445e35
Capabilities:
Read file on windows

Disassembly:
push 0x2c
mov eax, 0x4b0d5c
call fcn.004991ba
mov eax, dword [ebp + 8]
or dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 7
xor ebx, ebx
mov dword [ebp - 4], ebx
xor edi, edi
push ebx
push 0x8000000
push 3
push ebx
push dword [ebp + edi*4 - 0x38]
push SysReAllocString
push dword [ebp - 0x28]
call dword [0x4ef7b4]
push eax
lea esi, [ebp - 0x20]
call fcn.00445df9
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x445e9e
cmp ecx, 0xffffffff
jne 0x445ea4
inc edi
cmp edi, 4
jb 0x445e6e
cmp ecx, ebx
je 0x445eaf
or eax, 0xffffffff
cmp ecx, eax
jne 0x445ebf
lea eax, [ebp - 0x20]
call fcn.0040681e
xor eax, eax
call fcn.0049923d
ret
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push 0xc
lea eax, [ebp - 0x1c]
push eax
push ecx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x1c], 0x70bfbbef
jne 0x445eec
cmp dword [ebp - 0x18], 0x706c646f
je 0x445ef8
lea eax, [ebp - 0x20]
call fcn.0040681e
mov eax, ebx
jmp 0x445eb9
mov eax, dword [ebp - 0x14]
dec eax
dec eax
je 0x445f07
dec eax
jne 0x445eec
push 3
pop ebx
jmp 0x445eec
push 2
jmp 0x445f04

Function at 0x445f50
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x190
mov eax, dword [esp + 8]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
add eax, ecx
shr edx, 0x10
xor byte [eax], dl
inc ecx
cmp ecx, 0x1000
jl 0x445f55
ret
Function at 0x446001
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
xor esi, esi
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], esi
ja 0x44603f
jb 0x446158
cmp eax, 0x1000
jb 0x446158
push 1
lea eax, [ebp - 0x18]
push eax
push esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
mov dword [ebp - 0x24], edi
call esi
mov dword [ebp - 0x1c], eax
xor eax, eax
push eax
push eax
push eax
push edi
call esi
push 0
lea eax, [ebp - 8]
push eax
push 0x1000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44608c
cmp dword [ebp - 0x20], eax
jne 0x446158
push eax
jmp 0x446145
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x4460a1
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
cmp dword [ebx], 0x70bfbbef
jne 0x44613f
cmp dword [ebx + 4], 0x706c646f
jne 0x44613f
mov eax, dword [ebx + 8]
cmp eax, 2
je 0x4460c7
cmp eax, 3
jne 0x44613f
push dword [ebx + 0x18c]
push ebx
call fcn.00445f50
cmp byte [ebx + 0x4a3], 0
pop ecx
pop ecx
jne 0x446120
cmp dword [ebx + 0x1a0], 0x40
ja 0x446120
mov eax, 0x270f
cmp word [ebx + 0x190], ax
ja 0x446120
movzx eax, word [ebx + 0x192]
cmp ax, 1
jb 0x446120
cmp ax, 0xc
ja 0x446120
movzx eax, word [ebx + 0x196]
cmp ax, 1
jb 0x446120
cmp ax, 0x1f
ja 0x446120
xor ebx, ebx
inc ebx
jmp 0x446122
xor ebx, ebx
cmp dword [ebp - 0x20], edi
jne 0x44613b
push edi
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 1
push dword [ebp - 0x24]
call esi
mov eax, ebx
jmp 0x44615a
cmp dword [ebp - 0x20], edi
jne 0x446158
push edi
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 1
push dword [ebp - 0x24]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret