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

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov dword [rsp + 0x20], 0
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0xd0]
call fcn.140029840
nop
movzx eax, byte [rsp + 0xd8]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x140030fd8
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x100]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 1
jg 0x140030d34
mov qword [rsp + 0x90], 0
jmp 0x140030d6b
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x100]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
dec rax
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x100]
mov eax, dword [rcx + rax + 0x18]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
and eax, 0x1c0
cmp eax, 0x40
je 0x140030e77
jmp 0x140030db8
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x20], 0
jne 0x140030e77
cmp qword [rsp + 0x30], 0
jle 0x140030e77
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x100]
movzx eax, byte [rcx + rax + 0x58]
mov byte [rsp + 0x25], al
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x100]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0xb0], rax
movzx edx, byte [rsp + 0x25]
mov rcx, qword [rsp + 0xb0]
call fcn.14003c4f0
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], 0xffffffff
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x54], eax
jne 0x140030e4d
mov dword [rsp + 0x38], 1
jmp 0x140030e55
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x26], al
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x140030e72
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x140030dab
cmp dword [rsp + 0x20], 0
jne 0x140030f08
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x100]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0xb8], rax
movzx edx, byte [rsp + 0x108]
mov rcx, qword [rsp + 0xb8]
call fcn.14003c4f0
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x60], 0xffffffff
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x60], eax
jne 0x140030ee3
mov dword [rsp + 0x3c], 1
jmp 0x140030eeb
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x27], al
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x140030f08
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x140030f17
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x20], 0
jne 0x140030fd6
cmp qword [rsp + 0x30], 0
jle 0x140030fd6
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x100]
movzx eax, byte [rcx + rax + 0x58]
mov byte [rsp + 0x28], al
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x100]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0xc0], rax
movzx edx, byte [rsp + 0x28]
mov rcx, qword [rsp + 0xc0]
call fcn.14003c4f0
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], 0xffffffff
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x6c], eax
jne 0x140030fac
mov dword [rsp + 0x40], 1
jmp 0x140030fb4
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x29], al
movzx eax, byte [rsp + 0x29]
test eax, eax
je 0x140030fd1
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x140030f0a
jmp 0x140030fd8
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x100]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x28], 0
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x100]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x48], 0
je 0x14003106e
mov dword [rsp + 0x48], 0
jmp 0x140031076
mov dword [rsp + 0x48], 4
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x74]
or ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x48]
xor r8d, r8d
mov edx, eax
mov rcx, qword [rsp + 0x88]
call fcn.14002d030
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0xd0]
call fcn.14002a1b0
mov rax, qword [rsp + 0xc8]
add rsp, 0xf8
ret