joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10073300
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015d803
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x820]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
call fcn.100805d0
push esi
push edi
push ebx
lea ecx, [ebp - 0x820]
mov dword [ebp - 4], 0
call fcn.10080980
test eax, eax
jne 0x10073362
xor esi, esi
jmp 0x1007349d
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x100734c8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push 1
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x820]
call fcn.10080b40
test eax, eax
je 0x10073479
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.100ec480
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x1017dd94
push dword [ebp - 0x814]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ecx, dword [0x101c6764]
test ecx, ecx
jne 0x10073451
mov eax, dword [vtable.CDHCriticalSection.0]
mov ecx, 0x101c02fc
mov dword [ebp - vtable.CDHCriticalSection.0], 0x101c02fc
call dword [eax + 4]
cmp dword [0x101c6764], 0
mov byte [ebp - 4], 2
jne 0x10073436
cmp dword [0x101c02f8], 0
je 0x10073436
push 0x20
call fcn.1002c7e0
add esp, 4
mov dword [ebp - 0x828], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x10073425
mov ecx, eax
call fcn.1005de00
jmp 0x10073427
xor eax, eax
mov dword [0x101c6764], eax
mov dword [0x101c02f8], 0
mov eax, dword [vtable.CDHCriticalSection.0]
mov ecx, 0x101c02fc
mov byte [ebp - 4], 4
call dword [eax + 8]
mov ecx, dword [0x101c6764]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x810]
push eax
call fcn.1005e160
test eax, eax
je 0x10073479
push 4
push 0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, 1
jmp 0x1007347b
xor esi, esi
mov edi, dword [ebp - 0x814]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1007349d
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x820]
call fcn.100805f0
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 - 0x10]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.10007270
int3
Function at 0x100734e0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015d846
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x824]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x818], eax
call fcn.100805d0
push esi
push edi
push ebx
lea ecx, [ebp - 0x824]
mov dword [ebp - 4], 0
call fcn.10080980
test eax, eax
jne 0x1007354b
xor edi, edi
jmp 0x10073644
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1007366f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push 0
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x824]
call fcn.10080b40
test eax, eax
je 0x10073620
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.100ec480
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x1017e8e4
push dword [ebp - 0x814]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x810]
push 1
push eax
call fcn.100440d0
add esp, 8
test eax, eax
je 0x10073620
lea eax, [ebp - 0x810]
push eax
call fcn.101470e0
mov ecx, dword [ebp - 0x818]
lea edx, [ebp - 0x810]
add esp, 4
lea esi, [edx + 2]
mov edi, eax
lea ecx, [ecx + 0x348]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100735f1
sub edx, esi
lea eax, [ebp - 0x810]
sar edx, 1
push edx
push eax
call fcn.1000adf0
push 4
push 0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x10073622
xor edi, edi
mov esi, dword [ebp - 0x814]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10073644
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x824]
call fcn.100805f0
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 - 0x10]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.10007270
int3
Function at 0x10073a50
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015d960
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x101c0618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
lea eax, [esi + 8]
push 1
push eax
call dword [ecx + 0x10]
cmp dword [ebp + 0xc], 1
jne 0x10073b1d
lea ecx, [esi + 0x1b4]
call fcn.10084a00
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.1000bc60
lea edi, [eax + 0x10]
mov dword [ebp + 0xc], edi
mov eax, dword [esi + 4]
sub eax, 0x10
mov dword [ebp - 4], 0
push eax
call fcn.1000bc60
add eax, 0x10
add esp, 8
mov dword [ebp + 8], eax
push str.FileList.xml
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.10012350
mov esi, dword [ebp + 8]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10073b01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x10073b1d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10073b50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015d990
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x101c0618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10073c2a
push esi
lea ecx, [ebp + 0xc]
call fcn.1000b130
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
or edi, 0xffffffff
test eax, eax
je 0x10073be9
mov eax, dword [ebp + 8]
add eax, 4
push 0x10179aa4
push eax
lea eax, [ebp + 8]
push eax
call fcn.10019d90
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.1000b6e0
mov edx, dword [ebp + 8]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10073be0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
lea ecx, [ebp + 0xc]
call fcn.10012350
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10073c0b
push 0xffffffffffffffff
push 0
push 0
push 1
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.10074fc0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x10073c2a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10073c40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
je 0x10073ca6
push esi
mov esi, dword [edx + 4]
test esi, esi
je 0x10073ca5
mov eax, esi
push ebx
lea ebx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10073c60
sub eax, ebx
sar eax, 1
je 0x10073ca4
mov ebx, dword [edx + 0xc]
mov ecx, ebx
lea eax, [ecx + 2]
mov dword [ebp + 0xc], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10073c80
sub ecx, dword [ebp + 0xc]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push dword [edx + 0x10]
push dword [edx + 8]
push esi
push dword [edx]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ebx
pop esi
pop ebp
ret 8
Function at 0x10074100
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x34], 0x53005c
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x34]
mov eax, 0x101c6ad4
mov dword [ebp - 0x30], 0x730079
push edi
mov dword [ebp - 0x2c], 0x650074
mov edx, 0x18
mov dword [ebp - 0x28], 0x33006d
sub esi, eax
mov dword [ebp - 0x24], 0x5c0032
mov dword [ebp - 0x20], 0x750072
mov dword [ebp - 0x1c], 0x64006e
mov dword [ebp - 0x18], 0x6c006c
mov dword [ebp - 0x14], 0x320033
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
lea ecx, [edx + 0x7fffffe6]
test ecx, ecx
je 0x10074192
movzx ecx, word [esi + eax]
test cx, cx
je 0x10074192
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10074174
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
mov word [ecx], ax
mov eax, 0x101c6ad4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret

