joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d350
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10053060]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x1000d3b6
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.1002cd00
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1000d3b6
push esi
push 0
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jbe 0x1000d3b6
xor eax, eax
inc eax
jmp 0x1000d3b8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002a90b
leave
ret

Function at 0x1000d3c4
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 0x1000d3db
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
ret
test al, 1
je 0x1000d3ea
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 0x1000d602
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x10053060]
xor eax, ebp
mov dword [ebp + 0x84], eax
push esi
push 0x103
lea eax, [ebp - 0x7f]
push 0
push eax
mov byte [ebp - 0x80], 0
call fcn.1002cd00
add esp, 0xc
push 0x104
lea esi, [ebp - 0x80]
call fcn.1000d576
mov eax, 0x179b06cc
xor ecx, ecx
movzx edx, byte [ebp + ecx - 0x80]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x10055070]
inc ecx
cmp ecx, 0x24
jl 0x1000d649
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
not eax
pop esi
call fcn.1002a90b
add ebp, 0x88
leave
ret
Function at 0x1000d748
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x10053060]
xor eax, ebp
mov dword [ebp - 4], eax
movsx eax, byte [ebp + 8]
push ebx
push esi
push eax
push str.__c:
lea esi, [ebp - 0x5c]
call fcn.1000e3bc
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x1000d779
mov eax, dword [eax + 4]
jmp 0x1000d77c
add eax, 4
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov ebx, eax
push 1
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x3c], ebx
call fcn.1000270f
cmp ebx, esi
je 0x1000d7aa
cmp ebx, 0xffffffff
jne 0x1000d7c3
lea eax, [ebp - 0x3c]
call fcn.1000406f
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1002a90b
leave
ret
push edi
push 0x28
pop edx
push 9
pop ecx
xor eax, eax
push esi
mov dword [ebp - 0x38], edx
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
push eax
push edx
lea eax, [ebp - 0x38]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x2d1400
push ebx
mov dword [ebp - 0x40], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
pop edi
test eax, eax
jne 0x1000d811
or esi, 0xffffffff
lea eax, [ebp - 0x3c]
call fcn.1000406f
mov eax, esi
jmp 0x1000d7b5
mov esi, dword [ebp - 0x1c]
jmp 0x1000d805

Function at 0x1000d99c
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x10053060]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.1000dd1a
push esi
test eax, eax
je 0x1000da29
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.1002cd00
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 0x1000da20
cmp esi, 0xffffffff
je 0x1000da20
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x1000da1c
push edi
lea eax, [esp + 0xc]
push eax
call fcn.1000dd1a
test eax, eax
je 0x1000da20
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1000da02
lea eax, [esp + 4]
call fcn.1000406f
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.1002a90b
mov esp, ebp
pop ebp
ret 4
Function at 0x1000da3e
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x10053060]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
mov eax, fcn.1000dcc8
test eax, eax
je 0x1000dac5
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x80], esi
test esi, esi
je 0x1000dabc
cmp esi, 0xffffffff
je 0x1000dabc
push 0x228
lea eax, [ebp - 0x78]
push 0
push eax
mov dword [ebp - 0x7c], 0x22c
call fcn.1002cd00
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x1000dab8
push edi
lea eax, [ebp - 0x7c]
push eax
call fcn.1000dcc8
test eax, eax
je 0x1000dabc
lea eax, [ebp - 0x7c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1000daa0
lea eax, [ebp - 0x80]
call fcn.1000406f
pop esi
mov ecx, dword [ebp + 0x1b0]
xor ecx, ebp
call fcn.1002a90b
add ebp, 0x1b4
leave
ret

Function at 0x1000dbb5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x1000dbc7
xor eax, eax
jmp 0x1000dbe6
push edi
call fcn.1000dada
lea edi, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.1000da3e
cmp dword [ebp - 0x10], esi
jne 0x1000dbeb
xor eax, eax
pop edi
pop esi
leave
ret 4
push dword [ebp - 0x14]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x1000dc06
cmp eax, 0xffffffff
jne 0x1000dc12
lea eax, [ebp - 0xc]
call fcn.1000406f
mov eax, esi
jmp 0x1000dbe5
lea ecx, [ebp - 4]
push ecx
push 0xf01ff
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000dc06
push ebx
push esi
push dword [ebp - 4]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1000dcbd
mov edi, dword [ebp + 8]
call fcn.1000cbe3
push 0x40
mov dword [ebp + 8], eax
lea eax, [ebp - 0x5c]
push esi
push eax
mov dword [ebp - 0x60], 0x44
call fcn.1002cd00
add esp, 0xc
push 5
pop eax
mov word [ebp - 0x30], ax
xor eax, eax
mov dword [ebp - 0x1c], esi
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push esi
push dword [ebp - 8]
mov dword [ebp - 0x34], 1
push 0x420
push esi
push esi
push esi
push dword [ebp + 8]
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1000dcac
push dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
call ebx
push dword [ebp + 8]
call fcn.1000cc10
push dword [ebp - 8]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 4]
call ebx
pop ebx
jmp 0x1000dc06
Function at 0x1000e598
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004163b
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.10036480
mov eax, dword [0x10053060]
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.1000ea4d
xor ebx, ebx
push esi
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.1000c9bd
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x1000e6ad
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.1002cd00
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 0x1000e697
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
push eax
lea esi, [ebp - 0x2048]
call fcn.1000221e
mov eax, esi
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp - 0x2028]
call fcn.1000ea86
push edi
push 1
mov byte [ebp - 4], 1
call fcn.10002807
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 0x1000e649
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x1000e6cb
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.1002a90b
leave
ret

