Function at 0x436c80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4e50cc]
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 0x436cb5
dec dword [esi + 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a5ae0
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 0x436cf5
test edi, edi
je 0x436ce7
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x48]
push 0xfffffffffffffffc
mov eax, dword [eax + edi*4]
push dword [eax]
call fcn.004336e0
mov eax, dword [esi + 0x10]
inc edi
sub eax, dword [esi + 0xc]
sar eax, 2
cmp edi, eax
jb 0x436cd1
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 [0x4edaa8]
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 [0x4edaac]
jne 0x436d38
push 0x4edaa8
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edi, dword [0x4edaa8]
push 0
push 0x3e8
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call fcn.004a6280
push dword [0x4edaac]
push edi
push edx
push eax
call fcn.004b1f90
mov dword [ebx + 0x20], eax
or eax, edx
mov dword [ebx + 0x24], edx
jne 0x436d6c
mov dword [ebx + 0x20], 0x1f4
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
test eax, eax
jne 0x436f52
lea eax, [esi + 0x68]
push eax
push 0x200002
push dword [ebp - 0x14]
call fcn.0045f2f0
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 0x436db3
jg 0x436da7
cmp ecx, dword [esi + 0x90]
jbe 0x436db3
mov dword [esi + 0x90], ecx
mov dword [esi + 0x94], eax
cmp dword [esi + 0x34], 0
jne 0x436de0
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 0x436df9
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.004a683f
mov edx, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x20]
movsd qword [ebp - 0x10], xmm0
call fcn.004a683f
divsd xmm0, qword [0x4d1780]
movsd xmm1, qword [ebp - 0x10]
divsd xmm1, xmm0
movapd xmm0, xmm1
call fcn.004a6681
push 4
push 0xffffffffffffffff
lea edi, [esi + 0x78]
mov dword [ebx + 0x28], eax
push ecx
mov ecx, edi
call fcn.00438630
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x436f32
mov ecx, dword [esi + 0x88]
mov eax, dword [edi + 0x10]
sub ecx, 4
cmp ecx, eax
ja 0x436e7b
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], ecx
jb 0x436e73
mov eax, dword [edi]
mov byte [eax + ecx], 0
jmp 0x436e87
mov eax, edi
mov byte [eax + ecx], 0
jmp 0x436e87
sub ecx, eax
push 0
push ecx
mov ecx, edi
call fcn.004174d0
push 4
push dword [ebp - 0x14]
push ecx
mov ecx, edi
call fcn.00438630
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x436f32
cmp dword [edi + 0x14], 0x10
jb 0x436eaa
mov edx, dword [edi]
jmp 0x436eac
mov edx, edi
cmp dword [edi + 0x14], 0x10
mov eax, dword [esi + 0x88]
jb 0x436ebc
mov ecx, dword [edi]
jmp 0x436ebe
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 0x436eea
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.00403381
lea eax, [ebp - 0x34]
cmp edi, eax
mov eax, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
je 0x436f24
cmp dword [edi + 0x14], 0x10
jb 0x436f03
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.00402f06
mov eax, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x20], 0x10
jb 0x436f32
push dword [ebp - 0x34]
call eax
add esp, 4
cmp dword [edi + 0x14], 0x10
jb 0x436f3a
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 0x436fe3
cmp byte [esi + 0xdd], 0
jne 0x436f7c
cmp eax, 0xfffffff9
je 0x436f65
cmp eax, 0xfffffffa
jne 0x436f7c
cmp dword [esi + 0xf4], 0x10
lea eax, [esi + 0xe0]
jb 0x436f76
mov eax, dword [eax]
push eax
call fcn.0043a290
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 0x436fc5
mov eax, dword [eax]
mov byte [eax], 0
cmp byte [esi + 0xdc], 0
je 0x436fe3
cmp dword [esi + 0x38], 8
lea eax, [esi + 0x24]
jb 0x436fdc
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 0x437044
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.00416d30
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.004a5ae0
mov esp, ebp
pop ebp
ret 8