Function at 0x428010
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
test eax, eax
je 0x428045
dec dword [esi + 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00452da4
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0xc]
mov edi, 1
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
cmp eax, edi
jbe 0x428085
test edi, edi
je 0x428077
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x48]
push 0xfffffffffffffffc
mov eax, dword [eax + edi*4]
push dword [eax]
call fcn.00424b50
mov eax, dword [esi + 0x10]
inc edi
sub eax, dword [esi + 0xc]
sar eax, 2
cmp edi, eax
jb 0x428061
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0xb8]
mov edi, dword [0x4a5ca0]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
sbb eax, dword [esi + 0xbc]
mov dword [ebp - 0x1c], eax
mov eax, edi
or eax, dword [0x4a5ca4]
jne 0x4280c8
push 0x4a5ca0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edi, dword [0x4a5ca0]
push 0
push 0x3e8
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call fcn.00478b70
push dword [0x4a5ca4]
push edi
push edx
push eax
call fcn.0047bf50
mov dword [ebx + 0x20], eax
or eax, edx
mov dword [ebx + 0x24], edx
jne 0x4280fc
mov dword [ebx + 0x20], 0x1f4
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
test eax, eax
jne 0x4282e2
lea eax, [esi + 0x68]
push eax
push 0x200002
push dword [ebp - 0x14]
call fcn.0042db20
mov eax, dword [esi + 0xc]
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
cmp eax, dword [esi + 0x94]
jl 0x428143
jg 0x428137
cmp ecx, dword [esi + 0x90]
jbe 0x428143
mov dword [esi + 0x90], ecx
mov dword [esi + 0x94], eax
cmp dword [esi + 0x34], 0
jne 0x428170
mov eax, dword [esi + 0x6c]
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x90]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0x94]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x6c]
mov byte [ecx + eax], 0
jmp 0x428189
mov dword [ebx + 4], 0
mov eax, dword [esi + 0x90]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0x94]
mov dword [ebx + 0xc], eax
mov edx, dword [esi + 0x94]
mov ecx, dword [esi + 0x90]
call fcn.0047911f
mov edx, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x20]
movsd qword [ebp - 0x10], xmm0
call fcn.0047911f
divsd xmm0, qword [0x4942b8]
movsd xmm1, qword [ebp - 0x10]
divsd xmm1, xmm0
movapd xmm0, xmm1
call fcn.00478f61
push 4
push 0xffffffffffffffff
lea edi, [esi + 0x78]
mov dword [ebx + 0x28], eax
push ecx
mov ecx, edi
call fcn.004298b0
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x4282c2
mov ecx, dword [esi + 0x88]
mov eax, dword [edi + 0x10]
sub ecx, 4
cmp ecx, eax
ja 0x42820b
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], ecx
jb 0x428203
mov eax, dword [edi]
mov byte [eax + ecx], 0
jmp 0x428217
mov eax, edi
mov byte [eax + ecx], 0
jmp 0x428217
sub ecx, eax
push 0
push ecx
mov ecx, edi
call fcn.00404710
push 4
push dword [ebp - 0x14]
push ecx
mov ecx, edi
call fcn.004298b0
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x4282c2
cmp dword [edi + 0x14], 0x10
jb 0x42823a
mov edx, dword [edi]
jmp 0x42823c
mov edx, edi
cmp dword [edi + 0x14], 0x10
mov eax, dword [esi + 0x88]
jb 0x42824c
mov ecx, dword [edi]
jmp 0x42824e
mov ecx, edi
add eax, edx
mov dword [ebp - 0x20], 0xf
mov edx, dword [ebp - 0x14]
add edx, 4
mov dword [ebp - 0x24], 0
add ecx, edx
mov byte [ebp - 0x34], 0
cmp ecx, eax
je 0x42827a
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040206a
lea eax, [ebp - 0x34]
cmp edi, eax
mov eax, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
je 0x4282b4
cmp dword [edi + 0x14], 0x10
jb 0x428293
push dword [edi]
call eax
add esp, 4
lea eax, [ebp - 0x34]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov ecx, edi
push eax
mov byte [edi], 0
call fcn.00404560
mov eax, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x20], 0x10
jb 0x4282c2
push dword [ebp - 0x34]
call eax
add esp, 4
cmp dword [edi + 0x14], 0x10
jb 0x4282ca
mov edi, dword [edi]
mov dword [ebx + 0x10], edi
mov eax, dword [esi + 0x88]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], 0
jmp 0x428373
cmp byte [esi + 0xdd], 0
jne 0x42830c
cmp eax, 0xfffffff9
je 0x4282f5
cmp eax, 0xfffffffa
jne 0x42830c
cmp dword [esi + 0xf4], 0x10
lea eax, [esi + 0xe0]
jb 0x428306
mov eax, dword [eax]
push eax
call fcn.0042b390
mov dword [esi + 0x68], 0
lea eax, [esi + 0x78]
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x28], 0
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x428355
mov eax, dword [eax]
mov byte [eax], 0
cmp byte [esi + 0xdc], 0
je 0x428373
cmp dword [esi + 0x38], 8
lea eax, [esi + 0x24]
jb 0x42836c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x68]
mov dword [ebx + 0x2c], eax
lea eax, [esi + 0xe0]
movdqu xmm0, xmmword [ebx]
movdqu xmmword [esi + 0x178], xmm0
movdqu xmm0, xmmword [ebx + 0x10]
movdqu xmmword [esi + 0x188], xmm0
movdqu xmm0, xmmword [ebx + 0x20]
movdqu xmmword [esi + 0x198], xmm0
movdqu xmm0, xmmword [ebx + 0x30]
movdqu xmmword [esi + 0x1a8], xmm0
movdqu xmm0, xmmword [ebx + 0x40]
movdqu xmmword [esi + 0x1b8], xmm0
movdqu xmm0, xmmword [ebx + 0x50]
movdqu xmmword [esi + 0x1c8], xmm0
cmp dword [eax + 0x14], 0x10
jb 0x4283d4
mov eax, dword [eax]
push dword [esi + 0x1a4]
push dword [esi + 0x178]
push eax
push str.send_finish_to_ui_thread__url_is__s__ret_code_is__d__response_code_is__d
push 0
push str.HttpClient.cpp
call fcn.00403e90
add esp, 0x18
push 0
push dword [esi + 0x1f4]
push 0x1425
push dword [esi + 0x160]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00452da4
mov esp, ebp
pop ebp
ret 8