Function at 0x1800c7ff0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x270
lea rdi, [rsp + 0x30]
mov ecx, 0x90
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x280]
mov rax, qword [0x1801b9d00]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x280]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x280]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x280]
mov qword [rax + 0xd8], 0
cmp dword [rsp + 0x288], 0
jge 0x1800c8083
mov eax, dword [rsp + 0x288]
neg eax
mov dword [rsp + 0x248], eax
jmp 0x1800c8091
mov eax, dword [rsp + 0x288]
mov dword [rsp + 0x248], eax
mov eax, dword [rsp + 0x248]
and eax, 0xffff
mov dword [rsp + 0x74], eax
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1800574e0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1800c80d9
lea r8, [rsp + 0x64]
lea rdx, [0x18014f0f8]
mov rcx, qword [rsp + 0x48]
call fcn.180058bf0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1800c80e6
mov dword [rsp + 0x34], 2
jmp 0x1800c8eff
mov dword [rsp + 0x34], 2
movzx eax, word [rsp + 0x64]
cmp eax, 0x5a4d
jne 0x1800c8eeb
mov eax, 4
imul rax, rax, 0x44
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 2
jl 0x1800c8120
lea rcx, str.MZ_signature_found_n
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x1800c80fe
movzx eax, word [rsp + 0x66]
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.1800574e0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1800c8166
lea r8, [rsp + 0x84]
lea rdx, [0x18014f110]
mov rcx, qword [rsp + 0x48]
call fcn.180058bf0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1800c816b
jmp 0x1800c8eff
mov dword [rsp + 0x34], 2
movzx eax, word [rsp + 0x84]
cmp eax, 0x454e
jne 0x1800c85ee
movzx eax, word [rsp + 0x66]
movzx ecx, word [rsp + 0x86]
add eax, ecx
mov dword [rsp + 0x94], eax
xor eax, eax
mov word [rsp + 0x9c], ax
mov dword [rsp + 0xa0], 0
mov eax, 4
imul rax, rax, 0x44
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 2
jl 0x1800c81d3
lea rcx, str.NE_signature_found_n
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x1800c81b1
mov edx, dword [rsp + 0x94]
mov rcx, qword [rsp + 0x48]
call fcn.1800574e0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1800c821e
movzx eax, word [rsp + 0x88]
movzx ecx, word [rsp + 0x86]
sub eax, ecx
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.1800578a0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1800c8223
jmp 0x1800c8eff
mov rcx, qword [rsp + 0x48]
call fcn.180058050
mov word [rsp + 0x98], ax
movzx eax, word [rsp + 0x98]
cmp eax, 0x10
jle 0x1800c828c
mov eax, 4
imul rax, rax, 0x44
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 2
jl 0x1800c8264
lea rcx, str.invalid_alignment_shift_count_for_resource_data_n
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x1800c8242
lea r8, [0x1801a2580]
mov edx, 0x153
mov ecx, 3
call fcn.18012c620
or eax, 3
mov dword [rsp + 0x34], eax
jmp 0x1800c8f05
mov rcx, qword [rsp + 0x48]
call fcn.180058050
mov word [rsp + 0xa4], ax
movzx eax, word [rsp + 0xa4]
test eax, eax
jne 0x1800c82af
jmp 0x1800c83c9
mov rcx, qword [rsp + 0x48]
call fcn.180058050
mov word [rsp + 0xa8], ax
mov eax, 4
imul rax, rax, 0x44
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 2
jl 0x1800c834d
movzx eax, word [rsp + 0xa4]
cmp eax, 0x8007
jne 0x1800c82f7
lea rax, str.RT_FONTDIR_count__hu_n
mov qword [rsp + 0x250], rax
jmp 0x1800c8336
movzx eax, word [rsp + 0xa4]
cmp eax, 0x8008
jne 0x1800c8317
lea rax, str.RT_FONT_count__hu_n
mov qword [rsp + 0x258], rax
jmp 0x1800c8326
lea rax, [0x18023af5a]
mov qword [rsp + 0x258], rax
mov rax, qword [rsp + 0x258]
mov qword [rsp + 0x250], rax
movzx eax, word [rsp + 0xa8]
mov edx, eax
mov rcx, qword [rsp + 0x250]
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x1800c82c1
movzx eax, word [rsp + 0xa4]
cmp eax, 0x8008
jne 0x1800c83a2
movzx eax, word [rsp + 0xa8]
mov word [rsp + 0x9c], ax
mov rcx, qword [rsp + 0x48]
call fcn.180057620
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x48]
mov rdx, qword [rdx + 0x40]
mov rcx, qword [rcx + 0x38]
sub rcx, rdx
lea eax, [rax + rcx + 4]
mov dword [rsp + 0xa0], eax
jmp 0x1800c83c9
movzx eax, word [rsp + 0xa8]
imul eax, eax, 0xc
add eax, 4
cdqe
mov rcx, qword [rsp + 0x48]
add rax, qword [rcx + 0x38]
mov rcx, qword [rsp + 0x48]
mov qword [rcx + 0x38], rax
jmp 0x1800c828c
mov rcx, qword [rsp + 0x48]
call fcn.180057b70
movzx eax, word [rsp + 0x9c]
test eax, eax
je 0x1800c83e9
cmp dword [rsp + 0xa0], 0
jne 0x1800c8433
mov eax, 4
imul rax, rax, 0x44
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 2
jl 0x1800c840b
lea rcx, str.this_file_doesnt_contain_any_FNT_resources_n
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x1800c83e9
lea r8, [0x1801a2650]
mov edx, 0x177
mov ecx, 3
call fcn.18012c620
or eax, 3
mov dword [rsp + 0x34], eax
jmp 0x1800c8eff
movzx eax, word [rsp + 0x9c]
imul eax, eax, 0x76
mov rcx, qword [rsp + 0x48]
cmp eax, dword [rcx + 8]
jbe 0x1800c8492
mov eax, 4
imul rax, rax, 0x44
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 2
jl 0x1800c846a
lea rcx, str.invalid_number_of_faces_n
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x1800c8448
lea r8, [0x1801a26e0]
mov edx, 0x180
mov ecx, 3
call fcn.18012c620
or eax, 3
mov dword [rsp + 0x34], eax
jmp 0x1800c8eff
movzx eax, word [rsp + 0x9c]
mov rcx, qword [rsp + 0x280]
mov dword [rcx], eax
cmp dword [rsp + 0x288], 0
jge 0x1800c84b3
jmp 0x1800c8eff
movzx eax, word [rsp + 0x9c]
cmp dword [rsp + 0x74], eax
jl 0x1800c84e3
lea r8, [0x1801a2750]
mov edx, 0x18b
mov ecx, 6
call fcn.18012c620
or eax, 6
mov dword [rsp + 0x34], eax
jmp 0x1800c8eff
lea r8, [rsp + 0x34]
mov edx, 0xb8
mov rcx, qword [rsp + 0x50]
call fcn.1800506d0
mov rcx, qword [rsp + 0x280]
mov qword [rcx + 0xd8], rax
cmp dword [rsp + 0x34], 0
je 0x1800c8512
jmp 0x1800c8eff
imul eax, dword [rsp + 0x74], 0xc
mov ecx, dword [rsp + 0xa0]
add ecx, eax
mov eax, ecx
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.1800574e0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1800c8553
mov edx, 0xc
mov rcx, qword [rsp + 0x48]
call fcn.1800578a0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1800c8558
jmp 0x1800c8eeb
mov rcx, qword [rsp + 0x48]
call fcn.180058050
movzx eax, ax
movzx ecx, word [rsp + 0x98]
shl eax, cl
mov rcx, qword [rsp + 0x280]
mov rcx, qword [rcx + 0xd8]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x48]
call fcn.180058050
movzx eax, ax
movzx ecx, word [rsp + 0x98]
shl eax, cl
mov rcx, qword [rsp + 0x280]
mov rcx, qword [rcx + 0xd8]
mov dword [rcx + 0xa8], eax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x38]
add rax, 8
mov rcx, qword [rsp + 0x48]
mov qword [rcx + 0x38], rax
mov rcx, qword [rsp + 0x48]
call fcn.180057b70
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0xd8]
call fcn.1800c7d20
mov dword [rsp + 0x34], eax
jmp 0x1800c8e68
movzx eax, word [rsp + 0x84]
cmp eax, 0x4550
jne 0x1800c8e68
mov eax, 4
imul rax, rax, 0x44
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 2
jl 0x1800c8623
lea rcx, str.PE_signature_found_n
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x1800c8601
movzx eax, word [rsp + 0x66]
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.1800574e0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1800c8669
lea r8, [rsp + 0xb8]
lea rdx, [0x18014f128]
mov rcx, qword [rsp + 0x48]
call fcn.180058bf0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1800c866e
jmp 0x1800c8eff
mov eax, 4
imul rax, rax, 0x44
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 2
jl 0x1800c86b9
movzx eax, word [rsp + 0xc0]
movzx ecx, word [rsp + 0xbe]
movzx edx, word [rsp + 0xbc]
mov dword [rsp + 0x20], eax
mov r9d, ecx
mov r8d, edx
mov edx, dword [rsp + 0xb8]
lea rcx, str.magic__04lx__machine__02x__number_of_sections__u__size_of_optional_header__02x_n
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x1800c866e
mov eax, 4
imul rax, rax, 0x44
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 2
jl 0x1800c86fb
movzx eax, word [rsp + 0xc2]
mov r9d, dword [rsp + 0xc8]
mov r8d, dword [rsp + 0xc4]
mov edx, eax
lea rcx, str.magic32__02x__rsrc_virtual_address__04lx__rsrc_size__04lx_n
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x1800c86bf
cmp dword [rsp + 0xb8], 0x4550
jne 0x1800c873b
movzx eax, word [rsp + 0xbc]
cmp eax, 0x14c
jne 0x1800c873b
movzx eax, word [rsp + 0xc0]
cmp eax, 0xe0
jne 0x1800c873b
movzx eax, word [rsp + 0xc2]
cmp eax, 0x10b
je 0x1800c8785
mov eax, 4
imul rax, rax, 0x44
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 2
jl 0x1800c875d
lea rcx, str.this_file_has_an_invalid_PE_header_n
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x1800c873b
lea r8, [0x1801a28a0]
mov edx, 0x1c1
mov ecx, 3
call fcn.18012c620
or eax, 3
mov dword [rsp + 0x34], eax
jmp 0x1800c8eff
mov rax, qword [rsp + 0x280]
mov dword [rax], 0
xor eax, eax
mov word [rsp + 0x230], ax
jmp 0x1800c87b2
movzx eax, word [rsp + 0x230]
inc ax
mov word [rsp + 0x230], ax
movzx eax, word [rsp + 0x230]
movzx ecx, word [rsp + 0xbe]
cmp eax, ecx
jge 0x1800c8855
lea r8, [rsp + 0xe8]
lea rdx, [0x18014f160]
mov rcx, qword [rsp + 0x48]
call fcn.180058bf0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1800c87f3
jmp 0x1800c8eff
mov eax, 4
imul rax, rax, 0x44
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 2
jl 0x1800c8838
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xf4]
mov r8d, dword [rsp + 0xf0]
lea rdx, [rsp + 0xe8]
lea rcx, str.name__.8s__va__04lx__size__04lx__offset__04lx_n
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x1800c87f3
mov eax, dword [rsp + 0xf0]
cmp dword [rsp + 0xc4], eax
jne 0x1800c8850
jmp 0x1800c889f
jmp 0x1800c879f
mov eax, 4
imul rax, rax, 0x44
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 2
jl 0x1800c8877
lea rcx, str.this_file_doesnt_contain_any_resources_n
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x1800c8855
lea r8, [0x1801a2970]
mov edx, 0x1d8
mov ecx, 3
call fcn.18012c620
or eax, 3
mov dword [rsp + 0x34], eax
jmp 0x1800c8eff
mov eax, 4
imul rax, rax, 0x44
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 2
jl 0x1800c88c9
lea rdx, [rsp + 0xe8]
lea rcx, str.found_resources_section__.8s_n
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x1800c889f
mov edx, dword [rsp + 0xf8]
mov rcx, qword [rsp + 0x48]
call fcn.1800574e0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1800c890f
lea r8, [rsp + 0x118]
lea rdx, [0x18014f180]
mov rcx, qword [rsp + 0x48]
call fcn.180058bf0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1800c8914
jmp 0x1800c8eff
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x224], eax
xor eax, eax
mov word [rsp + 0x230], ax
jmp 0x1800c8941
movzx eax, word [rsp + 0x230]
inc ax
mov word [rsp + 0x230], ax
movzx eax, word [rsp + 0x230]
movzx ecx, word [rsp + 0x124]
movzx edx, word [rsp + 0x126]
add ecx, edx
cmp eax, ecx
jge 0x1800c8e68
movzx eax, word [rsp + 0x230]
mov ecx, dword [rsp + 0x224]
lea eax, [rcx + rax*8 + 0x10]
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.1800574e0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1800c89b1
lea r8, [rsp + 0x1a8]
lea rdx, [0x18014f1a0]
mov rcx, qword [rsp + 0x48]
call fcn.180058bf0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1800c89b6
jmp 0x1800c8eff
mov eax, dword [rsp + 0x1ac]
and eax, 0x80000000
test eax, eax
jne 0x1800c89e8
lea r8, [0x1801a2a00]
mov edx, 0x1ee
mov ecx, 3
call fcn.18012c620
or eax, 3
mov dword [rsp + 0x34], eax
jmp 0x1800c8eff
mov eax, dword [rsp + 0x1ac]
btr eax, 0x1f
mov dword [rsp + 0x1ac], eax
mov eax, dword [rsp + 0x1ac]
mov ecx, dword [rsp + 0xf8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x228], eax
mov eax, dword [rsp + 0x1ac]
mov ecx, dword [rsp + 0xf8]
add ecx, eax
mov eax, ecx
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.1800574e0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1800c8a60
lea r8, [rsp + 0x148]
lea rdx, [0x18014f180]
mov rcx, qword [rsp + 0x48]
call fcn.180058bf0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1800c8a65
jmp 0x1800c8eff
xor eax, eax
mov word [rsp + 0x234], ax
jmp 0x1800c8a84
movzx eax, word [rsp + 0x234]
inc ax
mov word [rsp + 0x234], ax
movzx eax, word [rsp + 0x234]
movzx ecx, word [rsp + 0x154]
movzx edx, word [rsp + 0x156]
add ecx, edx
cmp eax, ecx
jge 0x1800c8e63
movzx eax, word [rsp + 0x234]
mov ecx, dword [rsp + 0x228]
lea eax, [rcx + rax*8 + 0x10]
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.1800574e0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1800c8af4
lea r8, [rsp + 0x1c8]
lea rdx, [0x18014f1a0]
mov rcx, qword [rsp + 0x48]
call fcn.180058bf0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1800c8af9
jmp 0x1800c8eff
mov eax, dword [rsp + 0x1cc]
and eax, 0x80000000
test eax, eax
jne 0x1800c8b2b
lea r8, [0x1801a2a70]
mov edx, 0x206
mov ecx, 3
call fcn.18012c620
or eax, 3
mov dword [rsp + 0x34], eax
jmp 0x1800c8eff
mov eax, dword [rsp + 0x1cc]
btr eax, 0x1f
mov dword [rsp + 0x1cc], eax
mov eax, dword [rsp + 0x1cc]
mov ecx, dword [rsp + 0xf8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x22c], eax
mov eax, dword [rsp + 0x1cc]
mov ecx, dword [rsp + 0xf8]
add ecx, eax
mov eax, ecx
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.1800574e0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1800c8ba3
lea r8, [rsp + 0x178]
lea rdx, [0x18014f180]
mov rcx, qword [rsp + 0x48]
call fcn.180058bf0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1800c8ba8
jmp 0x1800c8eff
xor eax, eax
mov word [rsp + 0x238], ax
jmp 0x1800c8bc7
movzx eax, word [rsp + 0x238]
inc ax
mov word [rsp + 0x238], ax
movzx eax, word [rsp + 0x238]
movzx ecx, word [rsp + 0x184]
movzx edx, word [rsp + 0x186]
add ecx, edx
cmp eax, ecx
jge 0x1800c8e5e
movzx eax, word [rsp + 0x238]
mov ecx, dword [rsp + 0x22c]
lea eax, [rcx + rax*8 + 0x10]
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.1800574e0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1800c8c37
lea r8, [rsp + 0x1e8]
lea rdx, [0x18014f1a0]
mov rcx, qword [rsp + 0x48]
call fcn.180058bf0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1800c8c3c
jmp 0x1800c8eff
mov eax, dword [rsp + 0x1cc]
and eax, 0x80000000
test eax, eax
je 0x1800c8c6e
lea r8, [0x1801a2ae0]
mov edx, 0x21e
mov ecx, 3
call fcn.18012c620
or eax, 3
mov dword [rsp + 0x34], eax
jmp 0x1800c8eff
cmp dword [rsp + 0x1a8], 8
jne 0x1800c8e59
mov eax, dword [rsp + 0x1ec]
mov ecx, dword [rsp + 0x224]
add ecx, eax
mov eax, ecx
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.1800574e0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1800c8cc9
lea r8, [rsp + 0x208]
lea rdx, [0x18014f1b0]
mov rcx, qword [rsp + 0x48]
call fcn.180058bf0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1800c8cce
jmp 0x1800c8eff
mov eax, 4
imul rax, rax, 0x44
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 2
jl 0x1800c8d26
mov eax, dword [rsp + 0x208]
mov ecx, dword [rsp + 0xf8]
add ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0xf0]
mov ecx, dword [rsp + 0x210]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x20c]
mov r8d, eax
mov edx, dword [rsp + 0x1c8]
lea rcx, str.found_font__lu__offset__04lx__size__04lx__cp__lu_n
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x1800c8cce
mov rax, qword [rsp + 0x280]
mov eax, dword [rax]
cmp dword [rsp + 0x74], eax
jne 0x1800c8e43
lea r8, [rsp + 0x34]
mov edx, 0xb8
mov rcx, qword [rsp + 0x50]
call fcn.1800506d0
mov rcx, qword [rsp + 0x280]
mov qword [rcx + 0xd8], rax
cmp dword [rsp + 0x34], 0
je 0x1800c8d6f
jmp 0x1800c8eff
mov eax, dword [rsp + 0x208]
mov ecx, dword [rsp + 0xf8]
add ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0xf0]
mov rcx, qword [rsp + 0x280]
mov rcx, qword [rcx + 0xd8]
mov dword [rcx], eax
mov rax, qword [rsp + 0x280]
mov rax, qword [rax + 0xd8]
mov ecx, dword [rsp + 0x20c]
mov dword [rax + 0xa8], ecx
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0xd8]
call fcn.1800c7d20
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1800c8e14
mov eax, 4
imul rax, rax, 0x44
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 2
jl 0x1800c8e07
mov r8d, dword [rsp + 0x34]
mov edx, dword [rsp + 0x1c8]
lea rcx, str.font__lu_load_error_0x_x_n
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x1800c8dd9
jmp 0x1800c8eeb
mov eax, 4
imul rax, rax, 0x44
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 2
jl 0x1800c8e3d
mov edx, dword [rsp + 0x1c8]
lea rcx, str.font__lu_successfully_loaded_n
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x1800c8e14
mov rax, qword [rsp + 0x280]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x280]
mov dword [rcx], eax
jmp 0x1800c8bb4
jmp 0x1800c8a71
jmp 0x1800c892e
mov rax, qword [rsp + 0x280]
cmp dword [rax], 0
jne 0x1800c8ebc
mov eax, 4
imul rax, rax, 0x44
mov rcx, qword [0x18023c728]
cmp dword [rcx + rax], 2
jl 0x1800c8e97
lea rcx, str.this_file_doesnt_contain_any_RT_FONT_resources_n
call fcn.18012c4b0
xor eax, eax
test eax, eax
jne 0x1800c8e75
lea r8, [0x1801a2c00]
mov edx, 0x251
mov ecx, 3
call fcn.18012c620
or eax, 3
mov dword [rsp + 0x34], eax
jmp 0x1800c8eff
mov rax, qword [rsp + 0x280]
mov eax, dword [rax]
cmp dword [rsp + 0x74], eax
jl 0x1800c8eeb
lea r8, [0x1801a2c70]
mov edx, 0x257
mov ecx, 6
call fcn.18012c620
or eax, 6
mov dword [rsp + 0x34], eax
jmp 0x1800c8eff
cmp dword [rsp + 0x34], 0
je 0x1800c8eff
mov rcx, qword [rsp + 0x280]
call fcn.1800c7c40
mov eax, dword [rsp + 0x34]
jmp 0x1800c8f11
mov rcx, qword [rsp + 0x48]
call fcn.180057b70
jmp 0x1800c8eff
mov rdi, rax
mov rcx, rsp
lea rdx, [0x18014f3b8]
call fcn.180138610
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180137ad0
add rsp, 0x270
pop rdi
ret