Function at 0x423f40
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8dd2
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x4fa078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov al, byte [ebp + 0xc]
mov byte [ebp - 0x14], al
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x20], 0x50
push eax
lea edx, [ebp - 0xa8]
call fcn.00408220
add esp, 8
test al, al
je 0x424477
xor eax, eax
cmp byte [ebp - 0x14], al
push 0
setne al
push 0x80
lea eax, [eax*2 + 2]
push eax
push 0
push 0
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xbc], eax
cmp eax, 0xffffffff
je 0x424477
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0xf
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0xc4], xmm0
mov byte [ebp - 4], 2
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.0042a750
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
cmp byte [ebp - 0x14], 0
je 0x424273
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4243ea
cmp dword [ebp - 0x3c], 0
jl 0x4240bf
jg 0x424092
cmp dword [ebp - 0x40], 0
jbe 0x4240bf
push 2
push 0
push 0
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x4243ea
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc0], eax
push 6
push 0x4e2d90
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.00407000
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe4]
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call fcn.0040e460
add esp, 8
mov byte [ebp - 4], 5
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x42410c
mov ecx, dword [eax]
mov edi, dword [eax + 0x10]
mov esi, dword [ebp - 0x24]
mov eax, esi
mov edx, dword [ebp - 0x28]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x424141
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
lea esi, [eax + edx]
push esi
call fcn.004a4c80
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x424157
mov byte [ebp - 0xcc], 0
lea ecx, [ebp - 0x38]
push dword [ebp - 0xcc]
push edi
call fcn.00407910
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xd0]
cmp edx, 0x10
jb 0x424195
mov ecx, dword [ebp - 0xe4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42418b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424504
push edx
push ecx
call fcn.0044bf44
add esp, 8
push 0x4e2e30
lea ecx, [ebp - 0x38]
call fcn.00406c00
push 5
push str.Range
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0xf
mov byte [ebp - 0xfc], 0
call fcn.00407000
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xe4]
call fcn.00409200
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.00427c20
lea edi, [ebp - 0xfc]
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
push edi
call fcn.00438c50
push eax
add eax, 0x10
lea ecx, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0xcc]
push eax
call fcn.00438ce0
add edi, 0x30
lea eax, [ebp - 0xcc]
cmp edi, eax
jne 0x4241f4
push fcn.00414db0
push 1
push 0x30
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 4
push eax
call fcn.0044bf91
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x424273
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424269
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424509
push edx
push ecx
call fcn.0044bf44
add esp, 8
mov dword [ebp - 0xc8], str.Content_Length
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x20]
call fcn.00422b30
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x4242fb
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4242f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42450e
push edx
push ecx
call fcn.0044bf44
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x424333
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424329
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424513
push edx
push ecx
call fcn.0044bf44
add esp, 8
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x78]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x60]
lea eax, [ebp - 0x58]
sub esp, 0x28
mov dword [ebp - 0x34], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x60]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xc4]
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0x24], eax
mov eax, esp
movups xmm0, xmmword [ebp - 0x38]
sub esp, 0x28
movups xmmword [eax + 4], xmm0
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_eacc86869501b559277457ec135cb2d3___bool__char_const___unsigned_int_.0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + 0x14], xmm0
mov dword [eax + 0x24], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x40], eax
mov eax, esp
movq xmm0, qword [ebp - 0x44]
movq qword [eax + 4], xmm0
mov dword [eax + 0xc], ecx
lea ecx, [ebp - 0x20]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_a47b10295f577c6d105a7ba4f5351d3b___bool__struct_httplib::Response_const__.0
mov dword [eax + 0x24], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004230f0
lea ecx, [ebp - 0xb8]
call fcn.0041f730
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4243ea
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
push eax
push dword [eax]
lea eax, [ebp - 0xcc]
push eax
call fcn.004257c0
push 0x40
push dword [ebp - 0x1c]
call fcn.0044bf44
mov eax, dword [ebp - 0xbc]
add esp, 8
test eax, eax
je 0x42441d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0xc4]
add esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0xc0]
adc edi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x424463
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424459
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424518
push edx
push ecx
call fcn.0044bf44
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
jmp 0x42447c
or esi, 0xffffffff
or edi, esi
mov edx, dword [ebp - 0x7c]
cmp edx, 0x10
jb 0x4244af
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4244a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42451d
push edx
push ecx
call fcn.0044bf44
add esp, 8
mov edx, dword [ebp - 0x94]
cmp edx, 0x10
jb 0x4244e5
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4244db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424522
push edx
push ecx
call fcn.0044bf44
add esp, 8
mov eax, esi
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044b7d5
mov esp, ebp
pop ebp
ret
call fcn.004aba6c
call fcn.004aba6c
call fcn.004aba6c
call fcn.004aba6c
call fcn.004aba6c
call fcn.004aba6c
call fcn.004aba6c
int3