Function at 0x50a630
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c0b2d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x78efc4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 4
mov dword [ebp - 0x40], edi
lea esi, [edi + 0xa0]
call fcn.00677616
add esp, 4
mov ebx, eax
mov dword [ebp - 0x30], ebx
push esi
mov dword [ebx], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], 0
mov eax, dword [edi + 0xf0]
test eax, eax
je 0x50a6a0
mov ecx, dword [eax]
test ecx, ecx
je 0x50a6a0
cmp ecx, 0xffffffff
jne 0x50a6d7
cmp byte [0x7a971c], 0
jne 0x50a6d7
push str.CAT::HTTP::UploadRequest::GetFileHandle
push 0x1bd
push str.C:devjenkinsworkspacemonitor_win_build_srclibraries_networking_networkinghttp_request.cpp
push 0x742c18
mov edx, str.m_fileToUploadHandle__m_fileToUploadHandle__IsValid__
mov byte [0x7a971c], 1
call fcn.00467640
mov eax, dword [edi + 0xf0]
add esp, 0x10
mov eax, dword [eax]
test eax, eax
je 0x50a80e
cmp eax, 0xffffffff
je 0x50a80e
lea ecx, [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x50a80e
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
push 0x7565cc
mov byte [ebp - 4], 2
push 0x2734
push dword [edi + 0x7c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 0x48], 1
call fcn.005722d0
mov ecx, dword [edi + 0x7c]
add esp, 0xc
test eax, eax
jne 0x50a8b1
push 1
push 0x2e
push ecx
call fcn.005722d0
mov ecx, dword [edi + 0x7c]
add esp, 0xc
test eax, eax
jne 0x50a8d5
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 0x75a3
push ecx
call fcn.005722d0
add esp, 0x10
test eax, eax
jne 0x50a8f3
jmp 0x50a7f4
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 4
push ebx
call fcn.006779b1
add esp, 8
mov al, 1
jmp 0x50a895
mov byte [ebp - 0x48], 0
call fcn.004486f0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.00531420
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0xd8]
push ecx
push str.Unable_to_read_the_size_of_the_file__0__for_uploading._Error:__1
push 3
mov ecx, esi
call fcn.00454910
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x50a880
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x50a876
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50a921
push edx
push ecx
call fcn.006779b1
add esp, 8
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 4
push ebx
call fcn.006779b1
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006773ff
mov esp, ebp
pop ebp
ret
push 0x7565cc
push 0x2734
push ecx
call fcn.005722d0
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push 0x78a604
push eax
call fcn.006798be
push 1
push 0x2e
push ecx
call fcn.005722d0
add esp, 0xc
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push 0x78a604
push eax
call fcn.006798be
lea ecx, [ebp - 0x50]
call fcn.0044d5b0
push dword [eax + 4]
push dword [eax]
push 0x75a3
push dword [edi + 0x7c]
call fcn.005722d0
add esp, 0x10
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push 0x78a604
push eax
call fcn.006798be
call fcn.00682da2
int3