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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x28], 0xffffffff
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x192c], 0
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1930], 0x23d
mov dword [rsp + 0x20], 0
jmp 0x180017406
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x20], eax
jge 0x180017499
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax*4]
test eax, eax
je 0x180017483
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x192c]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x48]
mov dword [rax + 0x192c], ecx
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov dword [rcx + rax*4 + 0x1038], edx
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov byte [rcx + rax + 0x1934], 0
jmp 0x180017494
movsxd rax, dword [rsp + 0x20]
xor ecx, ecx
mov rdx, qword [rsp + 0x30]
mov word [rdx + rax*4 + 2], cx
jmp 0x1800173fc
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x192c], 2
jge 0x180017599
cmp dword [rsp + 0x28], 2
jge 0x1800174c9
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x3c], eax
jmp 0x1800174d1
mov dword [rsp + 0x3c], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x192c]
inc eax
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x4c]
mov dword [rax + 0x192c], ecx
movsxd rax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x3c]
mov dword [rcx + rax*4 + 0x1038], edx
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x40], eax
movsxd rax, dword [rsp + 0x40]
mov ecx, 1
mov rdx, qword [rsp + 0x30]
mov word [rdx + rax*4], cx
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
mov byte [rcx + rax + 0x1934], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1af70]
dec eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x1af70], eax
cmp qword [rsp + 0x60], 0
je 0x180017594
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
movzx eax, word [rcx + rax*4 + 2]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x1af74]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x1af74], eax
jmp 0x180017499
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x192c]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x20], eax
jmp 0x1800175cb
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jl 0x1800175eb
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.180016cc0
jmp 0x1800175c1
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x1038]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 0x192c]
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x80]
mov eax, dword [r8 + rax*4 + 0x1038]
mov dword [rdx + rcx + 0x1038], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x192c]
dec eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x192c], eax
mov r8d, 1
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.180016cc0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x1038]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1930]
dec eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x50]
mov dword [rax + 0x1930], ecx
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax*4 + 0x1038], edx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1930]
dec eax
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x54]
mov dword [rax + 0x1930], ecx
movsxd rax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x38]
mov dword [rcx + rax*4 + 0x1038], edx
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax*4]
movsxd rcx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
movzx ecx, word [rdx + rcx*4]
add eax, ecx
movsxd rcx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x30]
mov word [rdx + rcx*4], ax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax + 0x1934]
movsxd rcx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx + 0x1934]
cmp eax, ecx
jl 0x180017781
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax + 0x1934]
mov byte [rsp + 0x24], al
jmp 0x18001779a
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax + 0x1934]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
inc eax
movsxd rcx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x80]
mov byte [rdx + rcx + 0x1934], al
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
movzx edx, word [rsp + 0x2c]
mov word [rcx + rax*4 + 2], dx
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx edx, word [rsp + 0x2c]
mov word [rcx + rax*4 + 2], dx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x2c]
mov dword [rcx + rax + 0x1038], edx
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov r8d, 1
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.180016cc0
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x192c], 2
jge 0x1800175eb
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1930]
dec eax
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0x1930], ecx
movsxd rax, dword [rsp + 0x58]
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x80]
mov ecx, dword [r8 + rcx + 0x1038]
mov dword [rdx + rax*4 + 0x1038], ecx
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.180016ea0
mov r8d, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.180017270
add rsp, 0x78
ret