Function at 0x14001bbc0
Capabilities:
Extract resource via kernel32 functions
Get file size
Read file via mapping

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140043008]
xor rax, rsp
mov qword [rbp + 0x190], rax
movdqa xmm0, xmmword [0x1400399f0]
xor ebx, ebx
movdqa xmmword [rbp + 0x100], xmm0
mov rdi, rcx
xorps xmm0, xmm0
mov qword [rbp + 0xf0], rbx
movups xmmword [rbp - 0x78], xmm0
lea rcx, [rbp]
xor eax, eax
movdqa xmm0, xmmword [0x1400399f0]
mov r14, r8
movdqu xmmword [rbp + 0x160], xmm0
mov rsi, rdx
mov qword [rbp + 0x110], rbx
mov qword [rbp + 0x120], rbx
mov qword [rbp + 0x128], 7
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x68], rax
mov qword [rbp + 0x150], rbx
call fcn.14001ac10
lea rcx, [rbp - 0x60]
or r12, 0xffffffffffffffff
call fcn.140003d70
movdqa xmm0, xmmword [0x1400399f0]
or r13, r12
mov rcx, qword [rax]
mov qword [rdi + 0x70], rcx
mov qword [rdi + 0x68], rcx
mov qword [rdi + 0xa0], rcx
mov qword [rdi + 0x98], rcx
mov qword [rdi + 0x90], rcx
mov qword [rdi + 0x88], rcx
mov qword [rbp + 0x130], rbx
movdqu xmmword [rbp + 0x140], xmm0
test rsi, rsi
je 0x14001c383
test r14, r14
je 0x14001c383
cmp qword [rdi + 0x18], r14
je 0x14001bce5
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 8]
call qword [case.0x140007cca.0]
mov rax, qword [rdi + 0x18]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x78], rax
mov qword [rdi + 0x18], r14
call fcn.1400017a4
lea rcx, [rbp - 0x58]
call fcn.140003d70
mov rcx, qword [rax]
mov rax, qword [rdi]
mov qword [rdi + 0x80], rcx
mov qword [rdi + 0x78], rcx
mov rcx, rdi
mov rax, qword [rax + 0x70]
call qword [case.0x140007cca.0]
test eax, eax
jns 0x14001bd95
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x58], rax
test rax, rax
je 0x14001c383
mov rax, qword [r14]
lea rdx, [rbp - 0x78]
mov rcx, r14
mov dword [rbp - 0x74], 0x2a
mov dword [rbp - 0x78], 0x10004
mov rax, qword [rax + 0x18]
call qword [case.0x140007cca.0]
test eax, eax
js 0x14001c383
lfence
mov rcx, qword [rdi + 0x58]
mov edx, 0xbb8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x14001c383
lea rcx, [rbp - 0x50]
call fcn.140003d70
mov rcx, qword [rax]
mov qword [rdi + 0x80], rcx
cmp qword [rdi + 0x50], rbx
je 0x14001c383
mov rax, qword [rsi]
lea rdx, [rsp + 0x70]
mov rcx, rsi
mov rax, qword [rax + 0x38]
call qword [case.0x140007cca.0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp + 0x170]
call fcn.1400157a4
lea rcx, [rbp + 0x10]
mov rsi, rax
call fcn.140006b10
cmp qword [rsi + 0x18], 8
mov r8, qword [rsi + 0x10]
jb 0x14001bdd5
mov rsi, qword [rsi]
mov r9d, dword [rbp + 0x80]
lea rcx, [rbp + 0x10]
mov rdx, rsi
call fcn.1400066d4
lea rcx, [rbp + 0x170]
call fcn.14000704c
lea rdx, [rbp + 0x150]
lea rcx, [rbp]
call fcn.140006d70
lea rcx, [rdi + 0xa8]
lea rdx, [rbp + 0x150]
call fcn.14001ae20
mov rax, qword [rdi + 0x50]
cmp byte [rax + 0x279], bl
je 0x14001bee6
lea rsi, [rdi + 0x48]
mov qword [rsp + 0x58], rbx
mov rdx, rsi
lea r8, [rsp + 0x58]
lea rcx, [rbp + 0x150]
call fcn.14001b6c4
cmp qword [rsi], rbx
je 0x14001bee6
cmp qword [rsp + 0x58], rbx
je 0x14001bee6
lea rcx, [rbp - 0x48]
call fcn.140003d70
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rax]
mov qword [rdi + 0x88], rcx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea rcx, [rbp - 0x40]
mov r13, rax
call fcn.140003d70
mov rcx, qword [rax]
mov qword [rdi + 0x90], rcx
test r13, r13
je 0x14001bee6
lea rcx, [rbp - 0x38]
call fcn.140003d70
mov rcx, qword [rax]
mov qword [rdi + 0x98], rcx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsi]
mov qword [rdi + 0x38], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
lea rcx, [rbp - 0x30]
mov dword [rdi + 0x24], eax
call fcn.140003d70
mov rcx, qword [rax]
mov qword [rdi + 0xa0], rcx
cmp qword [rdi + 0x38], rbx
je 0x14001bee6
cmp dword [rdi + 0x24], ebx
jbe 0x14001bee6
mov byte [rdi + 0x40], bl
cmp byte [rdi + 0x40], bl
je 0x14001c149
mov rcx, qword [rdi + 0x50]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x130]
mov qword [rsp + 0x60], rbx
lea rdx, [rbp + 0x150]
mov dword [rsp + 0x40], ebx
call fcn.140021658
test eax, eax
js 0x14001bff8
cmp dword [rsp + 0x40], ebx
jbe 0x14001bff8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x48], rbx
mov edx, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [rsp + 0x40]
xor r9d, r9d
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], ebx
mov rax, qword [rcx]
mov r8, qword [rsp + 0x50]
mov qword [rsp + 0x20], rbx
mov rax, qword [rax + 0x38]
call qword [case.0x140007cca.0]
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x140007cca.0]
mov rcx, qword [rsp + 0x48]
cmp qword [rdi + 0x30], rcx
je 0x14001bfdc
mov rsi, rcx
test rcx, rcx
je 0x14001bfb7
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140007cca.0]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rdi + 0x30]
mov qword [rdi + 0x30], rsi
test rax, rax
je 0x14001bfdc
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x10]
mov rcx, rax
mov rax, rdx
call qword [case.0x140007cca.0]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rsp + 0x40]
mov dword [rdi + 0x24], eax
mov byte [rdi + 0x40], bl
test rcx, rcx
je 0x14001bff8
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140007cca.0]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14001c00f
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140007cca.0]
cmp byte [rdi + 0x40], bl
je 0x14001c149
mov rcx, qword [rdi + 0x50]
lea r8, [rbp + 0xf0]
lea rdx, [rbp + 0x150]
call fcn.1400213ec
mov esi, eax
test eax, eax
jns 0x14001c03d
mov byte [rdi + 0x62], bl
jmp 0x14001c37f
lea rcx, [rbp - 0x28]
call fcn.140003d70
cmp qword [rbp + 0x108], 8
mov edx, 0x80000000
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000000
mov rcx, qword [rax]
mov qword [rdi + 0x88], rcx
lea rcx, [rbp + 0xf0]
cmovae rcx, qword [rbp + 0xf0]
xor r9d, r9d
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rcx, [rbp - 0x20]
mov r12, rax
call fcn.140003d70
mov rcx, qword [rax]
mov qword [rdi + 0x90], rcx
cmp r12, 0xffffffffffffffff
je 0x14001c383
lea rcx, [rbp - 0x18]
call fcn.140003d70
xor edx, edx
mov rcx, qword [rax]
mov qword [rdi + 0x98], rcx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rdi + 0x24], eax
mov rcx, r12
mov dword [rsp + 0x20], eax
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rdi + 0x28], rax
cmp rax, 0xffffffffffffffff
jne 0x14001c0fe
mov esi, 0x80004005
jmp 0x14001c370
test rax, rax
je 0x14001c0f4
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
lea rcx, [rbp - 0x10]
mov qword [rdi + 0x38], rax
call fcn.140003d70
lea rdx, [rbp + 0x110]
mov rcx, qword [rax]
mov qword [rdi + 0xa0], rcx
lea rcx, [rbp + 0x130]
call fcn.14001ae20
mov byte [rdi + 0x40], 1
cmp qword [rdi + 0x38], rbx
jne 0x14001c155
cmp qword [rdi + 0x30], rbx
je 0x14001c0f4
cmp qword [rbp + 0x128], 8
lea rcx, [rbp + 0x110]
mov rax, qword [rbp + 0x120]
mov esi, ebx
cmovae rcx, qword [rbp + 0x110]
mov dword [rdi + 0x20], ebx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x68], rbx
cmp rax, 9
jne 0x14001c1ce
lea rdx, str.font_woff
mov r8, rax
test rax, rax
je 0x14001c22c
movzx r9d, word [rcx]
lea r10d, [rax + 0x5d]
cmp r9w, r10w
jb 0x14001c1ce
sub rcx, rdx
cmp r9w, r10w
ja 0x14001c1ce
cmp r8, 1
je 0x14001c22c
add rdx, 2
dec r8
movzx r9d, word [rcx + rdx]
movzx r10d, word [rdx]
cmp r9w, r10w
jae 0x14001c1b0
cmp qword [rbp + 0x128], 8
lea rcx, [rbp + 0x110]
cmovae rcx, qword [rbp + 0x110]
cmp rax, 0x15
jne 0x14001c230
lea rdx, str.application_font_woff
test rax, rax
je 0x14001c22c
movzx r8d, word [rcx]
lea r9d, [rax + 0x4c]
cmp r8w, r9w
jb 0x14001c230
sub rcx, rdx
cmp r8w, r9w
ja 0x14001c230
cmp rax, 1
je 0x14001c22c
add rdx, 2
dec rax
movzx r8d, word [rcx + rdx]
movzx r9d, word [rdx]
cmp r8w, r9w
jae 0x14001c20c
jmp 0x14001c230
mov byte [rdi + 0x61], 1
mov rcx, qword [rdi + 0x18]
lea r8, [rsp + 0x50]
lea rdx, [0x140030050]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x140007cca.0]
test eax, eax
js 0x14001c2ab
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x68]
lea r8, [0x140035400]
lea rdx, [0x140034ef8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x140007cca.0]
test eax, eax
js 0x14001c2ab
mov rcx, qword [rsp + 0x68]
lea rdx, [rbp - 0x80]
mov qword [rbp - 0x80], rbx
lea r9, [0x1400354e0]
mov qword [rsp + 0x20], rdx
lea r8, str.HTTP_1.1_200_OK
mov edx, 0xc8
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x140007cca.0]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001c2c2
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140007cca.0]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001c2d9
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140007cca.0]
mov rax, qword [r14]
lea r8, [rbp + 0x130]
cmp qword [rbp + 0x148], 8
mov edx, reloc.OLEAUT32.dll_SafeArrayAccessData
mov rcx, r14
cmovae r8, qword [rbp + 0x130]
mov rax, qword [rax + 0x20]
call qword [case.0x140007cca.0]
cmp qword [rdi + 0x30], rbx
jne 0x14001c33c
cmp r13, 0xffffffffffffffff
jne 0x14001c33c
mov rax, qword [r14]
lea r8, [rbp + 0xf0]
cmp qword [rbp + 0x108], 8
lea edx, [r13 + 0xf]
mov rcx, r14
cmovae r8, qword [rbp + 0xf0]
mov rax, qword [rax + 0x20]
call qword [case.0x140007cca.0]
mov rax, qword [r14]
mov edx, SafeArrayDestroy
mov r8d, dword [rdi + 0x24]
mov rcx, r14
mov r9d, r8d
mov rax, qword [rax + 0x28]
call qword [case.0x140007cca.0]
mov rax, qword [r14]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
mov rax, qword [rax + 0x30]
call qword [case.0x140007cca.0]
cmp r12, 0xffffffffffffffff
je 0x14001c37f
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jns 0x14001c3a3
lea rcx, [rbp - 8]
mov byte [rdi + 0x62], bl
call fcn.140003d70
mov rcx, rdi
mov rdx, qword [rax]
mov qword [rdi + 0x70], rdx
call fcn.14001aff8
mov esi, 0x800c0011
lea rcx, [rbp + 0x130]
call fcn.14000704c
lea rcx, [rbp]
call fcn.14001ae70
lea rcx, [rbp + 0x150]
call fcn.14000704c
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rcx, [rbp + 0xf0]
call fcn.14001adf8
mov eax, esi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14000ac50
add rsp, 0x2a0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret