Function at 0x1800f2840
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rsi
push rdi
push r13
push r14
push r15
mov eax, 0x12c8
call fcn.1802e2490
sub rsp, rax
mov rax, qword [0x1805858b8]
xor rax, rsp
mov qword [rsp + 0x12b0], rax
movsxd r14, dword [rdx + 0x14]
mov eax, 0x80
movsxd rsi, dword [rdx + 0x10]
mov r13d, 0x54d
movzx r15d, r14w
movzx ebp, r8b
imul r15d, eax
mov eax, 0x530
mov qword [rsp + 0x78], rdx
lea edi, [rsi + 4]
mov byte [rsp + 0x51], cl
mov dword [rsp + 0x4c], r14d
mov byte [rsp + 0x30], 0
add eax, r15d
add r13d, r15d
mov word [rsp + 0x38], ax
mov eax, 0x53c
add r15w, ax
mov word [rsp + 0x80], r13w
lea rax, [rdx + 0x3c]
mov dword [rsp + 0x70], r15d
mov qword [rsp + 0xa0], rax
cmp dword [rax], edi
jge 0x1800f28de
mov dword [rax], edi
xor al, al
jmp 0x1800f38b9
mov qword [rsp + 0x1300], rbx
mov qword [rsp + 0x12c0], r12
lea r12, [rsp + 0xab0]
mov qword [rsp + 0x58], r12
movsxd rbx, edi
cmp edi, 0x200
jl 0x1800f2918
lea rcx, [rbx + rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r12, rax
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x8b0]
mov qword [rsp + 0x40], rdx
cmp edi, 0x200
jl 0x1800f293b
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x40], rax
mov rdi, qword [rsp + 0x78]
lea rcx, [0x180000000]
movzx r14d, byte [r14 + rcx + 0x384c38]
lea r8, [rsi + rsi]
mov eax, 0x25cc
test bpl, bpl
je 0x1800f297b
mov word [r12], ax
mov ecx, dword [rdi + 0xc]
mov rax, qword [rdi]
lea rdx, [rax + rcx*2]
lea rcx, [r12 + 2]
call sub.VCRUNTIME140.dll_memcpy
inc esi
jmp 0x1800f298d
mov ecx, dword [rdi + 0xc]
mov rax, qword [rdi]
lea rdx, [rax + rcx*2]
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
mov r11, qword [rsp + 0x58]
lea r12d, [rsi - 1]
movsxd rax, r12d
mov ecx, 0x200c
mov ebp, 1
mov dword [rsp + 0x68], 0x900
mov ebx, 0xffffffff
mov dword [rsp + 0x84], 0x4ff
mov dword [rsp + 0x60], ebx
cmp word [r11 + rax*2], cx
cmovne r12d, esi
xor r8d, r8d
mov esi, r12d
mov r9d, r8d
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x34], r8d
cmp r12d, ebp
je 0x1800f32da
movzx edi, word [r11]
xor bpl, bpl
movzx ecx, di
mov dword [rsp + 0x64], ebp
call fcn.1800f2470
mov esi, dword [rsp + 0x4c]
cmp eax, 1
je 0x1800f2a1e
mov dword [rsp + 0x48], r12d
mov r10d, r12d
cmp esi, 9
jne 0x1800f2f47
mov dword [rsp + 0x48], r12d
cmp eax, 7
jne 0x1800f2f47
and r14b, 1
mov byte [rsp + 0x50], r14b
je 0x1800f2a63
cmp r12d, 2
jle 0x1800f2a63
cmp di, word [rsp + 0x38]
je 0x1800f2a40
mov eax, 0x9f0
cmp di, ax
jne 0x1800f2a63
cmp word [r11 + 2], r13w
jne 0x1800f2a63
movzx ecx, word [r11 + 4]
mov dil, 1
call fcn.1800f2470
cmp eax, 9
movzx ebp, dil
cmove ebp, r8d
mov dword [rsp + 0x64], ebp
mov rcx, qword [rsp + 0x40]
mov ebx, r8d
movzx edi, bpl
xor edx, edx
add edi, edi
movsxd r8, r12d
mov dword [rsp + 0x34], edi
mov r15d, 0xffffffff
call sub.VCRUNTIME140.dll_memset
cmp esi, 8
je 0x1800f2ae0
cmp esi, 0xb
je 0x1800f2ae0
mov r11, qword [rsp + 0x58]
mov esi, edi
mov r10, qword [rsp + 0x40]
cmp edi, r12d
jge 0x1800f2b8f
nop dword [rax]
nop dword [rax + rax]
movsxd rdi, esi
movzx ecx, word [r11 + rdi*2]
call fcn.1800f2470
mov byte [rdi + r10], al
cmp al, 1
jne 0x1800f2ac9
mov ebx, esi
jmp 0x1800f2ad4
test r15d, r15d
jns 0x1800f2ad4
cmp al, 4
cmove r15d, esi
inc esi
cmp esi, r12d
jl 0x1800f2ab0
jmp 0x1800f2b8f
mov r11, qword [rsp + 0x58]
xor sil, sil
mov edx, edi
cmp edi, r12d
jge 0x1800f2b8a
mov r13, qword [rsp + 0x40]
lea rbp, [0x180000000]
movzx r14d, word [rsp + 0x38]
mov r9d, 0x25cc
mov r10d, 0x900
movsxd rdi, edx
movzx ecx, word [r11 + rdi*2]
lea r8, [r11 + rdi*2]
movzx eax, cx
sub ax, r10w
cmp ax, word [rsp + 0x84]
ja 0x1800f2b3e
movzx eax, cx
movzx ecx, byte [rax + rbp + 0x383940]
jmp 0x1800f2c11
cmp cx, r9w
jne 0x1800f2b50
lea rax, [rdi + r13]
mov byte [rax], 1
jmp 0x1800f2c22
mov eax, 0x200c
sub cx, ax
cmp cx, 1
jbe 0x1800f2c0f
mov byte [rdi + r13], 0xa
mov cl, 0xa
cmp cl, 4
cmove r15d, edx
inc edx
cmp edx, r12d
jl 0x1800f2b11
mov ebp, dword [rsp + 0x64]
movzx r14d, byte [rsp + 0x50]
movzx r13d, word [rsp + 0x80]
mov r10, qword [rsp + 0x40]
xor r8d, r8d
lea r9d, [r12 - 1]
mov esi, r8d
mov edx, r9d
lea edi, [r8 + 4]
cmp r9d, dword [rsp + 0x34]
jl 0x1800f2c90
nop dword [rax]
movsxd rcx, edx
movzx eax, byte [rcx + r10]
cmp al, 1
je 0x1800f2bcf
cmp al, 9
jne 0x1800f2c84
cmp dword [rsp + 0x4c], 0xf
je 0x1800f2c84
cmp edx, r9d
jge 0x1800f2be4
cmp al, 9
jne 0x1800f2be4
cmp byte [rcx + r10 + 1], 1
je 0x1800f2cb3
movzx ecx, word [r11 + rcx*2]
movzx eax, cx
sub ax, word [rsp + 0x68]
cmp ax, word [rsp + 0x84]
ja 0x1800f2c42
movzx eax, cx
lea rcx, [0x180000000]
movzx ecx, byte [rax + rcx + 0x383e40]
jmp 0x1800f2c45
mov cl, 9
mov byte [rdi + r13], cl
lea rax, [rdi + r13]
cmp cl, 1
jne 0x1800f2b69
mov ebx, edx
test sil, sil
jne 0x1800f2c3a
cmp word [r8], r14w
jne 0x1800f2c3a
mov sil, 1
mov byte [rax], 8
jmp 0x1800f2b70
xor sil, sil
jmp 0x1800f2b70
mov ecx, r8d
cmp edi, 4
jne 0x1800f2c54
cmp ecx, edi
jne 0x1800f2c59
mov eax, dword [rsp + 0x4c]
jmp 0x1800f2c75
cmp edi, 3
jne 0x1800f2cbc
cmp ecx, 3
jne 0x1800f2cbc
mov eax, dword [rsp + 0x4c]
cmp eax, 8
je 0x1800f2c6c
cmp eax, 0xb
jne 0x1800f2c70
mov dword [rsp + 0x34], edx
mov edi, 3
cmp esi, 2
jne 0x1800f2c82
add eax, 0xfffffff2
cmp eax, 1
jbe 0x1800f2cbc
inc esi
dec edx
cmp edx, dword [rsp + 0x34]
jge 0x1800f2bb0
mov edi, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x70]
cmp ebx, edi
jle 0x1800f2d05
movsxd rax, edi
movzx ecx, word [r11 + rax*2 + 2]
cmp cx, r13w
jne 0x1800f2cc4
mov eax, 1
jmp 0x1800f2cda
lea edi, [rdx + 1]
mov dword [rsp + 0x34], edi
jmp 0x1800f2c94
mov dword [rsp + 0x34], edx
mov edi, edx
jmp 0x1800f2c94
cmp cx, r10w
jne 0x1800f2d05
movsxd rax, edi
cmp word [r11 + rax*2 + 4], r13w
jne 0x1800f2d05
mov eax, 2
lea ecx, [rax + rdi]
test ecx, ecx
jle 0x1800f2d05
cmp ecx, ebx
jge 0x1800f2cfd
movsxd rax, ecx
lea rdi, [r11 + rax*2]
mov eax, ebx
sub eax, ecx
lea rsi, [rdi + 2]
mov ecx, eax
rep movsw word [rdi], word [rsi]
mov edi, dword [rsp + 0x34]
movsxd rax, ebx
mov word [r11 + rax*2], r13w
test r15d, r15d
jle 0x1800f2d3a
movsxd rax, r15d
mov edx, 0x900
movzx ecx, word [r11 + rax*2]
movzx eax, cx
sub ax, dx
mov edx, 0x4ff
cmp ax, dx
ja 0x1800f2d3a
movzx eax, cx
lea rcx, [0x180000000]
movzx r8d, byte [rax + rcx + 0x383e40]
test bpl, bpl
je 0x1800f2e1c
test edi, edi
je 0x1800f2e1c
lea edx, [rdi + 1]
cmp edx, r12d
jge 0x1800f2d8d
movsxd rax, edx
cmp word [r11 + rax*2], r10w
cmovne edx, edi
movsxd rcx, edx
lea edx, [rcx + 1]
cmp edx, r12d
jge 0x1800f2d8d
cmp word [r11 + rcx*2 + 2], r13w
cmovne edx, ecx
inc edx
movsxd rcx, edx
mov edx, ecx
cmp ecx, r12d
jge 0x1800f2d8d
mov esi, 0x200d
cmp word [r11 + rcx*2], si
jne 0x1800f2d8d
lea edx, [rcx + 1]
cmp edx, r9d
movzx r9d, word [rsp + 0x38]
jge 0x1800f2dad
movsxd rax, edx
cmp word [r11 + rax*2], r9w
jne 0x1800f2dad
cmp word [r11 + rax*2 + 2], r13w
jne 0x1800f2dad
add edx, 2
mov ecx, dword [rsp + 0x4c]
lea eax, [rcx - 8]
test eax, 0xfffffffc
jne 0x1800f2dcf
cmp ecx, 0xa
je 0x1800f2dcf
lea eax, [r8 - 4]
cmp eax, 1
ja 0x1800f2ddb
lea edx, [r15 + 1]
jmp 0x1800f2dd7
cmp ecx, 0xf
jne 0x1800f2ddb
mov edx, r12d
sub r15d, 2
cmp edx, 2
jle 0x1800f2df1
lea rsi, [r11 + 4]
mov rdi, r11
lea ecx, [rdx - 2]
rep movsw word [rdi], word [rsi]
mov edi, dword [rsp + 0x34]
movsxd rax, edx
lea ecx, [rdx - 2]
sub edi, 2
test r14b, r14b
mov dword [rsp + 0x34], edi
mov word [r11 + rax*2 - 4], r9w
movsxd rax, edx
mov word [r11 + rax*2 - 2], r13w
mov eax, 0xffffffff
cmovne eax, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x48], r12d
mov r10d, r12d
cmp r8d, 5
jne 0x1800f2ede
movsxd rbx, r15d
lea rsi, [0x1803840c0]
movzx eax, word [r11 + rbx*2]
lea r14, [r11 + rbx*2]
mov ecx, 0x9cb
cmp cx, ax
jae 0x1800f2e59
nop dword [rax + rax]
add rsi, 8
cmp word [rsi], ax
jb 0x1800f2e50
movzx edi, word [rsi + 6]
xor eax, eax
add rsi, 2
mov rdx, r14
test di, di
setne al
lea ebp, [rax + 1]
mov eax, r12d
sub eax, r15d
movsxd r8, eax
lea rax, [rbx + rbp]
lea rcx, [r11 + rax*2]
add r8, r8
call sub.VCRUNTIME140.dll_memmove
movzx ecx, word [rsi]
mov r11, qword [rsp + 0x58]
mov word [r14], cx
movzx eax, word [rsi + 2]
mov word [r11 + rbx*2 + 2], ax
test di, di
je 0x1800f2ead
movzx eax, word [rsi + 4]
mov word [r11 + rbx*2 + 4], ax
mov edx, 0x900
lea r10d, [r12 + rbp]
movzx eax, cx
mov dword [rsp + 0x48], r10d
sub ax, dx
mov edx, 0x4ff
cmp ax, dx
ja 0x1800f2f25
movzx eax, cx
lea rcx, [0x180000000]
movzx r8d, byte [rax + rcx + 0x383e40]
cmp r8d, 1
jne 0x1800f2f25
movsxd rcx, r15d
movzx edx, word [r11 + rcx*2]
test r15d, r15d
je 0x1800f2f12
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r11 + rcx*2 - 2]
sub rcx, 1
mov word [r11 + rcx*2 + 2], ax
jne 0x1800f2f00
mov r9d, dword [rsp + 0x34]
inc r9d
mov word [r11], dx
mov dword [rsp + 0x34], r9d
jmp 0x1800f2f2a
mov r9d, dword [rsp + 0x34]
mov r15d, dword [rsp + 0x70]
mov ebx, dword [rsp + 0x60]
test r9d, r9d
jle 0x1800f2f47
mov rdi, qword [rsp + 0x40]
mov eax, 1
mov ecx, r9d
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x40]
lea edi, [r9 + 1]
movsxd rax, r9d
mov dword [rsp + 0x64], edi
mov byte [rax + rcx], 6
cmp edi, r10d
jge 0x1800f2fde
movsxd rax, edi
lea r9, [0x180000000]
add rcx, rax
mov ebp, 0x4ff
mov r8d, 0x900
lea rdx, [r11 + rax*2]
mov eax, r10d
sub eax, edi
mov esi, eax
nop dword [rax]
nop word [rax + rax]
movzx edi, word [rdx]
movzx eax, di
sub ax, r8w
cmp ax, bp
ja 0x1800f2fad
movzx eax, di
movzx eax, byte [rax + r9 + 0x383e40]
jmp 0x1800f2faf
xor al, al
mov byte [rcx], al
movzx eax, word [rdx]
cmp ax, r15w
je 0x1800f2fc0
cmp ax, r13w
jne 0x1800f2fc3
mov byte [rcx], 9
add rdx, 2
inc rcx
sub rsi, 1
jne 0x1800f2f90
mov edi, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x40]
mov r9d, dword [rsp + 0x34]
test ebx, ebx
jle 0x1800f3018
mov edx, edi
cmp edi, r10d
jge 0x1800f300f
movzx esi, word [rsp + 0x38]
nop
movsxd rax, edx
mov ecx, edx
cmp word [r11 + rax*2], si
cmovne ecx, ebx
inc edx
mov ebx, ecx
cmp edx, r10d
jl 0x1800f2ff0
mov dword [rsp + 0x60], ecx
mov rcx, qword [rsp + 0x40]
movsxd rax, ebx
mov word [rax + rcx], 0x907
movsxd rbx, edi
cmp ebx, r10d
jge 0x1800f305d
cmp word [r11 + rbx*2], r15w
cmovne ebx, r9d
movsxd rcx, ebx
lea ebx, [rcx + 1]
cmp ebx, r10d
jge 0x1800f3058
cmp word [r11 + rcx*2 + 2], r13w
cmovne ebx, ecx
inc ebx
movsxd rcx, ebx
mov ebx, ecx
cmp ecx, r10d
jge 0x1800f3058
mov edx, 0x200d
cmp word [r11 + rcx*2], dx
jne 0x1800f3058
lea ebx, [rcx + 1]
mov rcx, qword [rsp + 0x40]
movsxd rdx, dword [rsp + 0x4c]
lea rsi, [0x180000000]
mov rsi, qword [rsi + rdx*8 + 0x384c10]
mov qword [rsp + 0x90], rsi
cmp dword [rsi], 0
je 0x1800f32a7
lea eax, [r10 - 1]
movsxd r9, ebx
mov dword [rsp + 0x68], eax
nop dword [rax]
cmp ebx, eax
jge 0x1800f32a3
mov r15d, ebx
cmp ebx, r10d
jge 0x1800f328e
movsxd r14, ebx
lea ebp, [rbx + 1]
movsxd r12, ebp
lea rdx, [r11 + r14*2]
lea rdi, [r12 + rcx]
mov qword [rsp + 0x88], rdx
lea r8, [r11 + r12*2]
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x98], r8
lea r13, [r14 + rcx]
nop dword [rax]
nop word [rax + rax]
movzx r10d, word [rdx]
mov ecx, 0x900
movzx eax, r10w
sub ax, cx
mov ecx, 0x4ff
cmp ax, cx
ja 0x1800f310f
movzx eax, r10w
lea rcx, [0x180000000]
movzx ecx, byte [rax + rcx + 0x383940]
jmp 0x1800f3139
mov eax, 0x25cc
cmp r10w, ax
jne 0x1800f3121
mov ecx, 1
jmp 0x1800f3139
mov ecx, 0x200c
movzx eax, r10w
sub ax, cx
xor ecx, ecx
cmp ax, 1
seta cl
add ecx, 9
cmp ecx, dword [rsi]
jne 0x1800f323e
movzx r11d, byte [r13]
cmp r11d, dword [rsi + 4]
jne 0x1800f323e
cmp r15d, dword [rsp + 0x68]
jge 0x1800f31d3
cmp byte [rdi], 9
jne 0x1800f31d3
movzx esi, word [r8]
movsxd rax, ebp
cmp r12, rax
jle 0x1800f31a9
mov rcx, rdi
mov rdx, r8
mov rdi, r12
sub rdi, rax
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rdx - 4]
lea rcx, [rcx - 1]
mov word [rdx], ax
lea rdx, [rdx - 2]
movzx eax, byte [rcx - 1]
mov byte [rcx + 1], al
sub rdi, 1
jne 0x1800f3180
mov rdx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x70]
mov rax, qword [rsp + 0x58]
add ebx, 2
mov rcx, qword [rsp + 0x40]
add ebp, 2
mov word [rax + r9*2], r10w
mov word [rax + r9*2 + 2], si
mov byte [r9 + rcx], r11b
mov byte [r9 + rcx + 1], r11b
add r9, 2
jmp 0x1800f3243
cmp r14, r9
jle 0x1800f3222
mov rdi, r14
mov rsi, r13
sub rdi, r9
mov r8, rdx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [r8 - 2]
lea rsi, [rsi - 1]
mov word [r8], ax
lea r8, [r8 - 2]
movzx eax, byte [rsi]
mov byte [rsi + 1], al
sub rdi, 1
jne 0x1800f31f0
mov rdx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x70]
mov r8, qword [rsp + 0x98]
mov rax, qword [rsp + 0x58]
inc ebx
mov rcx, qword [rsp + 0x40]
inc ebp
mov word [rax + r9*2], r10w
mov byte [r9 + rcx], r11b
inc r9
jmp 0x1800f3243
mov rcx, qword [rsp + 0x40]
mov r10d, dword [rsp + 0x48]
inc rdi
mov rsi, qword [rsp + 0x90]
add r8, 2
add rdx, 2
mov qword [rsp + 0x70], rdi
inc r15d
mov qword [rsp + 0x98], r8
inc r12
mov qword [rsp + 0x88], rdx
inc r14
inc r13
cmp r15d, r10d
jl 0x1800f30e0
mov r11, qword [rsp + 0x58]
lea eax, [r10 - 1]
add rsi, 8
mov qword [rsp + 0x90], rsi
cmp dword [rsi], 0
jne 0x1800f3090
mov edi, dword [rsp + 0x64]
mov ebx, dword [rsp + 0x60]
mov esi, dword [rsp + 0x48]
test ebx, ebx
jle 0x1800f32d5
cmp edi, esi
jge 0x1800f32d5
movzx edx, word [rsp + 0x38]
nop dword [rax]
movsxd rax, edi
mov ecx, edi
cmp word [r11 + rax*2], dx
cmovne ecx, ebx
inc edi
mov ebx, ecx
cmp edi, esi
jl 0x1800f32c0
mov ebp, 1
mov r14, qword [rsp + 0x78]
mov r8d, esi
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [r14 + 0x20]
mov r15d, dword [rdx]
mov r9, qword [r14 + 0x40]
mov dword [rsp + 0x68], r15d
mov rax, qword [rcx]
mov rdi, qword [rax]
movzx eax, byte [r14 + 0x18]
and al, 1
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], rdx
mov rdx, r11
call rdi
test al, al
je 0x1800f3871
xor r13d, r13d
test esi, esi
jle 0x1800f33e3
mov ecx, r13d
mov rdx, rsi
nop
mov rax, qword [r14 + 0x48]
lea rcx, [rcx + 2]
and byte [rax + rcx - 2], 0xdf
mov rax, qword [r14 + 0x48]
and byte [rax + rcx - 2], 0xef
mov rax, qword [r14 + 0x48]
and byte [rax + rcx - 2], 0xf0
mov rax, qword [r14 + 0x48]
and byte [rax + rcx - 2], 0xbf
sub rdx, 1
jne 0x1800f3330
mov rdi, qword [rsp + 0x58]
lea r12, [0x180000000]
mov r14d, 0x25cc
mov r15d, 0x900
nop word [rax + rax]
movzx edx, word [rdi]
mov ecx, 0x4ff
movzx eax, dx
sub ax, r15w
cmp ax, cx
ja 0x1800f33a2
movzx eax, dx
movzx ecx, byte [rax + r12 + 0x383940]
jmp 0x1800f33c1
cmp dx, r14w
jne 0x1800f33ac
mov ecx, ebp
jmp 0x1800f33c1
mov ecx, r13d
mov eax, 0x200c
sub dx, ax
cmp dx, 1
seta cl
add ecx, 9
cmp ecx, 9
sete al
add rdi, 2
or byte [rsp + 0x30], al
sub rsi, 1
jne 0x1800f3380
mov r15d, dword [rsp + 0x68]
mov esi, dword [rsp + 0x48]
mov r14, qword [rsp + 0x78]
cmp byte [rsp + 0x51], 0
mov r12, qword [rsp + 0x58]
je 0x1800f3867
movsxd rdi, esi
lea rbp, [rsp + 0xeb0]
cmp esi, 0x200
jl 0x1800f3413
lea rcx, [rdi + rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
lea r14, [rsp + 0xb0]
cmp esi, 0x200
jl 0x1800f3434
lea rcx, [rdi*4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
mov ecx, r13d
test esi, esi
jle 0x1800f3459
mov rdx, rbp
nop
mov word [rdx], cx
lea rdx, [rdx + 2]
inc ecx
cmp ecx, esi
jl 0x1800f3440
mov ecx, esi
mov rdi, r14
mov eax, 0x7ff407f4
rep stosd dword [rdi], eax
mov rdi, qword [rsp + 0x78]
mov eax, dword [rdi + 0xc]
test eax, eax
je 0x1800f34a2
lea ecx, [rax - 1]
mov rax, qword [rdi]
movzx ecx, word [rax + rcx*2]
call fcn.1800f71f0
mov ecx, eax
mov eax, 1
shl eax, cl
test eax, 0x7c000
jne 0x1800f34a6
mov ecx, dword [rdi + 0xc]
mov rax, qword [rdi]
dec ecx
movzx ecx, word [rax + rcx*2]
call fcn.1800f71f0
mov ecx, eax
mov eax, 1
shl eax, cl
test al, 7
jne 0x1800f34a6
and dword [r14], 0xfffffffb
mov r10d, dword [rsp + 0x34]
test r10d, r10d
js 0x1800f34cd
lea eax, [r10 + 1]
mov rcx, r14
movsxd rdx, eax
nop word [rax + rax]
and dword [rcx], 0xffffffef
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1800f34c0
test ebx, ebx
js 0x1800f34df
movsxd rax, ebx
and dword [r14 + rax*4], 0xffffffdf
and dword [r14 + rax*4 + 4], 0xffffffdf
lea r9d, [r10 + 1]
cmp r9d, esi
jge 0x1800f3510
movsxd rax, r9d
mov edx, esi
sub edx, r9d
lea rcx, [r14 + rax*4]
nop dword [rax]
nop dword [rax + rax]
and dword [rcx], 0xffffff7f
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1800f3500
mov eax, dword [rsp + 0x4c]
cmp eax, 8
je 0x1800f3522
cmp eax, 0xb
jne 0x1800f35c2
xor dil, dil
lea edx, [r10 - 2]
cmp edx, 1
jle 0x1800f35c2
movzx r9d, word [rsp + 0x38]
lea r8d, [rdx - 1]
movsxd rax, edx
lea r11, [0x180000000]
mov ebx, 0x900
lea rsi, [r12 + rax*2]
mov r12d, 0x25cc
lea rcx, [r14 + rax*4]
nop dword [rax]
movzx edx, word [rsi]
movzx eax, dx
sub ax, bx
cmp ax, word [rsp + 0x84]
ja 0x1800f3581
movzx eax, dx
cmp byte [rax + r11 + 0x383940], 1
jmp 0x1800f3585
cmp dx, r12w
jne 0x1800f35a7
test dil, dil
jne 0x1800f35a4
cmp dx, r9w
jne 0x1800f35a4
and dword [rcx], 0xffffff7f
mov dil, 1
and dword [rcx + 4], 0xffffff7f
jmp 0x1800f35a7
xor dil, dil
sub rsi, 2
sub rcx, 4
sub r8, 1
jne 0x1800f3560
mov esi, dword [rsp + 0x48]
lea r9d, [r10 + 1]
mov r12, qword [rsp + 0x58]
test r10d, r10d
jle 0x1800f35e0
mov rax, r14
mov rcx, r10
nop dword [rax]
and dword [rax], 0xfffffdff
lea rax, [rax + 4]
sub rcx, 1
jne 0x1800f35d0
cmp byte [rsp + 0x30], 0
je 0x1800f362f
cmp esi, 2
jle 0x1800f362f
lea eax, [rsi - 2]
mov rcx, r14
mov edi, eax
lea rdx, [r12 + 4]
mov r8d, 0x200c
mov r10d, 0x200d
movzx eax, word [rdx]
cmp ax, r10w
je 0x1800f3614
cmp ax, r8w
jne 0x1800f3621
and dword [rcx + 4], 0xfffffdff
and dword [rcx], 0xfffffdff
add rcx, 4
add rdx, 2
sub rdi, 1
jne 0x1800f3605
cmp r9d, esi
jge 0x1800f3650
movsxd rax, r9d
sub esi, r9d
lea rcx, [r14 + rax*4]
mov eax, esi
and dword [rcx], 0xfffffbff
lea rcx, [rcx + 4]
sub rax, 1
jne 0x1800f3640
mov rdi, qword [rsp + 0x78]
mov rdx, r14
mov rcx, rdi
mov qword [rdi + 0x60], rbp
call fcn.1800f4980
mov rax, qword [rdi + 0x28]
mov rcx, qword [rax + 0x40]
mov eax, dword [rsp + 0x4c]
movsxd rsi, dword [rcx + 4]
mov rbx, qword [rcx + 0x18]
cmp eax, 0x10
je 0x1800f3686
cmp eax, 0xd
jne 0x1800f3724
movzx ecx, word [r12]
mov edx, 0x900
movzx eax, cx
sub ax, dx
mov edx, 0x4ff
cmp ax, dx
ja 0x1800f3724
movzx eax, cx
lea rcx, [0x180000000]
cmp byte [rax + rcx + 0x383940], 4
jne 0x1800f3724
mov eax, r13d
mov rdi, rsi
test esi, esi
jle 0x1800f36e3
mov r8d, dword [rsp + 0x34]
lea rcx, [rbx + 8]
mov rdx, r13
nop
cmp dword [rcx], r8d
jg 0x1800f36e3
inc eax
inc rdx
add rcx, 0x14
cmp rdx, rsi
jl 0x1800f36d0
movsxd r9, eax
dec eax
cmp eax, esi
jge 0x1800f3724
cmp eax, 1
jle 0x1800f3724
movups xmm0, xmmword [rbx]
mov r8d, dword [rbx + 0x10]
dec eax
test eax, eax
jle 0x1800f3713
lea rcx, [rax + rax*4]
mov rdi, rbx
shl rcx, 2
lea rsi, [rbx + 0x14]
shr rcx, 2
rep movsd dword [rdi], dword [rsi]
lea rax, [r9 - 2]
lea rax, [rax + rax*4]
movups xmmword [rbx + rax*4], xmm0
mov dword [rbx + rax*4 + 0x10], r8d
mov edx, r15d
xor r8d, r8d
mov r15, qword [rsp + 0x78]
mov rcx, r15
call fcn.1800f4650
movzx edi, al
lea rax, [rsp + 0xeb0]
cmp rax, rbp
je 0x1800f3750
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rax, [rsp + 0xb0]
cmp rax, r14
je 0x1800f3766
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test dil, dil
je 0x1800f3871
cmp byte [rsp + 0x30], 0
je 0x1800f3828
mov edx, dword [r15 + 0x3c]
mov esi, r13d
test edx, edx
je 0x1800f3824
nop dword [rax]
mov eax, r13d
mov edi, 0x900
lea rcx, [rax + rax*4]
mov eax, dword [rbx + rcx*4 + 8]
movzx ecx, word [r12 + rax*2]
movzx eax, cx
sub ax, di
mov edi, 0x4ff
cmp ax, di
ja 0x1800f37cb
movzx eax, cx
lea rcx, [0x180000000]
cmp byte [rax + rcx + 0x383940], 9
jne 0x1800f37e1
jmp 0x1800f37d9
mov eax, 0x200c
sub cx, ax
cmp cx, 1
ja 0x1800f37e1
inc r13d
cmp r13d, edx
jae 0x1800f3824
mov rcx, qword [r15 + 0x40]
mov edx, esi
inc esi
mov edi, r13d
inc r13d
mov eax, dword [rcx + rdi*4]
mov dword [rcx + rdx*4], eax
mov rcx, qword [r15 + 0x48]
movzx eax, word [rcx + rdi*2]
mov word [rcx + rdx*2], ax
mov rcx, qword [r15 + 0x58]
mov rax, qword [rcx + rdi*8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r15 + 0x50]
mov eax, dword [rcx + rdi*4]
mov dword [rcx + rdx*4], eax
mov edx, dword [r15 + 0x3c]
cmp r13d, edx
jb 0x1800f3790
mov dword [r15 + 0x3c], esi
mov r14, r15
mov rax, qword [r14 + 0x48]
or byte [rax], 0x10
lea rax, [rsp + 0xab0]
cmp rax, r12
je 0x1800f3848
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x40]
lea rcx, [rsp + 0x8b0]
cmp rcx, rax
je 0x1800f3863
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov al, 1
jmp 0x1800f38a9
mov rcx, r14
call fcn.1800f3f90
jmp 0x1800f382b
mov rax, qword [rsp + 0x58]
lea rcx, [rsp + 0xab0]
cmp rcx, rax
je 0x1800f388c
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x40]
lea rcx, [rsp + 0x8b0]
cmp rcx, rax
je 0x1800f38a7
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor al, al
mov rbx, qword [rsp + 0x1300]
mov r12, qword [rsp + 0x12c0]
mov rcx, qword [rsp + 0x12b0]
xor rcx, rsp
call fcn.1802e1ba0
add rsp, 0x12c8
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret