Function at 0x18001c850
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 0x18001c8d6
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x20], eax
jge 0x18001c969
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax*4]
test eax, eax
je 0x18001c953
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 0x18001c964
movsxd rax, dword [rsp + 0x20]
xor ecx, ecx
mov rdx, qword [rsp + 0x30]
mov word [rdx + rax*4 + 2], cx
jmp 0x18001c8cc
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x192c], 2
jge 0x18001ca69
cmp dword [rsp + 0x28], 2
jge 0x18001c999
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x3c], eax
jmp 0x18001c9a1
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 0x18001ca64
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 0x18001c969
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 0x18001ca9b
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jl 0x18001cabb
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.18001c1b0
jmp 0x18001ca91
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.18001c1b0
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 0x18001cc51
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax + 0x1934]
mov byte [rsp + 0x24], al
jmp 0x18001cc6a
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.18001c1b0
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x192c], 2
jge 0x18001cabb
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.18001c390
mov r8d, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.18001c760
add rsp, 0x78
ret