Function at 0x1007729
Capabilities:
Delete file

Disassembly:
push 0x24
push 0x100c550
call fcn.01008748
mov esi, ecx
mov dword [ebp - 0x2c], esi
xor edi, edi
mov dword [ebp - 0x1c], edi
push 0x50
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
cmp eax, edi
je 0x1007759
push dword [esi + 0x14]
mov ecx, eax
call fcn.010066dd
mov esi, eax
jmp 0x100775b
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], edi
cmp esi, edi
jne 0x1007777
mov dword [ebp - 0x1c], 0x8007000e
jmp 0x1007952
mov eax, dword [esi]
push 1
push dword [ebp + 8]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 0x1c], eax
cmp eax, edi
jge 0x10077ad
push eax
push dword [ebp + 8]
push 0xc000002e
call fcn.010079b3
push eax
call fcn.01007b3a
add esp, 0x10
mov dword [ebp - 0x1c], 0xc0000012
jmp 0x1007952
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x34], eax
mov ebx, dword [esi + 0x14]
push dword [ebp + 0xc]
call fcn.01005e44
mov dword [ebp - 0x1c], eax
test eax, eax
jl 0x10077e9
push 0x50
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
test eax, eax
je 0x10077e0
mov ecx, dword [ebp - 0x2c]
push dword [ecx + 0x14]
mov ecx, eax
call fcn.010066dd
jmp 0x10077e2
xor eax, eax
mov edi, eax
mov dword [ebp - 0x24], edi
jmp 0x1007814
push 0x48
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
test eax, eax
je 0x1007806
mov edx, dword [esi + 0x24]
mov edi, dword [esi + 0x20]
push edx
push edi
mov ecx, eax
call fcn.010068a8
jmp 0x1007808
xor eax, eax
mov edi, eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 1
test edi, edi
je 0x100776b
mov eax, dword [edi]
push 2
push dword [ebp + 0xc]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 0x1c], eax
test eax, eax
jge 0x1007877
push eax
push dword [ebp + 0xc]
cmp dword [ebp - 0x20], 0
je 0x1007858
push 0xc0000030
call fcn.010079b3
push eax
call fcn.01007b3a
add esp, 0x10
mov dword [ebp - 0x1c], 0xc0000005
jmp 0x1007952
push 0xc000002f
call fcn.010079b3
push eax
call fcn.01007b3a
add esp, 0x10
mov dword [ebp - 0x1c], 0xc0000013
jmp 0x1007952
cmp dword [ebp - 0x20], 0
je 0x10078cd
push ebx
push dword [ebp - 0x34]
mov ecx, edi
call fcn.01005ea6
mov dword [ebp - 0x1c], eax
test eax, eax
jge 0x10078cd
mov eax, dword [ebp - 0x34]
shrd eax, ebx, 0x14
mov dword [ebp + 8], eax
shr ebx, 0x14
push ebx
push eax
push 0xc000003c
call fcn.010079b3
push eax
call fcn.01007b3a
add esp, 0x10
mov dword [ebp - 0x1c], 0xc0000006
mov ecx, edi
call fcn.01005c13
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1007952
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
mov edx, dword [esi + 0x10]
cmp eax, dword [esi + 0x14]
ja 0x100790c
jb 0x10078e1
cmp ecx, edx
jae 0x100790c
mov eax, dword [ebp - 0x34]
shrd eax, ebx, 0x14
mov dword [ebp + 0xc], eax
shr ebx, 0x14
push ebx
push eax
push 0xc000003c
call fcn.010079b3
push eax
call fcn.01007b3a
add esp, 0x10
mov dword [ebp - 0x1c], 0xc0000006
jmp 0x1007952
mov ebx, dword [ebp - 0x2c]
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
xor edi, edi
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.01005f7d
mov dword [ebp - 0x1c], eax
test eax, eax
jl 0x1007952
mov ecx, ebx
call fcn.010070a4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
jne 0x1007952
push dword [ebp + 0xc]
push 0x40000022
call fcn.01005098
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
call fcn.0100796f
mov eax, dword [ebp - 0x1c]
call fcn.0100878d
ret 0x10