Function at 0x1000e6eb
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 str.Softwareprojonepodlp_volatiledteProcessing_
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp edi, esi
jne 0x1000e73a
push 8
push dword [ebp + 0xc]
push 0xb
push esi
push dword [ebp + 8]
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 0x1000e745
Capabilities:
Check if file exists

Disassembly:
push 0x678
mov eax, 0x100415db
call fcn.1002b85a
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x680], edi
mov dword [ebp - 0x67c], eax
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [ebp - 0x684], esi
mov word [esi + 4], ax
xor ebx, ebx
mov dword [ebp - 4], edi
inc ebx
push edi
mov dword [ebp - 0x680], ebx
mov dword [ebp - 0x674], edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x674]
push eax
push 0x1004750c
push ebx
push edi
push 0x1004751c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x1000e8eb
mov eax, dword [ebp - 0x674]
lea edx, [ebp - 0x678]
push edx
push 0x1004752c
mov dword [ebp - 0x678], edi
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x1000e8df
mov eax, dword [ebp - 0x678]
mov ecx, dword [eax]
push edi
push dword [ebp - 0x67c]
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x1000e8d3
xor eax, eax
mov ebx, 0x206
push ebx
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.1002cd00
mov eax, dword [ebp - 0x674]
mov ecx, dword [eax]
add esp, 0xc
push 4
lea edx, [ebp - 0x670]
push edx
push 0x104
lea edx, [ebp - 0x218]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x1000e8d3
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.100027e0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000e8d3
call fcn.1000d522
test eax, eax
je 0x1000e8d3
push str.program_files__x86__
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1000e8d3
xor eax, eax
push ebx
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push edi
push eax
call fcn.1002cd00
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push str.program_files_
push str.program_files__x86__
mov eax, 0x104
lea ecx, [ebp - 0x218]
call fcn.1000e0cf
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000e8d3
lea eax, [ebp - 0x420]
push eax
push esi
call fcn.100027e0
mov eax, dword [ebp - 0x678]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x674]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.1002b8dd
ret

