Function at 0x42987a
Capabilities:
Delete file

Disassembly:
push 0x154
mov eax, 0x4321a4
call fcn.004148fb
mov dword [ebp - 0x94], ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x8c], esi
call fcn.00412d30
mov dword [ebp - 0x88], eax
xor eax, eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
movzx ecx, byte [esi + 0x38]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xd4]
push eax
push ecx
sub esp, 0x1c
lea eax, [esi + 0x1c]
mov ecx, esp
mov dword [ebp - 0xd8], esp
push eax
call fcn.0040b470
sub esp, 0x1c
mov byte [ebp - 4], 1
mov ecx, esp
push esi
call fcn.0040b470
mov byte [ebp - 4], 0
call fcn.0041aacf
xor eax, eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov eax, dword [esi + 0x3c]
sub esp, 0xc
mov ecx, dword [esi + 0x40]
mov edi, esp
mov dword [ebp - 0x9c], eax
lea esi, [ebp - 0xa0]
mov dword [ebp - 0x98], ecx
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xa0], 0x429090
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0xcc]
mov byte [ebp - 4], 2
push dword [ebp - 0xd0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041a446
xor eax, eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 3
push eax
sub esp, 0x200
mov ecx, esp
push ebx
call fcn.0041cc93
call fcn.0041a020
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0xc4]
add esp, 0x204
push eax
mov eax, dword [ebp - 0x8c]
push ebx
push eax
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.0042bae1
mov ecx, dword [ebp - 0x88]
push 1
push fcn.004154a0
call fcn.0041bfbd
test al, al
je 0x429bfd
push 0x1c
xor ecx, ecx
xor ebx, ebx
pop edi
mov esi, dword [ebp - 0xb0]
mov dword [ebp - 0x8c], ecx
test esi, esi
jne 0x4299de
xor eax, eax
jmp 0x4299e9
mov eax, dword [ebp - 0xac]
sub eax, esi
cdq
idiv edi
cmp ecx, eax
jae 0x429bfd
push 0x5c
pop eax
push 1
mov word [ebp - 0x88], ax
lea edi, [esi + ebx]
push 0xffffffffffffffff
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.0042b129
and dword [ebp - 0x18], 0
xor ecx, ecx
push 0xffffffffffffffff
mov word [ebp - 0x28], cx
lea ecx, [ebp - 0x2c]
lea esi, [eax + 1]
mov dword [ebp - 0x14], 7
push esi
push edi
call fcn.0040b6f9
mov eax, dword [ebp - 0xb0]
xor ecx, ecx
and dword [ebp - 0x34], 0
add eax, ebx
push esi
push ecx
mov word [ebp - 0x44], cx
lea ecx, [ebp - 0x48]
push eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], 7
call fcn.0040b6f9
push 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x84]
call fcn.00417607
xor esi, esi
lea ecx, [ebp - 0x48]
push 0
inc esi
push esi
call fcn.0040b613
push 0
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040b613
xor eax, eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
sub esp, 0x40
mov byte [ebp - 4], 9
mov eax, esp
mov dword [ebp - 0x88], fcn.0042bf00
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x88]
push ecx
push eax
call fcn.00419f2e
lea eax, [ebp - 0xa4]
push eax
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
call fcn.0041a3bd
lea ecx, [ebp - 0xa4]
call fcn.00426efc
test al, al
jne 0x429b1e
push dword [ebp - 0x94]
call fcn.0041e8b8
push eax
sub esp, 0x80
mov ecx, esp
push dword [ebp - 0xa0]
call fcn.0041cc29
call fcn.0042b5a0
add esp, 0x84
test al, al
je 0x429bd2
push esi
push 3
lea ecx, [ebp - 0x160]
call fcn.0040fb3a
mov eax, dword [ebp - 0xb0]
add eax, ebx
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x158]
push 0x404b24
push eax
call fcn.0040f341
pop ecx
pop ecx
push eax
call fcn.0040f49f
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x154]
call fcn.004133d2
push 2
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
push eax
call fcn.0041541f
push 0
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.0040b613
mov eax, dword [ebp - 0xb0]
lea ecx, [eax + 4]
add ecx, ebx
cmp dword [eax + ebx + 0x18], 8
jb 0x429b95
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x429bc7
sub esp, 0x1c
mov ecx, esp
push 0x4045dc
call fcn.0040b41d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x429bc1
movzx eax, ax
or eax, 0x80070000
push eax
call fcn.004161f4
lea ecx, [ebp - 0x160]
call fcn.004109cb
lea ecx, [ebp - 0xa4]
call fcn.00424d25
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
call fcn.004103e2
mov ecx, dword [ebp - 0x8c]
push 0x1c
pop edi
inc ecx
add ebx, edi
jmp 0x4299ca
lea ecx, [ebp - 0xc4]
call fcn.00424d25
lea ecx, [ebp - 0xb4]
call fcn.00411f06
lea ecx, [ebp - 0xd4]
call fcn.00411f06
call fcn.004148aa
ret 8