Function at 0x100741c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x34], 0x53005c
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x34]
mov eax, 0x101c6aa4
mov dword [ebp - 0x30], 0x730079
mov dword [ebp - 0x2c], 0x4f0057
mov edx, 0x18
mov dword [ebp - 0x28], 0x360057
sub esi, eax
mov dword [ebp - 0x24], 0x5c0034
mov dword [ebp - 0x20], 0x750072
mov dword [ebp - 0x1c], 0x64006e
mov dword [ebp - 0x18], 0x6c006c
mov dword [ebp - 0x14], 0x320033
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
lea ecx, [edx + 0x7fffffe6]
test ecx, ecx
je 0x10074251
movzx ecx, word [esi + eax]
test cx, cx
je 0x10074251
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10074233
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x101c6aa4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret

Function at 0x10074280
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x34], 0x53005c
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x34]
mov eax, 0x101c6b04
mov dword [ebp - 0x30], 0x730079
push edi
mov dword [ebp - 0x2c], 0x650074
mov edx, 0x18
mov dword [ebp - 0x28], 0x33006d
sub esi, eax
mov dword [ebp - 0x24], 0x5c0032
mov dword [ebp - 0x20], 0x750072
mov dword [ebp - 0x1c], 0x64006e
mov dword [ebp - 0x18], 0x6c006c
mov dword [ebp - 0x14], 0x320033
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
lea ecx, [edx + 0x7fffffe6]
test ecx, ecx
je 0x10074312
movzx ecx, word [esi + eax]
test cx, cx
je 0x10074312
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x100742f4
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
mov word [ecx], ax
mov eax, 0x101c6b04
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret
Function at 0x10074380
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100743f8
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 2
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret

