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

Disassembly:
push rdi
sub rsp, 0xd0
cmp dword [0x140030100], 0
je 0x14001b63c
mov eax, 1
jmp 0x14001ba96
mov rax, qword gs:[0x60]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x50], rax
jmp 0x14001b6a7
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x30], 0
je 0x14001b78a
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
add rax, 0x88
mov qword [rsp + 0xa0], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x14001b72b
jmp 0x14001b690
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
or eax, 0x20202020
cmp eax, 0x6c64746e
je 0x14001b76f
jmp 0x14001b690
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
jne 0x14001b785
jmp 0x14001b78a
jmp 0x14001b690
cmp qword [rsp + 0x40], 0
jne 0x14001b799
xor eax, eax
jmp 0x14001ba96
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x20], 0
lea rax, [0x140030108]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x30]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movzx eax, word [rax]
cmp eax, 0x775a
jne 0x14001b89d
mov rcx, qword [rsp + 0x68]
call fcn.14001b5a0
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x28]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x30]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0xb0]
movzx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0xb8]
mov eax, dword [r8 + rax*4]
mov dword [rdx + rcx + 4], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x226
jne 0x14001b89d
jmp 0x14001b8b2
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14001b80a
mov eax, dword [rsp + 0x20]
mov dword [0x140030100], eax
mov dword [rsp + 0x20], 0
jmp 0x14001b8d0
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [0x140030100]
dec eax
cmp dword [rsp + 0x20], eax
jae 0x14001b9fc
mov dword [rsp + 0x24], 0
jmp 0x14001b8f6
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [0x140030100]
sub ecx, eax
mov eax, ecx
dec eax
cmp dword [rsp + 0x24], eax
jae 0x14001b9f7
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov ecx, dword [rsp + 0x24]
inc ecx
mov ecx, ecx
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x28]
mov ecx, dword [r8 + rcx + 4]
cmp dword [rdx + rax + 4], ecx
jbe 0x14001b9f2
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax + 4]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x24]
inc eax
mov eax, eax
imul rax, rax, 0x10
mov ecx, dword [rsp + 0x24]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x28]
mov eax, dword [rdi + rax]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x24]
inc eax
mov eax, eax
imul rax, rax, 0x10
mov ecx, dword [rsp + 0x24]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x28]
mov eax, dword [rdi + rax + 4]
mov dword [rdx + rcx + 4], eax
mov eax, dword [rsp + 0x24]
inc eax
mov eax, eax
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x28]
mov edx, dword [rsp + 0x70]
mov dword [rcx + rax], edx
mov eax, dword [rsp + 0x24]
inc eax
mov eax, eax
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x28]
mov edx, dword [rsp + 0x74]
mov dword [rcx + rax + 4], edx
jmp 0x14001b8ec
jmp 0x14001b8c6
mov eax, 0x10
imul rax, rax, 1
mov ecx, 0x10
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x28]
mov ecx, dword [rdi + rcx + 4]
mov eax, dword [rdx + rax + 4]
sub eax, ecx
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x20], 0
jmp 0x14001ba3a
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [0x140030100]
dec eax
cmp dword [rsp + 0x20], eax
jae 0x14001ba91
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax + 4]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0xc0]
call fcn.14001b2f0
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x28]
mov qword [rdx + rcx + 8], rax
jmp 0x14001ba30
mov eax, 1
add rsp, 0xd0
pop rdi
ret