Function at 0x467a80
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x681530
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x79cac4]
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 dword [ebp - 0x58], edx
mov edi, ecx
mov dword [ebp - 0x44], edi
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.00465110
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x467af4
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x467af4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x467af4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x30], 0
je 0x467b5b
lea ecx, [ebp - 0x38]
call fcn.00465110
mov byte [ebp - 4], 2
lea edx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
mov ecx, edi
mov esi, dword [eax]
cmovae edx, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x467b21
mov ecx, dword [edi]
mov eax, dword [esi]
push edx
push ecx
push str.UploadLogs:_filePath___s___proxy___s_.
push esi
call dword [eax + 4]
add esp, 0x10
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x467b5b
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x467b5b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x467b5b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 0x30], 0xffffffff
mov byte [ebp - 4], 4
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x467b70
mov eax, dword [edi]
push 0x80
push 3
push 1
push SysReAllocString
push eax
lea ecx, [ebp - 0x30]
call fcn.004647e0
mov esi, dword [ebp - 0x30]
test eax, eax
jne 0x467c29
lea ecx, [ebp - 0x48]
call fcn.00465110
mov edi, dword [eax]
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x467bc9
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x467bc9
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x467bc9
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
cmp dword [ebp - 0x2c], 0
mov byte [ebp - 4], 4
je 0x467c22
lea ecx, [ebp - 0x48]
call fcn.00465110
mov byte [ebp - 4], 6
mov edi, dword [eax]
mov ebx, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFile_failed_with_error___d_.
push edi
call dword [ebx + 4]
add esp, 0xc
mov byte [ebp - 4], 7
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x467c22
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x467c22
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x467c22
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
xor bl, bl
jmp 0x467e10
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], eax
call fcn.00465110
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
mov byte [ebp - 4], 8
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x467c6c
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x467c6c
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x467c6c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x34], 0
je 0x467cc3
lea ecx, [ebp - 0x40]
call fcn.00465110
push dword [ebp - 0x2c]
mov byte [ebp - 4], 9
mov eax, dword [eax]
push str.File_size_is___d_.
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
add esp, 0xc
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x467cbf
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x467cbf
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x467cbf
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x2c]
push ecx
push edi
lea ecx, [ebp - 0x54]
call fcn.00468640
mov byte [ebp - 4], 0xb
test edi, edi
je 0x467d99
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push edi
mov edi, dword [ebp - 0x54]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x467d96
lea ecx, [ebp - 0x40]
call fcn.00465110
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x467d36
mov eax, ebx
lock xadd dword [ecx + 4], eax
jne 0x467d36
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x34]
mov eax, ebx
lock xadd dword [ecx + 8], eax
jne 0x467d36
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0xb
je 0x467d92
lea ecx, [ebp - 0x40]
call fcn.00465110
mov byte [ebp - 4], 0xd
mov edi, dword [eax]
mov ebx, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReadFile_failed_with_error_code___d_.
push edi
call dword [ebx + 4]
add esp, 0xc
mov byte [ebp - 4], 0xe
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x467d8f
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x467d8f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x467d8f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov edi, dword [ebp - 0x54]
xor bl, bl
jmp 0x467de3
mov edi, dword [ebp - 0x2c]
push 0x1c
xor eax, eax
mov dword [ebp - 0x18], 0
push str.https:__log.disk.yandex.net_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00459550
push dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xf
push edi
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.004664c0
add esp, 0x10
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.00453390
mov edi, dword [ebp - 0x54]
test edi, edi
je 0x467e10
mov ecx, dword [ebp - 0x4c]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x467e06
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x467e42
push ecx
push edi
call fcn.006113da
add esp, 8
cmp esi, 0xffffffff
je 0x467e1c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.00453390
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.00611399
mov esp, ebp
pop ebp
ret
call fcn.00655ae8
int3