joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10019698
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x1007d060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp edi, ebx
je 0x10019792
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x10019792
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.10033520
add esp, 0xc
lea esi, [ebp - 0x210]
mov ecx, edi
call fcn.10019f99
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001970f
shr eax, 4
not eax
and eax, 1
jmp 0x10019794
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [ebp - 0x418]
call fcn.100197a2
test eax, eax
je 0x10019792
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x10000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x10019774
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x1001977a
mov dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x420]
call fcn.10004ad7
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x10019794
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10031cf1
leave
ret
Function at 0x10019b1f
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10019b36
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
ret
test al, 1
je 0x10019b45
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
ret

Function at 0x10019c77
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x10019ca3
call fcn.10019698
test eax, eax
jne 0x10019ca3
pop edi
pop esi
pop ebx
leave
ret 0xc
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, ebx
je 0x10019cc3
cmp esi, 0xffffffff
jne 0x10019cdb
cmp dword [ebp - 8], ebx
jne 0x10019ccf
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xc]
call fcn.10004ad7
mov eax, ebx
jmp 0x10019c9c
mov edi, dword [ebp + 0x10]
push ebx
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10019cff
cmp dword [ebp - 4], edi
jne 0x10019cff
xor ebx, ebx
inc ebx
jmp 0x10019ccf
cmp dword [ebp - 8], ebx
jne 0x10019ccf
or dword [ebp - 0xc], 0xffffffff
cmp esi, 0xffffffff
je 0x10019d18
cmp esi, ebx
je 0x10019d18
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
jmp 0x10019cc9

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

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
mov eax, 0x3b6a0079
jle 0x10019d4a
push esi
mov edx, dword [esp + 8]
movzx edx, byte [ecx + edx]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x10083248]
inc ecx
cmp ecx, dword [esp + 0xc]
jl 0x10019d2b
pop esi
not eax
ret 8
Function at 0x10019ffc
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x1007d060]
xor eax, ebp
mov dword [ebp + 0x19c], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], ebx
test edi, edi
je 0x1001a0d3
test ebx, ebx
je 0x1001a0d3
mov esi, str.deviceMup_
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, edi
jne 0x1001a058
push ebx
push 0x100545f0
push esi
mov eax, edi
call fcn.1001b34d
xor eax, eax
inc eax
jmp 0x1001a0d5
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x80], eax
xor ebx, ebx
xor eax, eax
inc eax
mov ecx, ebx
shl eax, cl
mov ecx, dword [ebp - 0x80]
test ecx, eax
je 0x1001a0cd
push 0x3a
lea eax, [ebx + 0x61]
mov word [ebp + 0x194], ax
pop eax
mov word [ebp + 0x196], ax
xor eax, eax
push 0x206
lea edi, [ebp + 0x198]
push eax
stosd dword es:[edi], eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.10033520
add esp, 0xc
push 0x104
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jbe 0x1001a0cd
push dword [ebp - 0x78]
lea esi, [ebp - 0x74]
call fcn.1001b449
test eax, eax
jne 0x1001a0ed
inc ebx
cmp ebx, 0x1a
jl 0x1001a063
xor eax, eax
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10031cf1
add ebp, 0x1a0
leave
ret
push dword [ebp - 0x7c]
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x78]
jmp 0x1001a04e

Function at 0x1001a789
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x1007d060]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.1001ae20
push esi
test eax, eax
je 0x1001a816
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.10033520
add esp, 0xc
push dword [ebp + 8]
mov dword [esp + 0xc], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x1001a80d
cmp esi, 0xffffffff
je 0x1001a80d
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x1001a809
push edi
lea eax, [esp + 0xc]
push eax
call fcn.1001ae20
test eax, eax
je 0x1001a80d
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1001a7ef
lea eax, [esp + 4]
call fcn.10004ad7
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.10031cf1
mov esp, ebp
pop ebp
ret 4
Function at 0x1001a82b
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x1007d060]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 8
mov eax, 0x1004964f
call fcn.10033211
mov eax, dword [ebp + 0x238]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x1001a8c0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
test esi, esi
je 0x1001a8b8
cmp esi, 0xffffffff
je 0x1001a8b8
push 0x228
lea eax, [ebp + 4]
push 0
push eax
mov dword [ebp], 0x22c
call fcn.10033520
add esp, 0xc
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x1001a8b4
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call edi
test eax, eax
je 0x1001a8b8
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1001a89d
lea eax, [ebp - 0x10]
call fcn.10004ad7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.10031cf1
add ebp, 0x230
leave
ret 4

