Function at 0x10033c90
Capabilities:
Delete file
Move file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b8a6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x100a70c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x60], esi
xor eax, eax
mov dword [ebp - 0x6c], eax
cmp dword [esi + 0x14], 7
mov dword [ebp - 0x5c], eax
mov eax, esi
jbe 0x10033ce5
mov eax, dword [esi]
push 0
push eax
call fcn.10073ca6
add esp, 8
cmp eax, 0xffffffff
je 0x10034120
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], 7
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x44], ax
mov dword [ebp - 4], eax
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x10033d3c
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x10033d30
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x44]
push eax
call fcn.1001d110
push 4
push str..old
lea ecx, [ebp - 0x44]
call fcn.1001d220
push 0
mov byte [ebp - 4], 1
call fcn.1006dd90
push eax
mov dword [ebp - 0x64], edx
call fcn.10073b66
xor eax, eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x2c], ax
xor edi, edi
mov eax, dword [ebp - 0x5c]
add esp, 8
mov esi, dword [ebp - 0x2c]
or eax, 1
mov ecx, 7
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x4c], edi
nop
call fcn.10073b45
mov ecx, 0x18
cdq
idiv ecx
mov ecx, dword [ebp - 0x18]
add edx, 0x61
movzx edx, dx
mov dword [ebp - 0x54], edx
cmp edi, ecx
jae 0x10033dd2
lea eax, [edi + 1]
cmp ecx, 7
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmova eax, esi
xor ecx, ecx
mov word [eax + edi*2], dx
mov word [eax + edi*2 + 2], cx
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x2c]
jmp 0x10033ec7
mov edx, edi
mov eax, 0x7ffffffe
sub eax, edx
mov dword [ebp - 0x64], edx
cmp eax, 1
jb 0x1003413e
mov eax, ecx
lea edi, [edx + 1]
mov ecx, edi
mov dword [ebp - 0x48], eax
or ecx, 7
cmp ecx, 0x7ffffffe
jbe 0x10033e03
mov ecx, 0x7ffffffe
jmp 0x10033e24
mov edx, eax
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp dword [ebp - 0x48], eax
jbe 0x10033e1a
mov ecx, 0x7ffffffe
jmp 0x10033e24
mov eax, dword [ebp - 0x48]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10003ca0
mov ecx, eax
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x50]
add esp, 8
cmp dword [ebp - 0x48], 7
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x58], ecx
lea edx, [eax + eax]
lea eax, [edx + ecx]
mov dword [ebp - 0x50], eax
push edx
jbe 0x10033ea5
push esi
push ecx
call fcn.100653a0
mov eax, dword [ebp - 0x50]
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov word [eax], cx
xor ecx, ecx
mov word [eax + 2], cx
mov eax, dword [ebp - 0x48]
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x10033e99
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10034143
push ecx
push esi
call fcn.10063694
add esp, 8
jmp 0x10033ec1
lea eax, [ebp - 0x2c]
push eax
push ecx
call fcn.100653a0
mov eax, dword [ebp - 0x50]
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov word [eax], cx
xor ecx, ecx
mov word [eax + 2], cx
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp eax, 3
jl 0x10033d90
call fcn.10073b45
test al, 1
jne 0x10034028
call fcn.10073b45
mov ecx, 0x18
cdq
idiv ecx
mov ecx, dword [ebp - 0x18]
add edx, 0x61
movzx edx, dx
mov dword [ebp - 0x58], edx
cmp edi, ecx
jae 0x10033f26
lea eax, [edi + 1]
cmp ecx, 7
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmova eax, esi
xor ecx, ecx
mov word [eax + edi*2], dx
mov word [eax + edi*2 + 2], cx
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x2c]
jmp 0x1003401b
mov edx, edi
mov eax, 0x7ffffffe
sub eax, edx
mov dword [ebp - 0x64], edx
cmp eax, 1
jb 0x1003413e
mov eax, ecx
lea edi, [edx + 1]
mov ecx, edi
mov dword [ebp - 0x48], eax
or ecx, 7
cmp ecx, 0x7ffffffe
jbe 0x10033f57
mov ecx, 0x7ffffffe
jmp 0x10033f78
mov edx, eax
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp dword [ebp - 0x48], eax
jbe 0x10033f6e
mov ecx, 0x7ffffffe
jmp 0x10033f78
mov eax, dword [ebp - 0x48]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10003ca0
mov ecx, eax
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x4c]
add esp, 8
cmp dword [ebp - 0x48], 7
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x54], ecx
lea edx, [eax + eax]
lea eax, [edx + ecx]
mov dword [ebp - 0x4c], eax
push edx
jbe 0x10033ff9
push esi
push ecx
call fcn.100653a0
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov ecx, dword [ebp - 0x58]
mov word [eax], cx
xor ecx, ecx
mov word [eax + 2], cx
mov eax, dword [ebp - 0x48]
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x10033fed
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10034143
push ecx
push esi
call fcn.10063694
add esp, 8
jmp 0x10034015
lea eax, [ebp - 0x2c]
push eax
push ecx
call fcn.100653a0
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov ecx, dword [ebp - 0x58]
mov word [eax], cx
xor ecx, ecx
mov word [eax + 2], cx
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x2c], esi
call fcn.10073b45
test al, 1
je 0x10033ee4
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push edi
cmova eax, esi
lea ecx, [ebp - 0x44]
push eax
call fcn.1001d220
and dword [ebp - 0x5c], 0xfffffffe
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x1003407e
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10034074
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10034143
push ecx
push edx
call fcn.10063694
add esp, 8
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
push 0
cmova eax, dword [ebp - 0x44]
push eax
call fcn.10073ca6
mov esi, dword [ebp - 0x60]
add esp, 8
test eax, eax
je 0x10033d17
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
mov ecx, esi
cmova eax, dword [ebp - 0x44]
cmp dword [ecx + 0x14], 7
jbe 0x100340b4
mov ecx, dword [ecx]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
push eax
call fcn.10074545
add esp, 4
test eax, eax
je 0x100340ea
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
push 4
cmova eax, dword [ebp - 0x44]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x10034120
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10034116
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10034143
push ecx
push edx
call fcn.10063694
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10063337
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10002b20
call fcn.1006dd3f
int3