Function at 0x100f0b40
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102a9d9d
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
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 dword [ebp - 0xa8], ecx
push 4
mov dword [ebp - 0xd4], ecx
lea esi, [ecx + 0xa0]
call fcn.10264bfb
add esp, 4
mov edi, eax
mov dword [ebp - 0xac], edi
push esi
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0xd8], edi
mov esi, dword [ebp - 0xa8]
mov dword [ebp - 4], 0
mov eax, dword [esi + 0xfc]
mov edi, dword [esi + 0xf8]
mov dword [ebp - 0xb4], eax
cmp edi, eax
je 0x100f0cf3
mov ecx, dword [0x10389454]
lea edx, [esi + 0x108]
mov eax, dword fs:[0x2c]
mov dword [ebp - 0xb0], edx
lea eax, [eax + ecx*4]
mov dword [ebp - 0xc0], eax
lea eax, [esi + 0x104]
mov dword [ebp - 0xbc], eax
lea esi, [edi + 0x18]
nop dword [eax + eax]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x100f0c0a
mov ecx, dword [esi]
cmp dword [esi - 4], 0x10
mov eax, edi
jb 0x100f0c14
mov eax, dword [edi]
push 0x11
push ecx
push 4
push eax
push 1
push edx
push dword [ebp - 0xbc]
call fcn.1015c920
add esp, 0x1c
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x100f0cd5
mov eax, dword [ebp - 0xc0]
mov ecx, dword [0x10389c44]
mov edx, dword [eax]
cmp ecx, dword [edx + 4]
jg 0x100f1133
mov edx, edi
lea ecx, [ebp - 0xa4]
call fcn.10083100
mov edx, esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.10083100
mov edx, dword [ebp - 0xc4]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.100765c0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 3
push ecx
lea eax, [ebp - 0x5c]
push eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.10051dd0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 4
push eax
push str.Unable_to_add_data__key__0___value__1___to_upload_request._Curl_form_eorror:__2
push 2
mov ecx, 0x10389c50
call fcn.10080640
lea ecx, [ebp - 0x50]
call fcn.1004eed0
push fcn.1004a960
push 3
push 0x18
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0
push eax
call fcn.10264c2b
mov edx, dword [ebp - 0xb0]
add edi, 0x30
add esi, 0x30
cmp edi, dword [ebp - 0xb4]
jne 0x100f0c00
mov esi, dword [ebp - 0xa8]
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x100f0d08
mov ecx, dword [eax]
test ecx, ecx
je 0x100f0d08
cmp ecx, 0xffffffff
jne 0x100f0d3f
cmp byte [0x1038ab72], 0
jne 0x100f0d3f
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 [esi + 0xf0]
add esp, 0x10
mov eax, dword [eax]
test eax, eax
je 0x100f1088
cmp eax, 0xffffffff
je 0x100f1088
lea ecx, [ebp - 0xb8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x100f1088
lea eax, [esi + 0xd8]
push 1
mov edx, eax
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0x44]
call fcn.1009a080
add esp, 4
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.10082f80
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x100f0dcf
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f0dc5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f11b0
push edx
push ecx
call fcn.1026505f
add esp, 8
push 0x11
push esi
push 0x13
push dword [ebp - 0xb4]
xor eax, eax
mov dword [ebp - 0x34], 0
push dword [ebp - 0xb8]
cmp dword [ebp - 0x18], 0x10
lea edi, [esi + 0x104]
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0x14
push eax
push 0x10
push str.artifacts_file
push 1
lea eax, [esi + 0x108]
mov dword [ebp - 0x30], 7
push eax
push edi
call fcn.1015c920
add esp, 0x30
mov dword [ebp - 0xb4], eax
test eax, eax
je 0x100f0ef3
call fcn.10048fd0
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x8c]
mov esi, eax
call fcn.1004dac0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0xb4]
call fcn.100765c0
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xa
push ecx
lea eax, [ebp - 0x5c]
push eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.10051dd0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xb
push eax
push str.Unable_to_add_file__0__to_upload_request._Curl_form_error:__1
push 2
mov ecx, esi
call fcn.10080640
lea ecx, [ebp - 0x50]
call fcn.1004eed0
push fcn.1004a960
push 2
push 0x18
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 8
push eax
call fcn.10264c2b
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100f0edc
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100f0ed2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f1227
push edx
push ecx
call fcn.1026505f
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
jmp 0x100f10fc
push 1
mov byte [ebp - 4], 0xc
push 0x2f
push dword [esi + 0x7c]
call fcn.101609e0
mov ecx, dword [esi + 0x7c]
add esp, 0xc
push 1
test eax, eax
jne 0x100f11b5
push 0x2728
push ecx
call fcn.101609e0
mov ecx, dword [esi + 0x7c]
add esp, 0xc
test eax, eax
jne 0x100f11d7
push dword [edi]
push 0x2728
push ecx
call fcn.101609e0
add esp, 0xc
test eax, eax
jne 0x100f11fe
jmp 0x100f1022
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100f1056
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100f104c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f1227
push edx
push ecx
call fcn.1026505f
add esp, 8
mov esi, dword [ebp - 0xac]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 4
push esi
call fcn.1026505f
add esp, 8
mov al, 1
jmp 0x100f1117
call fcn.10048fd0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.100882e0
mov ecx, dword [ebp - 0xa8]
lea eax, [ebp - 0x44]
push eax
add ecx, 0xd8
mov byte [ebp - 4], 5
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 - 0x30]
cmp edx, 8
jb 0x100f10fc
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f10f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f1227
push edx
push ecx
call fcn.1026505f
add esp, 8
mov esi, dword [ebp - 0xac]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 4
push esi
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 0x10389c44
call fcn.10264b25
add esp, 4
cmp dword [0x10389c44], 0xffffffff
jne 0x100f0c53
push 0x102
push 0x10389c5c
mov dword [0x10389c50], 0
mov dword [0x10389c54], 0
mov dword [0x10389c58], 0
call fcn.1024f6f8
mov byte [0x10389c8c], 0
mov al, 1
mov dword [0x10389c90], 0
mov ecx, 0x10389c8c
xchg byte [ecx], al
push 0x102b5060
call fcn.10265045
push 0x10389c44
call fcn.10264adb
add esp, 0x10
jmp 0x100f0c53
call fcn.10275373
push 0x2f
push ecx
call fcn.101609e0
add esp, 0xc
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xc8]
push 0x1036eb00
push eax
call fcn.10266c7e
push 1
push 0x2728
push ecx
call fcn.101609e0
add esp, 0xc
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xcc]
push 0x1036eb00
push eax
call fcn.10266c7e
push dword [edi]
push 0x2728
push dword [esi + 0x7c]
call fcn.101609e0
add esp, 0xc
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xd0]
push 0x1036eb00
push eax
call fcn.10266c7e
call fcn.10275373
int3