Function at 0x444500
Capabilities:
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7715
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x56b06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 1
call fcn.004438b0
test al, al
je 0x444589
mov ecx, dword [0x57396c]
test ecx, ecx
je 0x444589
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
cmp dword [eax + 0x14], 8
jb 0x44456d
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp dword [ebx + 0x14], 8
mov edx, ebx
jb 0x444577
mov edx, dword [ebx]
push dword [ebp - 0x2c]
mov eax, dword [ecx]
push edx
push str.Downloading__s_s
push ecx
call dword [eax + 4]
add esp, 0x10
push 0x98
mov dword [esi + 0x84], 0
mov dword [esi + 0x8c], 0
mov dword [ebp - 0x38], 0
call fcn.0048359c
add esp, 4
mov dword [ebp - 0x3c], eax
push 1
push ecx
push dword [ebp - 0x30]
mov ecx, eax
mov byte [ebp - 4], 2
push ebx
call fcn.0042c600
mov byte [ebp - 4], 1
mov ebx, dword [esi + 0x34]
mov dword [ebp - 0x30], eax
cmp eax, ebx
je 0x4445f0
test ebx, ebx
je 0x4445f0
mov ecx, ebx
call fcn.0042c6c0
push 0x98
push ebx
call fcn.004835cc
mov eax, dword [ebp - 0x30]
add esp, 8
mov dword [esi + 0x34], eax
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x4445fd
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x30], 0
nop dword [eax + eax]
push 0xffffffffffffffff
push dword [esi + 0x98]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [esi + 0x28]
mov bl, byte [esi + 0x90]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x4448ac
cmp dword [edi + 0x10], 0
je 0x44489d
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x444652
mov eax, dword [edi]
push 0x80
push 4
push 0
push 0x40000000
lea ebx, [esi + 0x80]
push eax
mov ecx, ebx
call fcn.0041ddc0
test eax, eax
je 0x44489d
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x44474c
push 2
push 0
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub esp, 8
lea ecx, [ebp - 0xd8]
call fcn.004278a0
mov byte [ebp - 4], 4
mov edx, 0x54a3b0
push dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0xd8]
call fcn.004241d0
add esp, 4
mov ecx, eax
call fcn.00424070
mov edx, 0x54a3ac
mov ecx, eax
call fcn.004241d0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd4]
call fcn.004265c0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp + 0x20]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00413720
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x44473d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x444733
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44494f
push edx
push ecx
call fcn.004835cc
add esp, 8
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 1
call fcn.00426680
cmp byte [ebp + 0x14], 0
mov ecx, 0xbb8
mov edx, dword [ebp - 0x34]
mov eax, 0x7530
cmovne eax, ecx
mov ebx, edx
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebx + 0x14], 8
lea ebx, [esi + 0x80]
jb 0x44477b
mov edx, dword [edx]
push 1
push eax
push 0
push 0
push 0
push 0
push 0
push ecx
mov ecx, dword [esi + 0x34]
push 0x541c9c
push edx
call fcn.0042c880
test al, al
je 0x444863
mov ecx, dword [esi + 0x34]
mov eax, dword [ecx + 0x60]
mov dword [ebp - 0x38], eax
cmp eax, 0xc8
je 0x4447ba
cmp eax, 0xce
jne 0x444863
cmp dword [esi + 0x8c], 0
mov dword [ebp - 0x2c], 0
jne 0x4447ef
lea eax, [ebp - 0x2c]
push eax
call fcn.0042ca00
test al, al
je 0x4447ef
mov eax, dword [ebp - 0x2c]
push 0
push eax
push 0
push 0
push dword [ebx]
mov dword [esi + 0x8c], eax
call dword [sym.imp.KERNEL32.dll_LockFile]
mov ecx, dword [esi + 0x34]
lea eax, [esi + 0x24]
push eax
call fcn.0042c8e0
test al, al
je 0x44488d
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x444819
push 0
push eax
push 0
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_UnlockFile]
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x44482d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0xffffffff
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x4448e6
and eax, 0xfffffffe
lea ecx, [ebp + 0x40]
push edi
push ecx
mov eax, dword [eax + 4]
call eax
add esp, 8
test al, al
jne 0x4448e3
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x44485a
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x44488d
call fcn.004438b0
test al, al
je 0x444887
mov ecx, dword [0x57396c]
test ecx, ecx
je 0x444887
push dword [ebp - 0x38]
mov eax, dword [ecx]
push str.Error_downloading_file:__d
push ecx
call dword [eax + 4]
add esp, 0xc
cmp byte [ebp + 0x14], 0
jne 0x44489d
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, 4
jne 0x444610
cmp dword [edi + 0x14], 8
jb 0x4448a5
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 0x38]
xor bl, bl
mov byte [ebp - 4], 0
mov edx, dword [ebp + 0x34]
cmp edx, 8
jb 0x4448f7
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4448ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44494f
jmp 0x4448ea
mov eax, dword [ebp + 0x38]
mov bl, 1
jmp 0x4448b1
push edx
push ecx
call fcn.004835cc
mov eax, dword [ebp + 0x38]
add esp, 8
xor ecx, ecx
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], cx
mov dword [ebp - 4], 8
test eax, eax
je 0x44492f
test al, 1
jne 0x44492f
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x44492f
lea ecx, [ebp + 0x40]
push 2
push ecx
push ecx
call eax
add esp, 0xc
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048358b
mov esp, ebp
pop ebp
ret 0x50
call fcn.004b1db8
int3