joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10019a29
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 0x10019a40
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
ret
test al, 1
je 0x10019a4f
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 0x10019adc
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10019aef
xor eax, eax
jmp 0x10019afd
or eax, 6
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
ret 4

Function at 0x10019ba5
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 0x10019bd1
call fcn.100195a2
test eax, eax
jne 0x10019bd1
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 0x10019bf1
cmp esi, 0xffffffff
jne 0x10019c09
cmp dword [ebp - 8], ebx
jne 0x10019bfd
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xc]
call fcn.10004ea2
mov eax, ebx
jmp 0x10019bca
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 0x10019c2d
cmp dword [ebp - 4], edi
jne 0x10019c2d
xor ebx, ebx
inc ebx
jmp 0x10019bfd
cmp dword [ebp - 8], ebx
jne 0x10019bfd
or dword [ebp - 0xc], 0xffffffff
cmp esi, 0xffffffff
je 0x10019c46
cmp esi, ebx
je 0x10019c46
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
jmp 0x10019bf7

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

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
mov eax, 0x3b6a0079
jle 0x10019c78
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 + 0x10086250]
inc ecx
cmp ecx, dword [esp + 0xc]
jl 0x10019c59
pop esi
not eax
ret 8
Function at 0x10019f2a
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x10080060]
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 0x1001a001
test ebx, ebx
je 0x1001a001
mov esi, str.deviceMup_
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, edi
jne 0x10019f86
push ebx
push 0x10056658
push esi
mov eax, edi
call fcn.1001b2f7
xor eax, eax
inc eax
jmp 0x1001a003
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 0x10019ffb
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.10035590
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 0x10019ffb
push dword [ebp - 0x78]
lea esi, [ebp - 0x74]
call fcn.1001b3f3
test eax, eax
jne 0x1001a01b
inc ebx
cmp ebx, 0x1a
jl 0x10019f91
xor eax, eax
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10033d61
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 0x10019f7c

Function at 0x1001a733
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x10080060]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.1001adca
push esi
test eax, eax
je 0x1001a7c0
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.10035590
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 0x1001a7b7
cmp esi, 0xffffffff
je 0x1001a7b7
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x1001a7b3
push edi
lea eax, [esp + 0xc]
push eax
call fcn.1001adca
test eax, eax
je 0x1001a7b7
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1001a799
lea eax, [esp + 4]
call fcn.10004ea2
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.10033d61
mov esp, ebp
pop ebp
ret 4
Function at 0x1001a7d5
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x10080060]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 8
mov eax, 0x1004b6af
call fcn.10035281
mov eax, dword [ebp + 0x238]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x1001a86a
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 0x1001a862
cmp esi, 0xffffffff
je 0x1001a862
push 0x228
lea eax, [ebp + 4]
push 0
push eax
mov dword [ebp], 0x22c
call fcn.10035590
add esp, 0xc
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x1001a85e
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call edi
test eax, eax
je 0x1001a862
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1001a847
lea eax, [ebp - 0x10]
call fcn.10004ea2
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.10033d61
add ebp, 0x230
leave
ret 4

Function at 0x1001a88f
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 0x1001a8a2
xor eax, eax
jmp 0x1001a8fb
push 0x40
lea eax, [ebp - 0x58]
push esi
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.10035590
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.10019330
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 0x1001a8f3
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.1001935d
mov eax, esi
pop edi
pop esi
leave
ret 4
Function at 0x1001a9dc
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 0x1001a9f5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
call fcn.1001a901
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov edi, 0x1001aaf1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.1001a7d5
cmp dword [ebp - 0x14], esi
je 0x1001a9ec
push dword [ebp - 0x18]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x1001aa31
cmp eax, 0xffffffff
jne 0x1001aa3d
lea eax, [ebp - 0x10]
call fcn.10004ea2
mov eax, esi
jmp 0x1001a9ee
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 0x1001aa31
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 0x1001aae7
mov edi, dword [ebp + 8]
call fcn.10019330
push 0x40
mov dword [ebp + 8], eax
lea eax, [ebp - 0x70]
push esi
push eax
mov dword [ebp - 0x74], 0x44
call fcn.10035590
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 0x1001aad6
push dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
call ebx
push dword [ebp + 8]
call fcn.1001935d
push dword [ebp - 0xc]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 8]
call ebx
jmp 0x1001aa31

