Function at 0x100350d7
Capabilities:
Delete directory
Enumerate files on windows
Move file

Disassembly:
sub esp, 0x294
mov eax, dword [0x1024bd20]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2a4]
push edi
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor ebp, ebp
lea edi, [esp + 0x38]
push 6
pop ecx
xor eax, eax
mov dword [esp + 0x34], ebp
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x1003512c
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push ebp
push ebp
push esi
lea eax, [esp + 0x44]
push eax
call edi
test eax, eax
jne 0x10035116
mov eax, dword [esp + 0x2ac]
mov dword [0x10255764], eax
mov eax, dword [esp + 0x2b4]
mov dword [0x10255768], eax
mov eax, dword [esp + 0x2b0]
push 0xa
mov dword [0x1025576c], eax
call fcn.10028633
pop ecx
push eax
lea ecx, [esp + 0x14]
call fcn.100224c2
push 0xb
call fcn.10028633
pop ecx
push eax
lea ecx, [esp + 0x24]
call fcn.100224c2
push 0xc
call fcn.10028633
push eax
call fcn.1017ce5f
pop ecx
pop ecx
push str.A61B76FF_760F_4F79_8BB3_88C9C13F28EB
push 1
push 0x1f0003
mov edi, eax
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebx
push edi
push ebp
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100351d8
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call ebx
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.1000af30
lea esi, [eax + 0x10]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x20], esi
push eax
call fcn.1000af30
pop ecx
pop ecx
lea edi, [eax + 0x10]
lea eax, [esp + 0x50]
mov dword [esp + 0x30], edi
push eax
push 0x101d6738
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10024277
add esp, 0xc
mov ecx, eax
call fcn.100102f0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [esp + 0x24]
mov ebx, eax
add ecx, 0xfffffff0
call fcn.1000c230
cmp ebx, 0xffffffff
je 0x1003538c
mov ecx, 0x101d6740
lea eax, [esp + 0x7c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10035272
test dx, dx
je 0x1003526e
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10035272
add eax, 4
add ecx, 4
test dx, dx
jne 0x1003524c
mov eax, ebp
jmp 0x10035277
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003534d
mov ecx, 0x101d6744
lea eax, [esp + 0x7c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100352ae
test dx, dx
je 0x100352aa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100352ae
add eax, 4
add ecx, 4
test dx, dx
jne 0x10035288
mov eax, ebp
jmp 0x100352b3
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003534d
lea eax, [esp + 0x7c]
push eax
push str.001:
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10024277
add esp, 0xc
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10024277
mov ecx, dword [esp + 0x38]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.1000c230
lea eax, [esp + 0x7c]
push eax
push 0x101d6750
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10024277
add esp, 0xc
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10024277
mov ecx, dword [esp + 0x34]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.1000c230
push dword [esp + 0x14]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.1000c230
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.1000c230
lea eax, [esp + 0x50]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10035243
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], 1
jle 0x1003537b
push dword [eax - 0xc]
lea ecx, [esp + 0x14]
call fcn.1000ba60
mov eax, dword [esp + 0x10]
push eax
call fcn.10156ff0
pop ecx
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [edi - 0x10]
call fcn.1000c230
lea ecx, [esi - 0x10]
call fcn.1000c230
mov ecx, dword [esp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.1000c230
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.1000c230
mov ecx, dword [esp + 0x2a0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1017868e
add esp, 0x294
ret