Function at 0x100f1290
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102a9ded
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10373f78]
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.10264bfb
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 0x100f1300
mov ecx, dword [eax]
test ecx, ecx
je 0x100f1300
cmp ecx, 0xffffffff
jne 0x100f1337
cmp byte [0x1038ab72], 0
jne 0x100f1337
push str.CAT::HTTP::UploadRequest::GetFileHandle
push 0x1bd
push str.C:devjenkinsworkspacemonitor_win_build_srclibraries_networking_networkinghttp_request.cpp
push 0x1032cabf
mov edx, str.m_fileToUploadHandle__m_fileToUploadHandle__IsValid__
mov byte [0x1038ab72], 1
call fcn.10114eb0
mov eax, dword [edi + 0xf0]
add esp, 0x10
mov eax, dword [eax]
test eax, eax
je 0x100f146e
cmp eax, 0xffffffff
je 0x100f146e
lea ecx, [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x100f146e
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
push 0x1033ded4
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.101609e0
mov ecx, dword [edi + 0x7c]
add esp, 0xc
test eax, eax
jne 0x100f1511
push 1
push 0x2e
push ecx
call fcn.101609e0
mov ecx, dword [edi + 0x7c]
add esp, 0xc
test eax, eax
jne 0x100f1535
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 0x75a3
push ecx
call fcn.101609e0
add esp, 0x10
test eax, eax
jne 0x100f1553
jmp 0x100f1454
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 4
push ebx
call fcn.1026505f
add esp, 8
mov al, 1
jmp 0x100f14f5
mov byte [ebp - 0x48], 0
call fcn.10048fd0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.100882e0
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.10051390
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x100f14e0
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f14d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f1581
push edx
push ecx
call fcn.1026505f
add esp, 8
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 4
push ebx
call fcn.1026505f
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.102649e4
mov esp, ebp
pop ebp
ret
push 0x1033ded4
push 0x2734
push ecx
call fcn.101609e0
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push 0x1036eb00
push eax
call fcn.10266c7e
push 1
push 0x2e
push ecx
call fcn.101609e0
add esp, 0xc
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push 0x1036eb00
push eax
call fcn.10266c7e
lea ecx, [ebp - 0x50]
call fcn.1004ef50
push dword [eax + 4]
push dword [eax]
push 0x75a3
push dword [edi + 0x7c]
call fcn.101609e0
add esp, 0x10
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push 0x1036eb00
push eax
call fcn.10266c7e
call fcn.10275373
int3