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

Disassembly:
mov dword [rsp + 0x20], r9d
mov word [rsp + 0x18], r8w
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2e0
mov rax, qword [rsp + 0x2f0]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x2f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x58]
add rax, 0x88
mov qword [rsp + 0xa8], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax + 0x88]
mov dword [rsp + 0x38], eax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax + 0x8c]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x2f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x2f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x2f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x2f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x78], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x54], 0
lea rax, [rsp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rsp + 0x1d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
cmp dword [rsp + 0x308], 0
je 0x1400019ed
mov eax, dword [rsp + 0x308]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x2f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
jmp 0x140001d1f
mov dword [rsp + 0x34], 0
jmp 0x140001a01
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x34], eax
jae 0x140001d1d
movzx eax, word [rsp + 0x300]
test eax, eax
jne 0x140001a70
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x98]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x2f0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140001d30
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x2f8]
cmp dword [rsp + 0x48], eax
je 0x140001a60
mov dword [rsp + 0x4c], 1
jmp 0x140001a68
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x3c], eax
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x60]
mov edx, dword [rsp + 0x38]
cmp dword [rcx + rax*4], edx
jbe 0x140001c97
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0x88]
mov edx, dword [rsp + 0x38]
add edx, ecx
mov ecx, edx
mov rdx, qword [rsp + 0x60]
cmp dword [rdx + rax*4], ecx
jae 0x140001c97
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x2f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0
jmp 0x140001af8
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x140001c7c
movsxd rax, dword [rsp + 0x30]
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
movzx eax, byte [rdx + rax]
mov byte [rsp + rcx + 0xc0], al
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
movsx eax, byte [rcx + rax]
cmp eax, 0x2e
jne 0x140001c77
mov eax, dword [rsp + 0x30]
inc eax
cdqe
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
movsxd rax, dword [rsp + 0x30]
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
movzx eax, byte [rdx + rax]
mov byte [rsp + rcx + 0xc0], al
mov eax, dword [rsp + 0x30]
inc eax
cdqe
mov byte [rsp + rax + 0xc0], 0x64
mov eax, dword [rsp + 0x30]
add eax, 2
cdqe
mov byte [rsp + rax + 0xc0], 0x6c
mov eax, dword [rsp + 0x30]
add eax, 3
cdqe
mov byte [rsp + rax + 0xc0], 0x6c
movzx eax, word [rsp + 0x300]
test eax, eax
jne 0x140001c77
cmp dword [rsp + 0x3c], 0
jne 0x140001c75
lea rcx, [rsp + 0xc0]
call qword [rsp + 0x310]
mov qword [rsp + 0x90], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movsx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140001c39
mov rax, qword [rsp + 0x80]
inc rax
mov rcx, rax
call fcn.140001730
and eax, 0xffff
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x310]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x90]
call fcn.140001820
jmp 0x140001d1f
mov rcx, qword [rsp + 0x80]
call fcn.140001d30
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x310]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x90]
call fcn.140001820
jmp 0x140001d1f
jmp 0x140001c7c
jmp 0x140001aee
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0xc0]
call fcn.140001e60
nop
jmp 0x140001d18
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x2f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
movzx eax, word [rsp + 0x300]
test eax, eax
jne 0x140001cef
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x98]
cmp dword [rcx + rax*4], 0
je 0x140001ced
cmp dword [rsp + 0x3c], 0
jne 0x140001ced
mov rax, qword [rsp + 0x78]
jmp 0x140001d1f
jmp 0x140001d18
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax*2]
movzx ecx, word [rsp + 0x300]
mov rdx, qword [rsp + 0x70]
sub ecx, dword [rdx + 0x10]
cmp eax, ecx
jne 0x140001d18
mov rax, qword [rsp + 0x78]
jmp 0x140001d1f
jmp 0x1400019f7
xor eax, eax
add rsp, 0x2e0
pop rdi
ret