Function at 0x1001accf
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10080060]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x1001acf6
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10033d61
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 0x1001ad18
cmp esi, 0xffffffff
jne 0x1001ad2a
xor esi, esi
lea eax, [ebp - 0x210]
call fcn.10004ea2
mov eax, esi
pop esi
jmp 0x1001ace8
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.10035590
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jbe 0x1001ad18
mov edx, edi
lea ecx, [ebp - 0x20c]
call fcn.10019f2a
xor esi, esi
inc esi
jmp 0x1001ad1a
Function at 0x1001b5a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x10080060]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x20
mov eax, 0x1004c96a
call fcn.10035281
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 0x1001b6ae
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.10035590
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 0x1001b648
cmp dword [ebp - 0x18], 2
jne 0x1001b6ae
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x1001b6ae
cmp eax, 0x800
jbe 0x1001b67c
add eax, 2
push eax
call fcn.10034aa2
mov ecx, dword [ebp - 0x10]
add ecx, 2
push ecx
push edi
push eax
mov dword [ebp - 0x14], eax
call fcn.10035590
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
jmp 0x1001b684
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 0x1001b69c
lea eax, [ebp]
push eax
push esi
call fcn.10003152
cmp ebx, edi
je 0x1001b6ae
push ebx
call fcn.100349c5
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.10033d61
add ebp, 0x804
leave
ret
Function at 0x1001b6d3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004d34c
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.1003fd30
mov eax, dword [0x10080060]
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.100071f2
xor ebx, ebx
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.1001914b
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x1001b7e5
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.10035590
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 0x1001b7cf
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
push eax
lea esi, [ebp - 0x2048]
call fcn.10002ca9
mov eax, esi
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp - 0x2028]
call fcn.1000723d
push edi
push 1
mov byte [ebp - 4], 1
call fcn.10003179
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 0x1001b781
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x1001b803
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.10033d61
leave
ret

Function at 0x1001b823
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 0x1001b86e
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 0x1001ce99
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 0x1001cecf
push dword [ebp + 0xc]
push dword [ebp - 4]
push str.thread__d_created:__s
call fcn.1001ca58
add esp, 0xc
mov eax, edi
pop edi
pop esi
leave
ret 8
Function at 0x1002b3aa
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x10080060]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0x24
mov eax, 0x1004c604
call fcn.10035281
mov ebx, dword [ebp + 0x238]
mov edi, dword [ebp + 0x230]
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push esi
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esi
call fcn.10035590
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [ebp + 0x234]
cmp eax, 1
jne 0x1002b41b
push str.projonepodlp
jmp 0x1002b431
cmp eax, 2
jne 0x1002b427
push str.projonepotcm
jmp 0x1002b431
cmp eax, 3
jne 0x1002b453
push str.gxsoftgxtcm
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp ebx, esi
je 0x1002b44a
push ebx
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1c]
push eax
jmp 0x1002b4fc
cmp eax, esi
jne 0x1002b4f7
push esi
lea eax, [ebp]
push 3
push eax
call fcn.1002b3aa
add esp, 0xc
mov dword [ebp - 4], esi
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1002b479
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x1002b49d
push ebx
push 3
push edi
call fcn.1002b3aa
add esp, 0xc
push esi
push 1
lea esi, [ebp]
call fcn.10003179
jmp 0x1002b503
push esi
lea eax, [ebp - 0x30]
push 2
push eax
call fcn.1002b3aa
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 1
call fcn.100030cc
push ebx
push 1
lea esi, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.10003179
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1002b4d7
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push dword [ebp - 0x10]
test eax, eax
je 0x1002b4f3
push 2
push edi
call fcn.1002b3aa
add esp, 0xc
push ebx
jmp 0x1002b491
push 1
jmp 0x1002b4e7
push 0x10053b10
mov esi, edi
call fcn.10002ca9
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.10033d61
add ebp, 0x228
leave
ret
Function at 0x1002b528
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov eax, dword [0x10080060]
xor eax, ebp
mov dword [ebp + 0x398], eax
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0x100560d4
xor ebx, ebx
push esi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jle 0x1002b576
push 0x10053b10
mov esi, edi
call fcn.10002ca9
mov eax, edi
jmp 0x1002b5f6
xor eax, eax
push 0x40e
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push ebx
push eax
call fcn.10035590
add esp, 0xc
push ebx
push 0x23
lea eax, [ebp - 0x78]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x78], bx
je 0x1002b563
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.projone
lea eax, [ebp - 0x78]
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
lea eax, [ebp - 0x78]
push eax
call ebx
test eax, eax
je 0x1002b5cc
lea eax, [ebp - 0x78]
push eax
call fcn.10019adc
push esi
lea eax, [ebp - 0x78]
push eax
call edi
lea esi, [ebp - 0x78]
call fcn.100196ac
mov eax, esi
push eax
call ebx
test eax, eax
mov eax, esi
jne 0x1002b5eb
mov eax, 0x10053b10
mov esi, dword [ebp - 0x7c]
push eax
call fcn.10002ca9
mov eax, esi
mov ecx, dword [ebp + 0x398]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10033d61
add ebp, 0x39c
leave
ret

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

