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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x170
mov rax, qword [0x1400ae008]
xor rax, rsp
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xb0], rax
lea rax, [0x1400a0930]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x18], 7
mov rcx, qword [rsp + 0x180]
call fcn.14001d9a0
cmp qword [rsp + 0x198], rax
jbe 0x140030430
call fcn.1400017d0
cmp qword [rsp + 0x198], 8
jb 0x140030619
mov rcx, qword [rsp + 0x180]
call fcn.14001d9a0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x180]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xa8], rax
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x198]
call fcn.14002fb00
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
add rax, 1
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call fcn.14002f3a0
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140030510
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x158]
mov qword [rax], rcx
jmp 0x140030550
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x158]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140030619
mov qword [rsp + 0x40], 0
jmp 0x1400305a8
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x48]
inc rax
cmp qword [rsp + 0x40], rax
jae 0x140030619
mov qword [rsp + 0x80], 2
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x40]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xf8], rax
mov rdi, qword [rsp + 0xf8]
xor eax, eax
mov rcx, qword [rsp + 0x80]
rep stosb byte [rdi], al
jmp 0x14003059b
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x160], rax
jmp 0x14003063e
mov rax, qword [rsp + 0x188]
inc rax
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x190]
cmp qword [rsp + 0x188], rax
je 0x140030774
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 8
jb 0x140030674
mov dword [rsp + 0x38], 1
jmp 0x14003067c
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x1400306ab
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x188]
movsx ax, byte [rax]
mov word [rsp + 0x28], ax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x108]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x23], 0
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x14003074d
mov byte [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x14003073e
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
movzx ecx, word [rsp + 0x28]
mov word [rax], cx
jmp 0x14003074b
mov rax, qword [rsp + 0x50]
movzx ecx, word [rsp + 0x28]
mov word [rax], cx
jmp 0x14003075a
mov rax, qword [rsp + 0x50]
movzx ecx, word [rsp + 0x28]
mov word [rax], cx
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
inc rax
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x10], rax
jmp 0x14003062b
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 8
jb 0x140030794
mov dword [rsp + 0x3c], 1
jmp 0x14003079c
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x1400307cb
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x130], rax
xor eax, eax
mov word [rsp + 0x2a], ax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x130]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x26], 0
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x140030863
mov byte [rsp + 0x27], 0
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x140030854
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
movzx ecx, word [rsp + 0x2a]
mov word [rax], cx
jmp 0x140030861
mov rax, qword [rsp + 0x58]
movzx ecx, word [rsp + 0x2a]
mov word [rax], cx
jmp 0x140030870
mov rax, qword [rsp + 0x58]
movzx ecx, word [rsp + 0x2a]
mov word [rax], cx
mov qword [rsp + 0x160], 0
cmp qword [rsp + 0x160], 0
je 0x140030894
mov rcx, qword [rsp + 0x160]
call fcn.140022a20
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140037c10
add rsp, 0x170
pop rdi
ret