Function at 0x1000b05a
Capabilities:
Get file size
Read file via mapping

Disassembly:
push 0x13c
mov eax, 0x1001b286
call fcn.1001a48a
mov eax, dword [ebp + 0x14]
lea edi, [ebp - 0x9c]
mov dword [ebp - 0x74], eax
xor esi, esi
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
xor eax, eax
mov word [ebp - 0x40], ax
mov word [ebp - 0x28], ax
stosd dword es:[edi], eax
push 7
pop ecx
mov dword [ebp - 0x2c], ecx
stosd dword es:[edi], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x30], esi
stosd dword es:[edi], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x48], esi
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0x58], ax
mov dword [ebp - 0x148], 0x1001f2c0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push esi
push esi
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x148]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t_____bool_]
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_istringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x14c], eax
lea ecx, [ebp - 0x138]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x100], esi
mov dword [ebp - 0xfc], 2
cmp dword [ebp - 0x78], esi
je 0x1000b43c
mov edi, dword [ebp - 0x88]
test edi, edi
je 0x1000b43c
mov edx, dword [ebp - 0x74]
test edx, edx
je 0x1000b43c
mov ecx, dword [ebx + 0xc]
cmp ecx, edi
je 0x1000b184
mov dword [ebp - 4], esi
test edi, edi
je 0x1000b169
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [ebx + 0xc]
mov dword [ebx + 0xc], edi
mov dword [ebp - 4], 1
test ecx, ecx
je 0x1000b17d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
or dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebx + 0x10]
cmp ecx, edx
je 0x1000b1bd
mov dword [ebp - 4], 2
test edx, edx
je 0x1000b1a2
mov eax, dword [edx]
push edx
call dword [eax + 4]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebp - 0x74]
mov dword [ebx + 0x10], edx
mov dword [ebp - 4], 3
test ecx, ecx
je 0x1000b1b9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x74]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x14]
mov dword [ecx], 0x54
mov eax, dword [edx]
push ecx
mov edx, dword [eax + 0xc]
lea eax, [ebx + 0x68]
push eax
mov eax, dword [ebp - 0x74]
push eax
call edx
mov eax, dword [ebx]
push ebx
call dword [eax + 0x38]
test eax, eax
jns 0x1000b246
push esi
push esi
push esi
push esi
call dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [ebx + 0x80], eax
test eax, eax
je 0x1000b43c
mov eax, dword [edi]
lea ecx, [ebp - 0x9c]
push ecx
push edi
mov dword [ebp - 0x98], 0x2a
mov dword [ebp - 0x9c], 0x10004
call dword [eax + 0xc]
test eax, eax
js 0x1000b43c
push 0xbb8
push dword [ebx + 0x80]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x1000b43c
cmp dword [ebx + 0x7c], esi
je 0x1000b43c
mov ecx, dword [ebp - 0x78]
lea edx, [ebp - 0x84]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
push dword [ebp - 0x84]
lea ecx, [ebp - 0x70]
call fcn.10011024
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x88], eax
call fcn.1000bb0a
mov eax, dword [ebp - 0x88]
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x1000b286
mov eax, dword [eax]
push dword [ebp - 0xfc]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.10011024
lea ecx, [ebp - 0x70]
call fcn.10009671
push ecx
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x148]
call fcn.1000bcae
mov ecx, dword [ebx + 0x7c]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10010754
test eax, eax
js 0x1000b43c
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push esi
cmovae eax, dword [ebp - 0x40]
push 0x8000000
push 3
push esi
push 1
push SysReAllocString
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [ebp - 0x78], eax
cmp eax, 0xffffffff
je 0x1000b43c
push esi
push eax
call dword [sym.imp.kernel32.dll_GetFileSize]
push esi
push eax
push esi
push 2
push esi
push dword [ebp - 0x78]
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x6c], esi
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
mov dword [ebx + 0x74], eax
cmp eax, 0xffffffff
jne 0x1000b325
mov esi, 0x80004005
jmp 0x1000b42f
test eax, eax
je 0x1000b31b
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov dword [ebx + 0x78], eax
test eax, eax
je 0x1000b31b
mov edx, str.font_woff
mov dword [ebp - 0x80], esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x7c], esi
call fcn.1000bc2b
test al, al
jne 0x1000b364
mov edx, str.application_font_woff
lea ecx, [ebp - 0x28]
call fcn.1000bc2b
test al, al
je 0x1000b36b
mov byte [ebx + 0x85], 1
mov dword [ebp - 4], 4
lea edx, [ebp - 0x80]
mov ecx, dword [ebx + 0xc]
push edx
push 0x1001eb88
push ecx
mov eax, dword [ecx]
call dword [eax]
or dword [ebp - 4], 0xffffffff
test eax, eax
js 0x1000b3cb
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
push edx
push 0x1001f258
push 0x1001d730
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x1000b3cb
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x8c]
push edx
push 0x1001d948
push str.HTTP_1.1_200_OK
mov dword [ebp - 0x8c], esi
mov ecx, dword [eax]
push 0xc8
push eax
call dword [ecx + 0x10]
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x1000b3df
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x1000b3f3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
cmp dword [ebp - 0x14], 8
mov ecx, dword [eax + 0x10]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x16
push edi
call ecx
mov eax, dword [edi]
cmp dword [ebp - 0x2c], 8
mov ecx, dword [eax + 0x10]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push 0xe
push edi
call ecx
push dword [ebx + 0x70]
mov eax, dword [edi]
push esi
push 1
push edi
call dword [eax + 0x14]
push dword [ebp - 0x78]
call dword [sym.imp.kernel32.dll_CloseHandle]
test esi, esi
jns 0x1000b441
mov esi, 0x800c0011
lea ecx, [ebp - 0xe8]
call fcn.1000b610
lea ecx, [ebp - 0xe8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x58]
call fcn.10009671
push dword [ebp - 0x84]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x28]
call fcn.10009671
lea ecx, [ebp - 0x40]
call fcn.10009671
mov eax, esi
call fcn.1001a43c
ret 0x18