Disassembly:
push ebp
lea ebp, [esp - 0x17ac]
mov eax, 0x182c
call fcn.1003fd30
mov eax, dword [0x10080060]
xor eax, ebp
mov dword [ebp + 0x17a8], eax
push esi
push edi
push 4
pop esi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
mov edi, ecx
push edi
push 0x10053bc0
push 0x80000002
mov dword [ebp - 0x64], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1002bc43
cmp dword [ebp - 0x60], esi
jne 0x1002bc43
mov eax, dword [ebp - 0x5c]
jmp 0x1002bc45
xor eax, eax
test eax, eax
je 0x1002bd0f
push ebx
push 0x7fe
lea eax, [ebp + 0xfaa]
push 0
push eax
call fcn.10035590
mov ebx, dword [sym.imp.SHLWAPI.dll_StrNCatW]
add esp, 0xc
push 0x5b
pop eax
push 0x400
mov word [ebp + 0xfa8], ax
push edi
lea eax, [ebp + 0xfa8]
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x10058d98
lea eax, [ebp + 0xfa8]
push eax
call edi
lea eax, [ebp - 0x80]
push eax
call fcn.1001a42c
cmp dword [eax + 0x18], 8
pop ecx
jb 0x1002bcac
mov eax, dword [eax + 4]
jmp 0x1002bcaf
add eax, 4
push eax
lea eax, [ebp + 0xfa8]
push eax
call edi
push 0
push 1
lea esi, [ebp - 0x80]
call fcn.10003179
push 0x10058da0
lea eax, [ebp + 0xfa8]
push eax
call edi
push 0x400
push dword [ebp + 0x17b4]
lea eax, [ebp + 0xfa8]
push eax
call ebx
lea eax, [ebp + 0x17b8]
push eax
lea eax, [ebp + 0xfa8]
push eax
push 0x800
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop ebx
mov ecx, dword [ebp + 0x17a8]
pop edi
xor ecx, ebp
pop esi
call fcn.10033d61
add ebp, 0x17ac
leave
ret
Function at 0x1002be01
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2028
call fcn.1003fd30
mov eax, dword [0x10080060]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
call fcn.1002bee4
test al, al
je 0x1002bed7
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 0x10055bd8
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [ebp - 0x2028]
push eax
call fcn.1002bd26
cmp dword [eax + 0x18], 8
pop ecx
jb 0x1002be72
mov eax, dword [eax + 4]
jmp 0x1002be75
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.10003179
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.10033d61
leave
ret

Function at 0x1002d88c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x10080060]
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.1002f265
push edi
mov ebx, 0x400
push ebx
lea eax, [ebp - 0x41c]
push 1
push eax
call fcn.10041644
add esp, 0x10
jmp 0x1002d8fb
lea ecx, [ebp - 0x41c]
push ecx
lea esi, [ebp - 0x474]
call fcn.1002f289
push edi
push ebx
lea eax, [ebp - 0x41c]
push 1
push eax
call fcn.10041644
add esp, 0x14
test eax, eax
jne 0x1002d8d6
lea ecx, [ebp - 0x474]
lea ebx, [ebp - 0x18]
call fcn.1002f31f
mov esi, dword [ebp - 0x478]
push 0x10
mov eax, ebx
push eax
call fcn.1001b999
mov ecx, dword [ebp - 8]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.10033d61
leave
ret