Function at 0x1001a8e5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x1001a8f8
xor eax, eax
jmp 0x1001a951
push 0x40
lea eax, [ebp - 0x58]
push esi
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.10033520
mov dword [ebp - 0x14], esi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
add esp, 0xc
call fcn.10019426
mov edi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1001a949
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.10019453
mov eax, esi
pop edi
pop esi
leave
ret 4
Function at 0x1001aa32
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x1001aa4b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
call fcn.1001a957
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov edi, 0x1001ab47
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.1001a82b
cmp dword [ebp - 0x14], esi
je 0x1001aa42
push dword [ebp - 0x18]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x1001aa87
cmp eax, 0xffffffff
jne 0x1001aa93
lea eax, [ebp - 0x10]
call fcn.10004ad7
mov eax, esi
jmp 0x1001aa44
lea ecx, [ebp - 8]
push ecx
push 0xf01ff
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1001aa87
push esi
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1001ab3d
mov edi, dword [ebp + 8]
call fcn.10019426
push 0x40
mov dword [ebp + 8], eax
lea eax, [ebp - 0x70]
push esi
push eax
mov dword [ebp - 0x74], 0x44
call fcn.10033520
add esp, 0xc
push 5
pop eax
mov word [ebp - 0x44], ax
xor eax, eax
mov dword [ebp - 0x2c], esi
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push dword [ebp - 0xc]
mov dword [ebp - 0x48], 1
push 0x420
push esi
push esi
push esi
push dword [ebp + 8]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1001ab2c
push dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
call ebx
push dword [ebp + 8]
call fcn.10019453
push dword [ebp - 0xc]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 8]
call ebx
jmp 0x1001aa87

Function at 0x1001ad25
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1007d060]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x1001ad4c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031cf1
leave
ret 4
push esi
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x210], esi
test esi, esi
je 0x1001ad6e
cmp esi, 0xffffffff
jne 0x1001ad80
xor esi, esi
lea eax, [ebp - 0x210]
call fcn.10004ad7
mov eax, esi
pop esi
jmp 0x1001ad3e
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.10033520
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jbe 0x1001ad6e
mov edx, edi
lea ecx, [ebp - 0x20c]
call fcn.10019ffc
xor esi, esi
inc esi
jmp 0x1001ad70
Function at 0x1001b5f6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x1007d060]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x20
mov eax, 0x1004a8ea
call fcn.10033211
mov eax, dword [ebp + 0x80c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x810]
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], eax
mov ebx, ecx
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 0x1001b704
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.10033520
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 0x1001b69e
cmp dword [ebp - 0x18], 2
jne 0x1001b704
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x1001b704
cmp eax, 0x800
jbe 0x1001b6d2
add eax, 2
push eax
call fcn.10032a32
mov ecx, dword [ebp - 0x10]
add ecx, 2
push ecx
push edi
push eax
mov dword [ebp - 0x14], eax
call fcn.10033520
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
jmp 0x1001b6da
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 0x1001b6f2
lea eax, [ebp]
push eax
push esi
call fcn.10002deb
cmp ebx, edi
je 0x1001b704
push ebx
call fcn.10032955
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.10031cf1
add ebp, 0x804
leave
ret
Function at 0x1001b729
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b254
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.1003dcc0
mov eax, dword [0x1007d060]
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 dword [ebp - 0x202c], edi
call fcn.1000b022
xor ebx, ebx
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.10019241
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x1001b83b
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.10033520
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 0x1001b825
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
push eax
lea esi, [ebp - 0x2048]
call fcn.1000294c
mov eax, esi
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp - 0x2028]
call fcn.1000710b
push edi
push 1
mov byte [ebp - 4], 1
call fcn.10002e12
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 0x1001b7d7
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x1001b859
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.10031cf1
leave
ret

Function at 0x1001b879
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 + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp edi, esi
jne 0x1001b8c4
push 4
push dword [ebp + 0x14]
push 4
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]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x1001ced3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
je 0x1001cf09
push dword [ebp + 0xc]
push dword [ebp - 4]
push str.thread__d_created:__s
call fcn.1001ca92
add esp, 0xc
mov eax, edi
pop edi
pop esi
leave
ret 8
Function at 0x1002a9a4
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x1007d060]
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.10033520
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.1000294c
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10031cf1
add ebp, 0x190
leave
ret

Function at 0x1002aa1d
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x1007d060]
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.10033520
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.1000294c
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10031cf1
add ebp, 0x190
leave
ret