Function at 0x100747e0
Capabilities:
Check os version

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x101c0398]
test ecx, ecx
js 0x10074828
xor eax, eax
test ecx, ecx
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x118
xorps xmm0, xmm0
mov dword [0x101c0398], 0
lea eax, [ebp - 0x124]
movaps xmmword [ebp - 0x160], xmm0
push 0
push eax
movaps xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x140], 0
call fcn.100ec480
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x10074899
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100748f0
push str.GetNativeSystemInfo
push 0x10175b84
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100748f0
lea ecx, [ebp - 0x160]
push ecx
call eax
mov ax, word [ebp - 0x160]
cmp ax, 9
je 0x100748d0
cmp ax, 6
jne 0x100748f0
mov dword [0x101c0398], 1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10074c80
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101acd98
push 0x100ecb90
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x4a14
call fcn.100b4660
mov eax, dword [0x101c0618]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x4a2c], esi
test esi, esi
je 0x10074e5c
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10074cd6
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x10074e5c
mov dword [ebp - 4], 0
call fcn.10074380
mov dword [ebp - 4], 0xfffffffe
jmp 0x10074d1c
push 0x800
push 0
lea eax, [ebp - 0xa24]
push eax
call fcn.100ec480
mov dword [ebp - 0x4a28], 0
push 0x4000
push 0
lea eax, [ebp - 0x4a24]
push eax
call fcn.100ec480
add esp, 0x18
lea eax, [ebp - 0x4a28]
push eax
push 0x1000
lea eax, [ebp - 0x4a24]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x10074e5c
lea eax, [ebp - 0x4a28]
push eax
push dword [ebp - 0x4a28]
lea eax, [ebp - 0x4a24]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x10074e5c
push 0x104
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.1010b4c8
lea eax, [ebp - 0x224]
push eax
call fcn.1010b3f4
add esp, 0x10
xor esi, esi
cmp dword [ebp - 0x4a28], esi
jbe 0x10074e5c
nop
push 0x400
lea eax, [ebp - 0xa24]
push eax
push dword [ebp + esi*4 - 0x4a24]
call fcn.100744b0
add esp, 0xc
test eax, eax
je 0x10074e4f
lea eax, [ebp - 0xa24]
push eax
call fcn.1010b3f4
add esp, 4
lea ecx, [ebp - 0xa24]
lea eax, [ebp - 0x224]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10074e26
test dx, dx
je 0x10074e22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10074e26
add eax, 4
add ecx, 4
test dx, dx
jne 0x10074e00
xor eax, eax
jmp 0x10074e2b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10074e4f
push dword [ebp + esi*4 - 0x4a24]
call fcn.10075160
lea eax, [ebp - 0xa24]
push eax
push str.Kill_process:__s
call fcn.1004a190
add esp, 8
inc esi
cmp esi, dword [ebp - 0x4a28]
jb 0x10074dc0
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 4
Function at 0x10074fc0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101acdd8
push 0x100ecb90
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x101c0618]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
test esi, esi
je 0x10075136
cmp word [esi], 0
je 0x10075136
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10075020
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x10075136
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10075136
push 0x800
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.100ec480
push esi
push 0x10179dec
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call fcn.10045bf0
push 0x3c
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.100ec480
add esp, 0x28
mov dword [ebp - 0x858], 0x3c
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x84c], 0x101750a4
mov dword [ebp - 0x844], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x854], 0x440
cmp dword [ebp + 0x14], 0
je 0x100750d5
push 1
push esi
call fcn.100440d0
add esp, 8
test eax, eax
je 0x10075136
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x100750fd
cmp dword [ebp + 0x18], 0
je 0x100750fd
push dword [ebp + 0x20]
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x10075112
test esi, esi
je 0x10075122
push edi
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x10075122
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x1007513f
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x10075160
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x1007517c
pop edi
pop ebp
ret 4
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
pop ebp
ret 4
Function at 0x10075360
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.100b4660
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x10075390
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret
push 0x2000
xorps xmm0, xmm0
mov dword [ebp - 0x200c], 0
lea eax, [ebp - 0x2004]
movq qword [ebp - 0x2014], xmm0
push 0
movups xmmword [ebp - 0x2024], xmm0
push eax
mov word [ebp - 0x2008], 0
mov dword [ebp - 0x2020], 3
call fcn.100ec480
push 0x1000
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.1010b4c8
lea eax, [ebp - 0x2004]
add esp, 0x18
mov dword [ebp - 0x201c], eax
mov eax, 0x614
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2024]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.100b4568
mov esp, ebp
pop ebp
ret
Function at 0x10075420
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10075633
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10075633
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10075453
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x10075633
push ebx
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, 1
push 0
push eax
call fcn.100ec480
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.100ec480
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
add esp, 0x18
push esi
push eax
call ebx
push 0x10179f5c
lea eax, [ebp - 0x414]
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100754d4
test al, 1
je 0x100754d4
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x668], eax
cmp eax, 0xffffffff
je 0x10075619
lea ecx, [ebp - 0x664]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1007560d
nop dword [eax]
test byte [ebp - 0x664], 0x10
je 0x10075588
cmp word [ebp - 0x638], 0x2e
jne 0x10075547
mov ax, word [ebp - 0x636]
test ax, ax
je 0x100755f2
cmp ax, 0x2e
jne 0x10075547
cmp word [ebp - 0x634], 0
je 0x100755f2
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100ec480
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call ebx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.10075420
add esp, 4
jmp 0x100755f0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100ec480
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call ebx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100755df
test al, 1
je 0x100755df
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
and edi, eax
lea eax, [ebp - 0x664]
push eax
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10075510
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
and eax, edi
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100b4568
mov esp, ebp
pop ebp
ret
Function at 0x10075650
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1007568d
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1007568d
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x10075688
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1007568d
xor eax, eax
pop esi
pop ebp
ret
mov eax, 1
pop esi
pop ebp
ret