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

Disassembly:
sub esp, 0x294
mov eax, dword [0x102bff3c]
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 0x1003698e
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 0x10036978
mov eax, dword [esp + 0x2ac]
mov dword [0x102cb054], eax
mov eax, dword [esp + 0x2b4]
mov dword [0x102cb058], eax
mov eax, dword [esp + 0x2b0]
push 0xa
mov dword [0x102cb05c], eax
call fcn.1002a528
pop ecx
push eax
lea ecx, [esp + 0x14]
call fcn.1001f510
push 0xb
call fcn.1002a528
pop ecx
push eax
lea ecx, [esp + 0x24]
call fcn.1001f510
push 0xc
call fcn.1002a528
push eax
call fcn.101e4160
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 0x10036a3a
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.1000c7d0
lea esi, [eax + 0x10]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x18], esi
push eax
call fcn.1000c7d0
pop ecx
pop ecx
lea edi, [eax + 0x10]
lea eax, [esp + 0x50]
mov dword [esp + 0x2c], edi
push eax
push 0x10239de0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10026709
add esp, 0xc
mov ecx, eax
call fcn.10011f70
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [esp + 0x24]
mov ebx, eax
add ecx, 0xfffffff0
call fcn.1000dde0
cmp ebx, 0xffffffff
je 0x10036bee
mov ecx, 0x10239de8
lea eax, [esp + 0x7c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10036ad4
test dx, dx
je 0x10036ad0
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10036ad4
add eax, 4
add ecx, 4
test dx, dx
jne 0x10036aae
mov eax, ebp
jmp 0x10036ad9
sbb eax, eax
or eax, 1
test eax, eax
je 0x10036baf
mov ecx, 0x10239dec
lea eax, [esp + 0x7c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10036b10
test dx, dx
je 0x10036b0c
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10036b10
add eax, 4
add ecx, 4
test dx, dx
jne 0x10036aea
mov eax, ebp
jmp 0x10036b15
sbb eax, eax
or eax, 1
test eax, eax
je 0x10036baf
lea eax, [esp + 0x7c]
push eax
push str.001
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10026709
add esp, 0xc
push eax
lea eax, [esp + 0x24]
push eax
call fcn.10026709
mov ecx, dword [esp + 0x34]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.1000dde0
lea eax, [esp + 0x7c]
push eax
push 0x10239df8
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.10026709
add esp, 0xc
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10026709
mov ecx, dword [esp + 0x3c]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.1000dde0
push dword [esp + 0x18]
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.1000dde0
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.1000dde0
lea eax, [esp + 0x50]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10036aa5
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], 1
jle 0x10036bdd
push dword [eax - 0xc]
lea ecx, [esp + 0x14]
call fcn.1000d3e0
mov eax, dword [esp + 0x10]
push eax
call fcn.10198810
pop ecx
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [edi - 0x10]
call fcn.1000dde0
lea ecx, [esi - 0x10]
call fcn.1000dde0
mov ecx, dword [esp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.1000dde0
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.1000dde0
mov ecx, dword [esp + 0x2a0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b70aa
add esp, 0x294
ret