Function at 0x1002b03e
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x1007d060]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x1004a553
call fcn.10033211
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.10033520
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 0x234], 1
jne 0x1002b0aa
push str.projonepodlp
jmp 0x1002b0b8
cmp dword [ebp + 0x234], 2
jne 0x1002b0d7
push str.projonepotcm
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, ebx
je 0x1002b0d1
push esi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1c]
push eax
jmp 0x1002b12a
cmp dword [ebp + 0x234], ebx
jne 0x1002b125
push ebx
lea eax, [ebp]
push 2
push eax
call fcn.1002b03e
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1002b0fd
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
test eax, eax
je 0x1002b121
push 2
push edi
call fcn.1002b03e
add esp, 0xc
push ebx
push 1
lea esi, [ebp]
call fcn.10002e12
jmp 0x1002b131
push 1
jmp 0x1002b10b
push 0x10051b00
mov esi, edi
call fcn.1000294c
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.10031cf1
add ebp, 0x228
leave
ret
Function at 0x1002b156
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x1007d060]
xor eax, ebp
mov dword [ebp + 0x394], eax
push esi
push edi
mov esi, 0x1005406c
xor edi, edi
push esi
mov dword [ebp - 0x80], edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jle 0x1002b192
push 0x10051b00
jmp 0x1002b1f3
xor eax, eax
push 0x40e
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push edi
push eax
call fcn.10033520
add esp, 0xc
push edi
push 0x23
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x7c], di
je 0x1002b18b
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.projone
lea eax, [ebp - 0x7c]
push eax
call edi
push esi
lea eax, [ebp - 0x7c]
push eax
call edi
lea esi, [ebp - 0x7c]
call fcn.100197a2
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
mov eax, esi
jne 0x1002b1f2
mov eax, 0x10051b00
push eax
mov esi, ebx
call fcn.1000294c
mov ecx, dword [ebp + 0x394]
pop edi
xor ecx, ebp
mov eax, ebx
pop esi
call fcn.10031cf1
add ebp, 0x398
leave
ret

Function at 0x1002b621
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1790]
mov eax, 0x1810
call fcn.1003dcc0
mov eax, dword [0x1007d060]
xor eax, ebp
mov dword [ebp + 0x178c], eax
push esi
push 4
pop esi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push 0x10051bb0
push 0x80000002
mov dword [ebp - 0x80], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1002b672
cmp dword [ebp - 0x7c], esi
jne 0x1002b672
mov eax, dword [ebp - 0x78]
jmp 0x1002b674
xor eax, eax
test eax, eax
je 0x1002b6fd
push edi
push 0x7fe
lea eax, [ebp + 0xf8e]
push 0
push eax
call fcn.10033520
mov esi, dword [sym.imp.SHLWAPI.dll_StrNCatW]
add esp, 0xc
push 0x5b
pop eax
mov edi, 0x400
push edi
mov word [ebp + 0xf8c], ax
push ebx
lea eax, [ebp + 0xf8c]
push eax
call esi
push 0x10056c98
lea eax, [ebp + 0xf8c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
push dword [ebp + 0x1798]
lea eax, [ebp + 0xf8c]
push eax
call esi
lea eax, [ebp + 0x179c]
push eax
lea eax, [ebp + 0xf8c]
push eax
push 0x800
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
mov ecx, dword [ebp + 0x178c]
xor ecx, ebp
pop esi
call fcn.10031cf1
add ebp, 0x1790
leave
ret
Function at 0x1002b7ee
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2028
call fcn.1003dcc0
mov eax, dword [0x1007d060]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
call fcn.1002b8d1
test al, al
je 0x1002b8c4
xor eax, eax
mov word [ebp - 0x80c], ax
mov word [ebp - 0x100c], ax
push str.__ls__ls
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x10053b70
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [ebp - 0x2028]
push eax
call fcn.1002b713
cmp dword [eax + 0x18], 8
pop ecx
jb 0x1002b85f
mov eax, dword [eax + 4]
jmp 0x1002b862
add eax, 4
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x100c]
push 0x400
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
push 0
push 1
lea esi, [ebp - 0x2028]
call fcn.10002e12
xor eax, eax
mov word [ebp - 0x200c], ax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x100c]
push eax
push 0x800
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.10031cf1
leave
ret

Function at 0x1002bd80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x1007d060]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x47c], 0
push ebx
mov dword [ebp - 0x478], eax
push esi
lea eax, [ebp - 0x474]
call fcn.1002d556
push edi
mov ebx, 0x400
push ebx
lea eax, [ebp - 0x41c]
push 1
push eax
call fcn.1003f5d4
add esp, 0x10
jmp 0x1002bdef
lea ecx, [ebp - 0x41c]
push ecx
lea esi, [ebp - 0x474]
call fcn.1002d57a
push edi
push ebx
lea eax, [ebp - 0x41c]
push 1
push eax
call fcn.1003f5d4
add esp, 0x14
test eax, eax
jne 0x1002bdca
lea ecx, [ebp - 0x474]
lea ebx, [ebp - 0x18]
call fcn.1002d610
mov esi, dword [ebp - 0x478]
push 0x10
mov eax, ebx
push eax
call fcn.1001b9ef
mov ecx, dword [ebp - 8]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.10031cf1
leave
ret

Function at 0x1002c2c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
shl eax, 4
pop edx
mov esi, ecx
lea edi, [eax + ecx + 0x3c]
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, edi
mov bl, byte [ecx]
xor byte [esi + eax], bl
inc eax
add ecx, edx
cmp eax, edx
jl 0x1002c2e1
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x1002c2dd
pop edi
pop esi
pop ebx
leave
ret