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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x328
mov rax, qword [0x180333438]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x340]
mov rax, qword [rax + 0x1a8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x340]
movsx eax, byte [rax + 0x1f2]
test eax, eax
jle 0x1801d430b
mov byte [rsp + 0x21], 1
jmp 0x1801d4310
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x340]
movsx eax, byte [rax + 0x1f4]
test eax, eax
jle 0x1801d4333
mov byte [rsp + 0x22], 1
jmp 0x1801d4338
mov byte [rsp + 0x22], 0
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x24], al
mov dword [rsp + 0x6c], 0
mov qword [rsp + 0x120], 4
lea rax, [rsp + 0x280]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x228], rax
mov rax, qword [rsp + 0x120]
dec rax
mov qword [rsp + 0x120], rax
cmp qword [rsp + 0x228], 0
jbe 0x1801d43c7
lea rax, [0x1801c8b40]
mov qword [rsp + 0x230], rax
mov rcx, qword [rsp + 0x128]
call qword [rsp + 0x230]
mov rax, qword [rsp + 0x128]
add rax, 0x28
mov qword [rsp + 0x128], rax
jmp 0x1801d4365
mov dword [rsp + 0x30], 0
jmp 0x1801d43db
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x340]
mov eax, dword [rax + 0x74]
cmp dword [rsp + 0x30], eax
jge 0x1801d492a
mov eax, dword [rsp + 0x30]
mov ecx, 1
mov qword [rsp + 0x190], rcx
movzx ecx, al
mov rax, qword [rsp + 0x190]
shl rax, cl
mov rcx, qword [rsp + 0x340]
mov rcx, qword [rcx + 0x58]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x1801d4428
jmp 0x1801d43d1
mov rax, qword [rsp + 0x340]
add rax, 0x18
mov qword [rsp + 0x198], rax
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x68
mov rcx, qword [rsp + 0x198]
add rax, qword [rcx]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x50], rax
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1801d447b
mov dword [rsp + 0xbc], 2
jmp 0x1801d4486
mov dword [rsp + 0xbc], 1
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x108], eax
mov dword [rsp + 0x34], 0
jmp 0x1801d44a8
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x108]
cmp dword [rsp + 0x34], eax
jge 0x1801d491c
cmp dword [rsp + 0x34], 0
jne 0x1801d44cf
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x58]
mov byte [rsp + 0x23], al
jmp 0x1801d44dc
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x59]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x1a8], rax
movsxd rax, dword [rsp + 0x58]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x1a8]
add rax, qword [rcx + 8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
cmp dword [rax], 0
jle 0x1801d45a6
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov eax, dword [rax]
dec eax
cdqe
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x170]
mov rcx, qword [rcx + 8]
cmp dword [rcx + rax + 0x20], 0
jne 0x1801d45a6
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov eax, dword [rax]
dec eax
cdqe
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x140]
mov rcx, qword [rcx + 8]
cmp qword [rcx + rax + 0x28], 0
je 0x1801d45a6
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov eax, dword [rax]
dec eax
mov rcx, qword [rsp + 0x148]
mov dword [rcx], eax
mov rax, qword [rsp + 0x78]
cmp dword [rax], 1
je 0x1801d45b5
jmp 0x1801d449e
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
and eax, 0x100
test eax, eax
jne 0x1801d46e2
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1801d4645
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x48]
movss dword [rsp + 0xc8], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x44]
movss dword [rsp + 0xc0], xmm0
movss xmm0, dword [rsp + 0xc0]
comiss xmm0, dword [rsp + 0xc8]
jb 0x1801d461f
movss xmm0, dword [rsp + 0xc0]
movss dword [rsp + 0xd0], xmm0
jmp 0x1801d4631
movss xmm0, dword [rsp + 0xc8]
movss dword [rsp + 0xd0], xmm0
movss xmm0, dword [rsp + 0xd0]
movss dword [rsp + 0x68], xmm0
jmp 0x1801d46cc
cmp dword [rsp + 0x34], 0
jne 0x1801d46bc
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x48]
movss dword [rsp + 0xe8], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x40]
movss dword [rsp + 0xd8], xmm0
movss xmm0, dword [rsp + 0xd8]
comiss xmm0, dword [rsp + 0xe8]
jb 0x1801d4699
movss xmm0, dword [rsp + 0xd8]
movss dword [rsp + 0x90], xmm0
jmp 0x1801d46ab
movss xmm0, dword [rsp + 0xe8]
movss dword [rsp + 0x90], xmm0
movss xmm0, dword [rsp + 0x90]
movss dword [rsp + 0x68], xmm0
jmp 0x1801d46cc
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x44]
movss dword [rsp + 0x68], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x68]
comiss xmm0, dword [rax + 0x28]
jbe 0x1801d46e2
jmp 0x1801d449e
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1801d470d
mov rax, qword [rsp + 0x340]
movsx eax, byte [rax + 0x1f4]
cmp dword [rsp + 0x30], eax
jge 0x1801d470d
mov dword [rsp + 0x98], 0
jmp 0x1801d4718
mov dword [rsp + 0x98], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1801d4735
cmp dword [rsp + 0x34], 0
jne 0x1801d4735
mov dword [rsp + 0x94], 0
jmp 0x1801d4740
mov dword [rsp + 0x94], 2
mov eax, dword [rsp + 0x94]
mov ecx, dword [rsp + 0x98]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x9c], eax
movsxd rax, dword [rsp + 0x9c]
imul rax, rax, 0x28
lea rax, [rsp + rax + 0x280]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x10], 0
jne 0x1801d480a
lea rax, [rsp + 0x238]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
movss xmm0, dword [0x1802aee0c]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x150]
movss xmm0, dword [0x1802aee0c]
movss dword [rax + 4], xmm0
lea rax, [rsp + 0x240]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
movss xmm0, dword [0x1802aee20]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x158]
movss xmm0, dword [0x1802aee20]
movss dword [rax + 4], xmm0
lea rax, [rsp + 0x238]
mov rdi, qword [rsp + 0x70]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x70]
add rax, 0x14
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x160], rax
mov eax, dword [rsp + 0x58]
and eax, 0x1f
mov ecx, 1
mov dword [rsp + 0x10c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x10c]
shl eax, cl
mov dword [rsp + 0x110], eax
mov eax, dword [rsp + 0x58]
sar eax, 5
cdqe
mov rcx, qword [rsp + 0x160]
mov edx, dword [rsp + 0x110]
mov eax, dword [rcx + rax*4]
or eax, edx
mov ecx, dword [rsp + 0x58]
sar ecx, 5
movsxd rcx, ecx
mov rdx, qword [rsp + 0x160]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x10]
inc eax
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x1b8], rax
xor eax, eax
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x1b8]
mov rcx, qword [rcx + 8]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0x248]
call fcn.1801495c0
lea rdx, [rsp + 0x248]
mov rcx, qword [rsp + 0x1c0]
call fcn.18014aae0
mov eax, dword [rsp + 0x9c]
mov ecx, 1
mov dword [rsp + 0x114], ecx
movzx ecx, al
mov eax, dword [rsp + 0x114]
shl eax, cl
mov ecx, dword [rsp + 0x6c]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
jmp 0x1801d449e
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x57], 0xff
jmp 0x1801d43d1
cmp dword [rsp + 0x6c], 0
je 0x1801d4ffb
mov dword [rsp + 0x220], 2
mov rax, qword [rsp + 0x130]
add rax, 0x4290
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 4]
sub eax, 2
mov edx, eax
mov rcx, qword [rsp + 0x1c8]
call fcn.1801b6060
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x4298]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x178]
mov r8d, 0x14
xor edx, edx
mov rcx, rax
call fcn.180244240
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 4]
mov dword [rsp + 0x118], eax
lea rax, [rsp + 0x178]
mov r8d, dword [rsp + 0x118]
mov edx, 2
mov rcx, rax
call fcn.1801ccc80
mov rax, qword [rsp + 0x340]
movzx eax, byte [rax + 0x1f8]
mov edx, eax
lea rcx, [rsp + 0x178]
call fcn.1801ca9d0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1801d49fc
mov dword [rsp + 0xa0], 3
jmp 0x1801d4a07
mov dword [rsp + 0xa0], 2
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0xa0]
mov eax, dword [rax + 4]
sub eax, ecx
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0xf0]
mov rcx, qword [rsp + 0x340]
mov rdi, rax
lea rsi, [rcx + 0x164]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x28], 0
jmp 0x1801d4a51
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 4
jge 0x1801d4eb6
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0x28
mov eax, dword [rsp + rax + 0x290]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
je 0x1801d4e3e
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0x28
lea rax, [rsp + rax + 0x280]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x80]
mov rdi, rax
mov rsi, qword [rsp + 0xe0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x28]
and eax, 1
test eax, eax
je 0x1801d4ac2
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x1801d4b0d
movss xmm0, dword [rsp + 0xf0]
comiss xmm0, dword [rsp + 0x80]
jbe 0x1801d4ae9
movss xmm0, dword [rsp + 0x80]
movss dword [rsp + 0xa4], xmm0
jmp 0x1801d4afb
movss xmm0, dword [rsp + 0xf0]
movss dword [rsp + 0xa4], xmm0
movss xmm0, dword [rsp + 0xa4]
movss dword [rsp + 0x80], xmm0
mov eax, dword [rsp + 0x28]
and eax, 2
test eax, eax
je 0x1801d4b21
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1801d4b6c
movss xmm0, dword [rsp + 0xf4]
comiss xmm0, dword [rsp + 0x84]
jbe 0x1801d4b48
movss xmm0, dword [rsp + 0x84]
movss dword [rsp + 0xa8], xmm0
jmp 0x1801d4b5a
movss xmm0, dword [rsp + 0xf4]
movss dword [rsp + 0xa8], xmm0
movss xmm0, dword [rsp + 0xa8]
movss dword [rsp + 0x84], xmm0
mov eax, dword [rsp + 0x28]
and eax, 1
test eax, eax
je 0x1801d4bc2
movss xmm0, dword [rsp + 0x88]
comiss xmm0, dword [rsp + 0xf8]
jb 0x1801d4b9e
movss xmm0, dword [rsp + 0x88]
movss dword [rsp + 0xac], xmm0
jmp 0x1801d4bb0
movss xmm0, dword [rsp + 0xf8]
movss dword [rsp + 0xac], xmm0
movss xmm0, dword [rsp + 0xac]
movss dword [rsp + 0x88], xmm0
mov eax, dword [rsp + 0x28]
and eax, 2
test eax, eax
je 0x1801d4c2c
mov rax, qword [rsp + 0x340]
mov eax, dword [rax + 4]
and eax, 0x20000
test eax, eax
jne 0x1801d4c2c
movss xmm0, dword [rsp + 0x8c]
comiss xmm0, dword [rsp + 0xfc]
jb 0x1801d4c08
movss xmm0, dword [rsp + 0x8c]
movss dword [rsp + 0xb0], xmm0
jmp 0x1801d4c1a
movss xmm0, dword [rsp + 0xfc]
movss dword [rsp + 0xb0], xmm0
movss xmm0, dword [rsp + 0xb0]
movss dword [rsp + 0x8c], xmm0
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x10]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], 0
jmp 0x1801d4c57
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 5
jge 0x1801d4c8f
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xe0]
mov eax, dword [rcx + rax*4 + 0x14]
not eax
movsxd rcx, dword [rsp + 0x38]
mov ecx, dword [rsp + rcx*4 + 0x178]
and ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x38]
mov dword [rsp + rcx*4 + 0x178], eax
jmp 0x1801d4c4d
mov dword [rsp + 0x2c], 0
jmp 0x1801d4ca3
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x2c], eax
jge 0x1801d4e3e
cmp dword [rsp + 0x5c], 0
je 0x1801d4e3e
mov rax, qword [rsp + 0xe0]
add rax, 0x14
mov qword [rsp + 0x1d0], rax
mov eax, dword [rsp + 0x2c]
and eax, 0x1f
mov ecx, 1
mov dword [rsp + 0x138], ecx
movzx ecx, al
mov eax, dword [rsp + 0x138]
shl eax, cl
mov dword [rsp + 0x13c], eax
mov eax, dword [rsp + 0x2c]
sar eax, 5
cdqe
mov rcx, qword [rsp + 0x1d0]
mov edx, dword [rsp + 0x13c]
mov eax, dword [rcx + rax*4]
and eax, edx
test eax, eax
je 0x1801d4d28
mov dword [rsp + 0xb4], 1
jmp 0x1801d4d33
mov dword [rsp + 0xb4], 0
movzx eax, byte [rsp + 0xb4]
test eax, eax
jne 0x1801d4d44
jmp 0x1801d4c99
mov rax, qword [rsp + 0xe0]
add rax, 0x14
mov qword [rsp + 0x1d8], rax
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x1d8]
call fcn.1801ca9d0
mov eax, dword [rsp + 0x5c]
dec eax
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x1e0], rax
movsxd rax, dword [rsp + 0x2c]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x1e0]
add rax, qword [rcx + 8]
mov qword [rsp + 0x168], rax
lea rdx, [rsp + 0x268]
lea rcx, [rsp + 0x80]
call fcn.180179cd0
lea rcx, [rsp + 0x258]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x1e8], rax
xor eax, eax
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x1e8]
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x258]
lea rdi, [rcx + rax]
mov rsi, rdx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x60]
add rax, 0x20
mov qword [rsp + 0x60], rax
mov r8d, 0x20
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x1f0]
call fcn.180244100
jmp 0x1801d4c99
cmp dword [rsp + 0x28], 1
jne 0x1801d4eb1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1801d4eb1
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x60]
add rax, 0x20
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x340]
movzx eax, byte [rax + 0x1f8]
cdqe
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x1f8]
add rax, qword [rcx + 8]
mov r8d, 0x20
mov rdx, rax
mov rcx, qword [rsp + 0x200]
call fcn.180244100
jmp 0x1801d4a47
mov dword [rsp + 0x3c], 0
jmp 0x1801d4eca
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x3c], eax
jge 0x1801d4fc6
cmp dword [rsp + 0x40], 0
je 0x1801d4fc6
mov eax, dword [rsp + 0x3c]
and eax, 0x1f
mov ecx, 1
mov dword [rsp + 0x100], ecx
movzx ecx, al
mov eax, dword [rsp + 0x100]
shl eax, cl
mov dword [rsp + 0x104], eax
mov eax, dword [rsp + 0x3c]
sar eax, 5
cdqe
mov ecx, dword [rsp + 0x104]
mov eax, dword [rsp + rax*4 + 0x178]
and eax, ecx
test eax, eax
je 0x1801d4f37
mov dword [rsp + 0xb8], 1
jmp 0x1801d4f42
mov dword [rsp + 0xb8], 0
movzx eax, byte [rsp + 0xb8]
test eax, eax
jne 0x1801d4f53
jmp 0x1801d4ec0
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x208], rax
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x208]
add rax, qword [rcx + 8]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x60]
add rax, 0x20
mov qword [rsp + 0x60], rax
mov r8d, 0x20
mov rdx, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x218]
call fcn.180244100
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x1801d4ec0
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 4]
sub eax, 2
cdqe
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x10]
add rcx, 0x40
mov r8, rax
mov rax, qword [rsp + 0x130]
mov rdx, qword [rax + 0x4298]
call fcn.180244100
add rsp, 0x328
pop rdi
pop rsi
ret