Function at 0x1001d59a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x1001d5f0
cmp eax, 0xffffffff
je 0x1001d5f0
push esi
lea ecx, [ebp - 4]
push ecx
push 4
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001d5f0
cmp dword [ebp - 4], 4
jne 0x1001d5f0
cmp dword [ebp - 8], 0x21726152
jne 0x1001d5f0
inc esi
lea eax, [ebp - 0xc]
call fcn.1000406f
mov eax, esi
pop esi
leave
ret
Function at 0x1001d939
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10041541
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x10053060]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov eax, dword [0x10053060]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
mov esi, ecx
call fcn.100022a1
and dword [esp + 0x80], 0
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1001d9e4
lea esi, [esp + 0xc]
call fcn.10003cd9
cmp dword [eax + 0x18], 8
jb 0x1001d9b0
mov eax, dword [eax + 4]
jmp 0x1001d9b3
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001d9db
lea esi, [esp + 0xc]
call fcn.10003cd9
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push eax
lea edi, [esp + 0x28]
call fcn.10002873
lea esi, [esp + 0xc]
call fcn.10003d04
lea edi, [esp + 0x14]
lea esi, [esp + 0xc]
call fcn.10003d33
test al, al
jne 0x1001d99c
cmp dword [esp + 0x34], 0
jne 0x1001da33
mov esi, 0x44e
lea edi, [esp + 0x1c]
call fcn.100028fc
push dword [esp + 0x1c]
call fcn.1002adba
pop ecx
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.1002a90b
mov esp, ebp
pop ebp
ret
mov edi, ebx
call fcn.1000ce7a
mov esi, ebx
call fcn.1000d3c4
push ebx
push 0x100494f8
push 0x100494fc
lea ecx, [esp + 0x60]
call fcn.1000e35e
add esp, 0xc
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
jmp 0x1001dad7
lea esi, [esp + 0xc]
call fcn.10003cd9
cmp dword [eax + 0x18], 8
jb 0x1001da90
mov eax, dword [eax + 4]
jmp 0x1001da93
add eax, 4
push eax
push str.___s_
lea ecx, [esp + 0x40]
call fcn.1000e35e
pop ecx
pop ecx
push 0xffffffffffffffff
push 0
lea esi, [esp + 0x5c]
mov byte [esp + 0x88], 2
call fcn.10003d50
push 0
push 1
lea esi, [esp + 0x40]
mov byte [esp + 0x88], 1
call fcn.10002807
lea esi, [esp + 0xc]
call fcn.10003d04
lea edi, [esp + 0x14]
lea esi, [esp + 0xc]
call fcn.10003d33
test al, al
jne 0x1001da7c
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push ebx
call esi
test eax, eax
je 0x1001db17
push 0x10047958
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1001db17
push str.__md1M
lea eax, [esp + 0x58]
push eax
call fcn.10008205
push 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
call fcn.10002d6f
mov byte [esp + 0x80], 4
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x1001db41
lea eax, [esp + 0x58]
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.1001d52e
pop ecx
pop ecx
push 0
push 1
lea ecx, [esp + 0x40]
mov edi, eax
call fcn.1000270f
test edi, edi
je 0x1001db68
mov esi, ebx
call fcn.1000d3c4
push 0
push 1
lea esi, [esp + 0x5c]
call fcn.10002807
mov esi, edi
jmp 0x1001da01
Function at 0x1001db7c
Capabilities:
Check if file exists

Disassembly:
push 0xa4
mov eax, 0x10041bbd
call fcn.1002b85a
mov esi, ecx
mov edi, edx
push esi
mov dword [ebp - 0x60], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001dba7
mov eax, 0x44f
jmp 0x1001dd31
push esi
call fcn.1001d59a
pop ecx
test eax, eax
je 0x1001dbc0
mov edx, edi
mov ecx, esi
call fcn.1001d72e
jmp 0x1001dd31
push esi
push 0x100494f8
push str.__s__l___s_
lea ecx, [ebp - 0x4c]
call fcn.1000e35e
add esp, 0xc
xor edi, edi
mov dword [ebp - 4], edi
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
call fcn.10002d6f
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x1001dbfb
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.1001d52e
pop ecx
pop ecx
mov dword [ebp - 0x5c], eax
cmp eax, edi
jne 0x1001dd18
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x1001dc1e
lea eax, [ebp - 0x2c]
push 0x10049548
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.1000e091
add esp, 0xc
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x6c]
mov dword [ebp - 0x50], edi
cmp esi, dword [ebp - 0x68]
jbe 0x1001dc44
call fcn.1002ad80
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], esi
mov esi, dword [ebp - 0x68]
cmp dword [ebp - 0x6c], esi
jbe 0x1001dc5a
call fcn.1002ad80
mov eax, dword [ebp - 0x58]
cmp eax, edi
je 0x1001dc66
cmp eax, dword [ebp - 0x78]
je 0x1001dc6b
call fcn.1002ad80
cmp dword [ebp - 0x54], esi
je 0x1001dd07
lea esi, [ebp - 0x58]
call fcn.100023ad
push eax
call fcn.1001dec1
test eax, eax
jne 0x1001dc8b
inc dword [ebp - 0x50]
jmp 0x1001dcfa
cmp dword [ebp - 0x50], 1
jne 0x1001dcf4
lea esi, [ebp - 0x58]
call fcn.100023ad
cmp dword [eax + 0x14], 0x35
jbe 0x1001dcfa
call fcn.100023ad
push 0xffffffffffffffff
push 0x35
push eax
lea esi, [ebp - 0xb0]
call fcn.1001dedf
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.1000ca10
pop ecx
push eax
mov eax, dword [ebp - 0x60]
mov byte [ebp - 4], 6
call fcn.1000ea86
push edi
push 1
lea esi, [ebp - 0x94]
call fcn.10002807
push edi
push 1
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.1000270f
jmp 0x1001dcfa
cmp dword [ebp - 0x50], 2
je 0x1001dd07
lea esi, [ebp - 0x58]
call fcn.10002276
jmp 0x1001dc4d
lea esi, [ebp - 0x78]
call fcn.1000284e
push dword [ebp - 0x78]
call fcn.1002adba
pop ecx
push edi
push 1
lea ecx, [ebp - 0x30]
call fcn.1000270f
push edi
push 1
lea esi, [ebp - 0x4c]
call fcn.10002807
mov eax, dword [ebp - 0x5c]
call fcn.1002b8dd
ret
Function at 0x1001dd37
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
push esi
push edi
mov dword [ebp - 4], 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
lea edi, [ebp - 0x14]
lea esi, [ebp - 0xc]
mov dword [ebp - 0x14], eax
call fcn.10009021
test al, al
jne 0x1001dddc
call fcn.1000928a
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x1001dd80
mov eax, dword [eax + 4]
jmp 0x1001dd83
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001ddcb
lea esi, [ebp - 0xc]
call fcn.1000928a
cmp dword [eax + 0x18], 8
jb 0x1001dda1
mov edi, dword [eax + 4]
jmp 0x1001dda4
lea edi, [eax + 4]
lea esi, [ebp - 0xc]
call fcn.1000928a
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x1001ddba
mov eax, dword [eax + 4]
jmp 0x1001ddbd
add eax, 4
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1001ddcf
and dword [ebp - 4], 0
lea esi, [ebp - 0xc]
call fcn.1000c3c5
jmp 0x1001dd53
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x1001dde3
Capabilities:
Check if file exists

Disassembly:
push 0x5c
mov eax, 0x10042320
call fcn.1002b85a
mov esi, ecx
push esi
mov edi, edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001de08
mov eax, 0x44f
jmp 0x1001debb
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1001de1d
mov eax, 0x450
jmp 0x1001debb
push esi
call fcn.1001d59a
pop ecx
test eax, eax
je 0x1001de36
push edi
mov ecx, esi
call fcn.1001d85c
pop ecx
jmp 0x1001debb
lea eax, [ebp - 0x68]
push eax
call fcn.1000ecb2
push edi
push esi
push 0x100494f8
xor ebx, ebx
push str.__s__x___s___r__o__s___y
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.1000e35e
add esp, 0x10
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
call fcn.10002d6f
mov byte [ebp - 4], 7
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1001de7b
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.1001d52e
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x48]
mov edi, eax
call fcn.1000270f
cmp edi, ebx
je 0x1001dea0
lea ebx, [ebp - 0x68]
call fcn.1001dd37
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.10002807
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x68]
push eax
call fcn.1000ece8
mov eax, edi
call fcn.1002b8dd
ret

Function at 0x1001e457
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x1001e468
mov eax, dword [eax + 4]
jmp 0x1001e46b
add eax, 4
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
push str.Softwareprojonepodlpkeyrule_secClass_
push 0x80000002
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x1001e4a1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
call fcn.1000e416
leave
ret
xor eax, eax
leave
ret
Function at 0x1001eef2
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10053060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push edi
xor ebx, ebx
inc ebx
push ebx
mov edi, ecx
push edi
push eax
mov dword [ebp - 0x24], eax
call esi
test eax, eax
jne 0x1001efbc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1001ef4e
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001ef45
and eax, 0xfffffffe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push edi
push dword [ebp - 0x24]
call esi
jmp 0x1001efbe
call fcn.1000d602
push eax
push edi
push str._s._08x
lea ecx, [ebp - 0x20]
call fcn.1000e35e
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [ebp - 8], 8
jae 0x1001ef71
lea eax, [ebp - 0x1c]
push ebx
push eax
push edi
call esi
test eax, eax
je 0x1001efb8
push ebx
push edi
push dword [ebp - 0x24]
call esi
test eax, eax
je 0x1001efa7
cmp dword [ebp - 8], 8
mov esi, dword [ebp - 0x1c]
jae 0x1001ef91
lea esi, [ebp - 0x1c]
call fcn.1000d3c4
mov edi, ebx
push 0
push ebx
lea esi, [ebp - 0x20]
call fcn.10002807
mov eax, edi
jmp 0x1001efbe
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x1001efb3
lea eax, [ebp - 0x1c]
push ebx
push edi
push eax
call esi
xor edi, edi
jmp 0x1001ef98
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002a90b
leave
ret

Function at 0x1001efed
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10053060]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp esi, edi
je 0x1001f0a1
push esi
call fcn.1001f7f0
pop ecx
test eax, eax
je 0x1001f0a1
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.1002cd00
add esp, 0xc
call fcn.1000d602
push eax
push esi
push str._s._08x
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
push esi
call fcn.1001efcd
pop ecx
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.1001ed91
pop ecx
pop ecx
test eax, eax
je 0x1001f094
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call fcn.1001eef2
pop ecx
test eax, eax
jne 0x1001f0b0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 5
jl 0x1001f073
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1002a90b
leave
ret
xor eax, eax
inc eax
jmp 0x1001f0a3