Function at 0x102fe61
Capabilities:
Delete directory
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc64
mov eax, dword [0x1046190]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push edi
push esi
push 0xa28
push esi
push 5
mov dword [ebp - 0xc38], esi
mov dword [ebp - 0xc58], esi
mov dword [ebp - 0xc50], esi
mov dword [ebp - 0xc5c], esi
call fcn.01034068
mov dword [ebp - 0xc64], eax
mov dword [ebp - 0xc60], esi
mov dword [ebp - 0xc30], esi
call fcn.0103295c
xor edi, edi
inc edi
cmp eax, 6
jne 0x102fece
call fcn.010309f6
test eax, eax
je 0x102fece
mov dword [ebp - 0xc60], edi
push esi
push esi
push esi
push 6
call fcn.01034068
test eax, eax
je 0x102fee9
call fcn.010363d6
test eax, eax
jne 0x1030867
call fcn.0102f91e
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
push edi
call fcn.0102f521
cmp dword [ebp - 0xc64], esi
mov edi, 0x104
je 0x102ff66
push edi
lea eax, [ebp - 0xc2c]
push eax
call fcn.01033bb5
test eax, eax
je 0x102ff83
push 0x9b
lea eax, [ebp - 0xc2c]
push eax
push 0x10063c4
lea eax, [ebp - 0x81c]
push 0xff
push eax
call fcn.01028b64
add esp, 0x14
test eax, eax
jl 0x102ff83
push 0x82
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
cmp eax, esi
pop ecx
mov dword [ebp - 0xc5c], eax
je 0x102ff83
push 0x10061ac
push 0x40
push eax
call fcn.01028a67
jmp 0x102ff83
push 0x100
lea eax, [ebp - 0x81c]
push eax
push 0xa0
push dword [0x1047500]
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
push 0x1004e00
mov ebx, 0x208
push ebx
lea eax, [ebp - 0x414]
push eax
call fcn.01028aa1
push edi
push esi
push esi
push esi
push 6
call fcn.01034068
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.01034382
test eax, eax
je 0x1030860
lea eax, [ebp - 0x20c]
push eax
call fcn.01032458
push 0x1002f14
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.01028adc
lea eax, [ebp - 0x20c]
push eax
call fcn.010326f3
test eax, eax
je 0x10300bb
push ebx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
cmp eax, esi
pop ecx
mov dword [ebp - 0xc50], eax
je 0x103002c
lea eax, [ebp - 0xc30]
push eax
push dword [ebp - 0xc50]
mov dword [ebp - 0xc30], ebx
call fcn.01030c66
test eax, eax
jne 0x103002c
push dword [ebp - 0xc50]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [ebp - 0xc50], esi
cmp dword [ebp - 0xc60], esi
jne 0x10300eb
push ebx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
cmp eax, esi
pop ecx
mov dword [ebp - 0xc38], eax
je 0x1030078
lea eax, [ebp - 0xc30]
push eax
push dword [ebp - 0xc38]
mov dword [ebp - 0xc30], ebx
push esi
call fcn.01030b7b
test eax, eax
jne 0x1030078
push dword [ebp - 0xc38]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [ebp - 0xc38], esi
push ebx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
cmp eax, esi
pop ecx
mov dword [ebp - 0xc58], eax
je 0x10300eb
lea eax, [ebp - 0xc30]
push eax
push dword [ebp - 0xc58]
mov dword [ebp - 0xc30], ebx
push 1
call fcn.01030b7b
test eax, eax
jne 0x10300eb
push dword [ebp - 0xc58]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [ebp - 0xc58], esi
jmp 0x10300eb
push edi
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01034382
test eax, eax
je 0x10300eb
lea eax, [ebp - 0x20c]
push eax
call fcn.01032458
push 0x1002f30
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.01028adc
push ebx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
cmp eax, esi
pop ecx
mov dword [ebp - 0xc40], eax
je 0x103013a
lea eax, [ebp - 0xc30]
push eax
push dword [ebp - 0xc40]
mov dword [ebp - 0xc30], edi
push esi
call fcn.010310cc
test eax, eax
je 0x1030128
push dword [ebp - 0xc40]
call fcn.01033ed9
test eax, eax
jne 0x103013a
push dword [ebp - 0xc40]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [ebp - 0xc40], esi
push ebx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
cmp eax, esi
pop ecx
mov dword [ebp - 0xc54], eax
je 0x103018a
lea eax, [ebp - 0xc30]
push eax
push dword [ebp - 0xc54]
mov dword [ebp - 0xc30], edi
push 1
call fcn.010310cc
test eax, eax
je 0x1030178
push dword [ebp - 0xc54]
call fcn.01033ed9
test eax, eax
jne 0x103018a
push dword [ebp - 0xc54]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [ebp - 0xc54], esi
push ebx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
cmp eax, esi
pop ecx
mov dword [ebp - 0xc48], eax
je 0x10301da
push 4
lea eax, [ebp - 0xc30]
push eax
push dword [ebp - 0xc48]
mov dword [ebp - 0xc30], edi
call fcn.0103103f
test eax, eax
je 0x10301c8
push dword [ebp - 0xc48]
call fcn.01033ed9
test eax, eax
jne 0x10301da
push dword [ebp - 0xc48]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [ebp - 0xc48], esi
push ebx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
cmp eax, esi
pop ecx
mov dword [ebp - 0xc44], eax
je 0x1030229
push esi
lea eax, [ebp - 0xc30]
push eax
push dword [ebp - 0xc44]
mov dword [ebp - 0xc30], edi
call fcn.01031190
test eax, eax
je 0x1030217
push dword [ebp - 0xc44]
call fcn.01033ed9
test eax, eax
jne 0x1030229
push dword [ebp - 0xc44]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [ebp - 0xc44], esi
push ebx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
cmp eax, esi
pop ecx
mov dword [ebp - 0xc3c], eax
je 0x1030278
push esi
lea eax, [ebp - 0xc30]
push eax
push dword [ebp - 0xc3c]
mov dword [ebp - 0xc30], edi
call fcn.010312f0
test eax, eax
je 0x1030266
push dword [ebp - 0xc3c]
call fcn.01033ed9
test eax, eax
jne 0x1030278
push dword [ebp - 0xc3c]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [ebp - 0xc3c], esi
push ebx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
cmp eax, esi
pop ecx
mov dword [ebp - 0xc4c], eax
je 0x10302c8
push 1
lea eax, [ebp - 0xc30]
push eax
push dword [ebp - 0xc4c]
mov dword [ebp - 0xc30], edi
call fcn.01031190
test eax, eax
je 0x10302b6
push dword [ebp - 0xc4c]
call fcn.01033ed9
test eax, eax
jne 0x10302c8
push dword [ebp - 0xc4c]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [ebp - 0xc4c], esi
push ebx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
cmp eax, esi
pop ecx
mov dword [ebp - 0xc34], eax
je 0x1030318
push 1
lea eax, [ebp - 0xc30]
push eax
push dword [ebp - 0xc34]
mov dword [ebp - 0xc30], edi
call fcn.010312f0
test eax, eax
je 0x1030306
push dword [ebp - 0xc34]
call fcn.01033ed9
test eax, eax
jne 0x1030318
push dword [ebp - 0xc34]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [ebp - 0xc34], esi
push esi
push dword [ebp - 0xc44]
call fcn.0102e619
push esi
push dword [ebp - 0xc3c]
call fcn.0102e619
cmp dword [ebp - 0xc60], esi
jne 0x1030350
push esi
push dword [ebp - 0xc38]
call fcn.0102e619
push esi
push dword [ebp - 0xc58]
call fcn.0102e619
push esi
push dword [ebp - 0xc48]
call fcn.0102e619
push esi
push dword [ebp - 0xc54]
call fcn.0102e619
push esi
push dword [ebp - 0xc4c]
call fcn.0102e619
push esi
push dword [ebp - 0xc34]
call fcn.0102e619
call fcn.0102ed76
cmp dword [ebp - 0xc60], esi
jne 0x1030398
push dword [ebp - 0xc38]
call fcn.01032458
push dword [ebp - 0xc44]
call fcn.01032458
push dword [ebp - 0xc3c]
call fcn.01032458
push dword [ebp - 0xc40]
call fcn.01032458
push dword [ebp - 0xc48]
call fcn.01032458
cmp dword [ebp - 0xc4c], esi
mov edi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
je 0x10303fe
push dword [ebp - 0xc4c]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
push esi
je 0x10303ef
push dword [ebp - 0xc4c]
push 5
push 0x10
jmp 0x10303fc
push dword [ebp - 0xc34]
push 5
push 0x1000
call edi
cmp dword [ebp - 0xc34], esi
je 0x1030458
push dword [ebp - 0xc34]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
push esi
push dword [ebp - 0xc34]
push 5
je 0x1030451
push 0x10
call edi
push dword [ebp - 0xc34]
call fcn.01032458
push 0x1006240
push 0x104
push dword [ebp - 0xc34]
call fcn.01028adc
push dword [ebp - 0xc34]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1030458
push 0x1000
call edi
cmp dword [ebp - 0xc4c], esi
je 0x103046c
push dword [ebp - 0xc4c]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
cmp dword [ebp - 0xc34], esi
je 0x1030480
push dword [ebp - 0xc34]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
cmp dword [ebp - 0xc54], esi
je 0x1030494
push dword [ebp - 0xc54]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
cmp dword [ebp - 0xc58], esi
je 0x10304a8
push dword [ebp - 0xc58]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
call fcn.010309f6
test eax, eax
jne 0x10304c3
call fcn.0103871f
test eax, eax
je 0x10304c3
cmp dword [ebp + 8], esi
je 0x1030676
push 0x104
lea eax, [ebp - 0x414]
push eax
call fcn.0102f22b
lea eax, [ebp - 0x20c]
push eax
call fcn.0102f11c
push esi
push esi
push esi
push 6
call fcn.01034068
test eax, eax
je 0x10304f5
push 0x1004e00
jmp 0x10304fc
lea eax, [ebp - 0x414]
push eax
push ebx
lea eax, [ebp - 0xa24]
push eax
call fcn.01028aa1
cmp dword [ebp - 0xc40], esi
je 0x1030572
push esi
mov ebx, 0x10052e8
push ebx
call fcn.01032ed4
test eax, eax
je 0x103055a
call fcn.0102fd47
push 4
push esi
push esi
push esi
push dword [ebp - 0xc5c]
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xa24]
push eax
push dword [ebp - 0xc40]
lea eax, [ebp - 0x20c]
push eax
call fcn.0102f29e
jmp 0x1030572
push 1
push ebx
call fcn.01032ed4
test eax, eax
jne 0x1030572
push esi
push dword [ebp - 0xc40]
call fcn.0102e619
mov ebx, dword [ebp - 0xc50]
cmp ebx, esi
je 0x10305cc
push esi
push 0x10052c0
call fcn.01032ed4
test eax, eax
push esi
push ebx
je 0x10305c7
call fcn.0102e619
push ebx
call fcn.01032458
push 4
push esi
push esi
push esi
push dword [ebp - 0xc5c]
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xa24]
push eax
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.0102f29e
jmp 0x10305cc
call fcn.0102e619
cmp dword [ebp - 0xc38], esi
je 0x1030676
push 1
push 0x1006394
call fcn.01032ed4
test eax, eax
je 0x103063c
cmp dword [ebp - 0xc60], esi
jne 0x1030676
push 4
push esi
push esi
push esi
push dword [ebp - 0xc5c]
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xa24]
push eax
push dword [ebp - 0xc38]
lea eax, [ebp - 0x20c]
push eax
call fcn.0102f29e
cmp eax, esi
jge 0x1030676
push eax
push 0x1006358
push 2
call fcn.01036b8b
add esp, 0xc
jmp 0x1030676
cmp dword [ebp - 0xc3c], esi
je 0x1030676
push 4
push esi
push esi
push esi
push dword [ebp - 0xc5c]
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xa24]
push eax
push dword [ebp - 0xc3c]
lea eax, [ebp - 0x20c]
push eax
call fcn.0102f29e
cmp dword [ebp - 0xc64], esi
je 0x1030730
cmp dword [ebp - 0xc38], esi
je 0x1030730
push dword [ebp - 0xc38]
lea eax, [ebp - 0x61c]
push 0x103
push eax
call fcn.01028a67
test eax, eax
jl 0x1030730
lea eax, [ebp - 0x61c]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
cmp eax, esi
pop ecx
pop ecx
je 0x1030730
mov word [eax + 2], si
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x20c]
push eax
push 4
push dword [0x1047500]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x1030730
lea eax, [ebp - 0x20c]
push eax
push ebx
lea eax, [ebp - 0x61c]
push eax
call fcn.01028adc
test eax, eax
jl 0x1030730
push 0x10062ec
push ebx
lea eax, [ebp - 0x61c]
push eax
call fcn.01028adc
test eax, eax
jl 0x1030730
lea eax, [ebp - 0x61c]
push eax
call fcn.010326f3
test eax, eax
je 0x1030730
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0xc40], esi
mov ebx, 0x1000
je 0x1030749
push esi
push dword [ebp - 0xc40]
push 5
push ebx
call edi
cmp dword [ebp - 0xc44], esi
je 0x103076a
push dword [ebp - 0xc44]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
push dword [ebp - 0xc44]
push 5
push 0x10
call edi
cmp dword [ebp - 0xc3c], esi
je 0x103078b
push dword [ebp - 0xc3c]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
push dword [ebp - 0xc3c]
push 5
push 0x10
call edi
cmp dword [ebp - 0xc48], esi
je 0x10307ac
push dword [ebp - 0xc48]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
push dword [ebp - 0xc48]
push 5
push 0x10
call edi
cmp dword [ebp - 0xc50], esi
je 0x10307c0
push esi
push dword [ebp - 0xc50]
push 5
push ebx
call edi
cmp dword [ebp - 0xc38], esi
je 0x10307d4
push esi
push dword [ebp - 0xc38]
push 5
push ebx
call edi
cmp dword [ebp - 0xc50], esi
je 0x10307e8
push dword [ebp - 0xc50]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
cmp dword [ebp - 0xc38], esi
je 0x10307fc
push dword [ebp - 0xc38]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
cmp dword [ebp - 0xc48], esi
je 0x1030810
push dword [ebp - 0xc48]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
cmp dword [ebp - 0xc40], esi
je 0x1030824
push dword [ebp - 0xc40]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
cmp dword [ebp - 0xc44], esi
je 0x1030838
push dword [ebp - 0xc44]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
cmp dword [ebp - 0xc3c], esi
je 0x103084c
push dword [ebp - 0xc3c]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
cmp dword [ebp - 0xc5c], esi
je 0x1030860
push dword [ebp - 0xc5c]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01031a01
leave
ret 4