Function at 0x44b8a0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520028
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x14]
mov eax, dword [eax - 0xc]
add ebx, 0x14
test eax, eax
je 0x44bc62
mov edx, dword [0x587944]
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
mov edx, dword [0x587944]
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x104
sub eax, edi
or eax, ecx
jge 0x44b935
push edi
lea ecx, [ebp - 0x14]
call fcn.00406e00
mov esi, dword [ebp - 0x14]
cmp dword [esi - 8], edi
jge 0x44b944
push 0x80070057
call fcn.00406170
push esi
xor ecx, ecx
mov dword [esi - 0xc], edi
push edi
mov word [esi + 0x208], cx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004eb8eb
add esp, 8
test eax, eax
js 0x44b93a
cmp eax, dword [esi - 8]
jg 0x44b93a
mov dword [esi - 0xc], eax
xor edx, edx
mov word [esi + eax*2], dx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, edi
or eax, edx
jge 0x44b997
push edi
lea ecx, [ebp - 0x10]
call fcn.00406e00
mov ecx, dword [ebp - 0x10]
mov eax, ecx
cmp dword [ecx - 8], edi
jge 0x44b9a8
push 0x80070057
call fcn.00406170
mov dword [ecx - 0xc], edi
mov edx, dword [ebp - 0x10]
xor ecx, ecx
push eax
push ecx
push ecx
push esi
mov word [edx + 0x208], cx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004eb8eb
add esp, 8
test eax, eax
js 0x44b93a
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x44b93a
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
push 0x530e54
lea ecx, [ebp - 0x1c]
call fcn.004095e0
mov byte [ebp - 4], 4
push str.download_page
lea ecx, [ebp - 0x18]
call fcn.00406730
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004368a0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44ba46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ba69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x530e54
lea ecx, [ebp - 0x1c]
call fcn.004095e0
mov byte [ebp - 4], 0xb
fldz
sub esp, 0x10
fst qword [esp + 8]
fstp qword [esp]
lea ecx, [ebp - 0x1c]
push 0
push ecx
lea edx, [ebp - 0x10]
push edx
push ebx
lea ecx, [ebp - 0x28]
call fcn.00436ce0
test al, al
sete bl
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44bac1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x44bb2d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00436690
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44baf4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44bb17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [0x589078]
call fcn.004119b0
mov edi, eax
mov bl, 0xf
mov byte [ebp - 4], bl
lea edx, [ebp - 0x1c]
push edx
call fcn.0044a960
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [edi]
mov eax, dword [eax]
mov edi, dword [ebp + 8]
push edx
push ecx
push eax
push edi
call fcn.00407500
add esp, 0x14
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
or ebx, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44bb8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44bbae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [edi]
mov ecx, dword [ebp - 0x10]
push edi
push ecx
call fcn.0048e500
add esp, 8
test al, al
jne 0x44bc0e
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00436690
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44bbf9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], ebx
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jmp 0x44bb0b
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00436690
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44bc46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], ebx
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x44bc62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8