Function at 0x449670
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ec
mov eax, dword [0x4ae830]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x4ec], ecx
mov eax, dword [ebp - 0x4ec]
cmp dword [eax], 4
jne 0x449ae3
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x4ec]
add ecx, 0x28
call fcn.0044bbf0
jmp 0x4496c4
push 0
lea edx, [ebp - 0x4c0]
push edx
lea ecx, [ebp - 0xc]
call fcn.0044be90
lea eax, [ebp - 0x4c8]
push eax
mov ecx, dword [ebp - 0x4ec]
add ecx, 0x28
call fcn.0044bc20
push eax
lea ecx, [ebp - 0xc]
call fcn.0044bed0
movzx ecx, al
test ecx, ecx
je 0x449701
lea ecx, [ebp - 0xc]
call fcn.0044be50
cmp dword [eax], 1
je 0x4496ff
mov dword [ebp - 4], 0
jmp 0x449701
jmp 0x4496b3
cmp dword [ebp - 4], 0
je 0x449ae3
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x4ec]
add ecx, 0x28
call fcn.0044bbf0
jmp 0x449730
push 0
lea eax, [ebp - 0x4d0]
push eax
lea ecx, [ebp - 0x14]
call fcn.0044be90
lea ecx, [ebp - 0x4d8]
push ecx
mov ecx, dword [ebp - 0x4ec]
add ecx, 0x28
call fcn.0044bc20
push eax
lea ecx, [ebp - 0x14]
call fcn.0044bed0
movzx edx, al
test edx, edx
je 0x449816
lea ecx, [ebp - 0x14]
call fcn.0044be50
add eax, 0x9c
mov ecx, eax
call fcn.00417130
movzx eax, al
test eax, eax
jne 0x449811
push 0x10
push 0
lea ecx, [ebp - 0x28]
push ecx
call fcn.0046fba0
add esp, 0xc
push 0x10
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x14]
call fcn.0044be50
add eax, 0xb8
mov ecx, eax
call fcn.00417120
push eax
call fcn.00403200
add esp, 0xc
mov ax, word [0x493ea8]
mov word [ebp - 0xa8], ax
push 0x7e
push 0
lea ecx, [ebp - 0xa6]
push ecx
call fcn.0046fba0
add esp, 0xc
lea edx, [ebp - 0xa8]
push edx
push 0x10
lea eax, [ebp - 0x28]
push eax
call fcn.00403180
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0044be50
add eax, 0x9c
mov ecx, eax
call fcn.00417120
push eax
lea ecx, [ebp - 0xa8]
push ecx
call fcn.0046ff07
add esp, 8
test eax, eax
je 0x449811
mov dword [ebp - 4], 0
jmp 0x449816
jmp 0x44971f
cmp dword [ebp - 4], 0
je 0x449adf
mov edx, dword [ebp - 0x4ec]
mov dword [edx], 6
mov ecx, dword [ebp - 0x4ec]
add ecx, 0x28
call fcn.00441f50
test eax, eax
jbe 0x449872
mov eax, dword [ebp - 0x4ec]
cmp dword [eax + 0x260], 0
je 0x449872
mov ecx, dword [ebp - 0x4ec]
mov edx, dword [ecx + 0x25c]
push edx
push 0
push 0x10003
mov eax, dword [ebp - 0x4ec]
mov ecx, dword [eax + 0x260]
call ecx
add esp, 0xc
lea edx, [ebp - 0xb0]
push edx
mov ecx, dword [ebp - 0x4ec]
add ecx, 0x28
call fcn.0044bbf0
jmp 0x44989d
push 0
lea eax, [ebp - 0x4e0]
push eax
lea ecx, [ebp - 0xb0]
call fcn.0044be90
lea ecx, [ebp - 0x4e8]
push ecx
mov ecx, dword [ebp - 0x4ec]
add ecx, 0x28
call fcn.0044bc20
push eax
lea ecx, [ebp - 0xb0]
call fcn.0044bed0
movzx edx, al
test edx, edx
je 0x449ac1
push str.full_package
lea ecx, [ebp - 0xb0]
call fcn.0044be50
add eax, 0x2c
mov ecx, eax
call fcn.00417120
push eax
call fcn.0046ff07
add esp, 8
test eax, eax
jne 0x449abc
push 0x4b0fbc
call fcn.0047155e
add esp, 4
mov dword [ebp - 0x4b4], eax
mov eax, dword [ebp - 0x4b4]
imul eax, eax, 0x3c
imul eax, eax, 0x3e8
mov dword [ebp - 0x4b4], eax
mov ecx, dword [ebp - 0x4b4]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dx, word [0x493ec8]
mov word [ebp - 0x4b0], dx
push 0x3fe
push 0
lea eax, [ebp - 0x4ae]
push eax
call fcn.0046fba0
add esp, 0xc
cmp dword [0x4b0870], 0
jne 0x44996f
push 0x493ecc
push 0x200
lea ecx, [ebp - 0x4b0]
push ecx
call fcn.00470266
add esp, 0xc
push str._partner
push 0x200
lea edx, [ebp - 0x4b0]
push edx
call fcn.004702d5
add esp, 0xc
push 0x4b087c
push 0x200
lea eax, [ebp - 0x4b0]
push eax
call fcn.004702d5
add esp, 0xc
push 0x493ee8
push 0x200
lea ecx, [ebp - 0x4b0]
push ecx
call fcn.004702d5
add esp, 0xc
mov ecx, 0x4b11bc
call fcn.00417120
push eax
push 0x200
lea edx, [ebp - 0x4b0]
push edx
call fcn.004702d5
add esp, 0xc
mov eax, dword [ebp - 0x4ec]
add eax, 0x24c
push eax
mov ecx, dword [ebp - 0x4ec]
add ecx, 0x250
push ecx
push 1
push 5
push 0x40
lea edx, [ebp - 0x4b0]
push edx
lea ecx, [ebp - 0xb0]
call fcn.0044be50
add eax, 0xd4
mov ecx, eax
call fcn.00417120
push eax
lea ecx, [ebp - 0xb0]
call fcn.0044be50
add eax, 0xb8
mov ecx, eax
call fcn.00417120
push eax
mov ecx, dword [ebp - 0x4ec]
call fcn.004495a0
lea ecx, [ebp - 0xb0]
call fcn.0044be50
add eax, 0xb8
mov ecx, eax
call fcn.00417120
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x449abc
mov dword [ebp - 0x4b8], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x449abc
mov eax, dword [ebp - 0x4b8]
add eax, 1
mov dword [ebp - 0x4b8], eax
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0xb0]
call fcn.0044be50
add eax, 0xb8
mov ecx, eax
call fcn.00417120
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x449aac
jmp 0x449abc
cmp dword [ebp - 0x4b8], 0x3e8
jb 0x449aba
jmp 0x449abc
jmp 0x449a66
jmp 0x449889
mov ecx, dword [ebp - 0x4ec]
mov dword [ecx], 7
mov edx, dword [ebp - 0x4ec]
mov dword [edx + 0x250], 0
jmp 0x449ae3
xor eax, eax
jmp 0x449ae8
mov eax, 1
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0046fd33
mov esp, ebp
pop ebp
ret