Function at 0x1400011e0
Capabilities:
Rebuild import table

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x178
mov rax, qword [0x140016008]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x140016a38]
mov qword [rsp + 0x100], rax
mov eax, dword [0x140016a58]
mov dword [rsp + 0xb8], eax
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0xb8]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
mov rcx, qword [rsp + 0x100]
call fcn.140001cf0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140001284
mov eax, dword [rsp + 0xb8]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call fcn.140001cf0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140001284
xor eax, eax
jmp 0x140001c1a
movzx eax, word [0x1400169e2]
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x30], 0
jmp 0x1400012ab
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x30], eax
jae 0x14000142a
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
lea rcx, str..text
mov rax, qword [rcx + rax]
mov eax, dword [rax + 0xc]
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
jne 0x1400012e4
jmp 0x1400012a1
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x98], 0
cmp dword [rsp + 0x58], 0
jne 0x140001334
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
lea rcx, str..text
mov ecx, dword [rcx + rax + 8]
call fcn.140001dd0
mov qword [rsp + 0x98], rax
jmp 0x14000139f
cmp dword [rsp + 0x30], 0
jbe 0x140001396
mov eax, dword [rsp + 0x30]
dec eax
mov eax, eax
imul rax, rax, 0x10
lea rcx, str..text
mov ecx, dword [rcx + rax + 8]
call fcn.140001dd0
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x30]
dec eax
mov eax, eax
imul rax, rax, 0x10
lea rcx, str..text
mov edx, dword [rsp + 0x58]
mov eax, dword [rcx + rax + 0xc]
sub eax, edx
mov eax, eax
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
jmp 0x14000139f
xor edx, edx
xor ecx, ecx
call fcn.1400031a8
cmp qword [rsp + 0x98], 0
jne 0x1400013b3
xor edx, edx
xor ecx, ecx
call fcn.1400031a8
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
lea rcx, str..text
mov rax, qword [rcx + rax]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
lea rcx, str..text
mov eax, dword [rcx + rax + 0xc]
cmp dword [rsp + 0x78], eax
je 0x140001405
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
lea rcx, str..text
mov edx, dword [rsp + 0x78]
mov eax, dword [rcx + rax + 0xc]
sub eax, edx
mov dword [rsp + 0x58], eax
jmp 0x14000140d
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x78]
mov rdi, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0x98]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
jmp 0x1400012a1
mov dword [rsp + 0x40], 0
jmp 0x14000143e
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x40], eax
jae 0x1400014d2
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x10
lea rcx, str..text
mov rax, qword [rcx + rax]
mov eax, dword [rax + 0xc]
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
jne 0x140001477
jmp 0x140001434
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x10
lea rcx, str..text
mov rax, qword [rcx + rax]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x108], rax
mov r8d, dword [rsp + 0x108]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc0]
call section..text
jmp 0x140001434
xor ecx, ecx
call fcn.1400011c0
mov ecx, eax
call fcn.140003d64
mov dword [rsp + 0x44], 0
jmp 0x1400014f4
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x100
jge 0x140001567
mov ecx, 0x100000
call fcn.140001e7c
mov qword [rsp + 0x110], rax
movsxd rax, dword [rsp + 0x44]
lea rcx, [0x140017e70]
mov rdx, qword [rsp + 0x110]
mov qword [rcx + rax*8], rdx
mov dword [rsp + 0x5c], 0
jmp 0x14000153c
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0x100000
jge 0x140001565
call fcn.140003d38
movsxd rcx, dword [rsp + 0x44]
lea rdx, [0x140017e70]
movsxd rdi, dword [rsp + 0x5c]
mov rcx, qword [rdx + rcx*8]
mov byte [rcx + rdi], al
jmp 0x140001532
jmp 0x1400014ea
mov dword [rsp + 0x48], 0
jmp 0x14000157b
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x48], eax
jae 0x140001697
mov eax, dword [rsp + 0x48]
imul rax, rax, 0x10
lea rcx, str..text
mov rax, qword [rcx + rax]
mov eax, dword [rax + 0xc]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
jne 0x1400015b4
jmp 0x140001571
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x48]
imul rax, rax, 0x10
lea rcx, str..text
mov rax, qword [rcx + rax]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x118], rax
mov dword [rsp + 0x80], 0x400
mov dword [rsp + 0x60], 0
jmp 0x14000160c
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x100
jge 0x140001665
call fcn.140003d38
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0x100000
jge 0x140001663
movsxd rax, dword [rsp + 0x60]
lea rcx, [0x140017e70]
movsxd rdx, dword [rsp + 0xa0]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + rdx]
imul eax, eax, 0x400
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x80], eax
jmp 0x140001602
cmp dword [rsp + 0x80], 0x85
je 0x140001692
mov r9b, 0xe6
mov r8d, dword [rsp + 0x118]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb0]
call fcn.1400010a0
jmp 0x140001571
mov eax, 8
imul rax, rax, 1
lea rcx, [0x140016a90]
mov eax, dword [rcx + rax]
add rax, qword [rsp + 0x38]
mov qword [rsp + 0x68], rax
mov eax, 8
imul rax, rax, 0xc
lea rcx, [0x140016a90]
cmp dword [rcx + rax], 0
je 0x1400016d7
mov dword [rsp + 0xa4], 0xc
jmp 0x1400016e2
mov dword [rsp + 0xa4], 1
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0xa8]
lea rcx, [0x140016a90]
mov eax, dword [rcx + rax*8]
mov dword [rsp + 0xe0], eax
mov eax, dword [rsp + 0xa8]
lea rcx, [0x140016a90]
mov eax, dword [rcx + rax*8 + 4]
mov qword [rsp + 0x158], rax
mov eax, dword [rsp + 0xe0]
add rax, qword [rsp + 0x38]
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x158]
lea rdx, [rsp + 0x148]
mov rcx, 0xffffffffffffffff
call fcn.140001d80
mov dword [rsp + 0xe4], eax
cmp dword [rsp + 0xe4], 0
jge 0x14000177d
xor eax, eax
jmp 0x140001c1a
xor eax, eax
cmp eax, 1
je 0x1400018e9
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0xc], 0
jne 0x140001798
jmp 0x1400018e9
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0xc]
add rax, qword [rsp + 0x38]
mov qword [rsp + 0x128], rax
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x10]
add rax, qword [rsp + 0x38]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax], 0
je 0x1400017f8
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
add rax, qword [rsp + 0x38]
mov qword [rsp + 0x88], rax
jmp 0x14000180d
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x10]
add rax, qword [rsp + 0x38]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
cmp qword [rax], 0
je 0x1400018d6
mov rax, qword [rsp + 0x88]
movabs rcx, 0x8000000000000000
mov rax, qword [rax]
and rax, rcx
test rax, rax
je 0x14000186b
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
and rax, 0xffff
mov rdx, rax
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0xd0]
mov qword [rcx], rax
jmp 0x1400018a9
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
lea rax, [rax + rcx + 2]
mov qword [rsp + 0x130], rax
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0xd0]
mov qword [rcx], rax
mov rax, qword [rsp + 0xd0]
add rax, 8
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x88]
add rax, 8
mov qword [rsp + 0x88], rax
jmp 0x14000180d
mov rax, qword [rsp + 0x68]
add rax, 0x14
mov qword [rsp + 0x68], rax
jmp 0x14000177d
mov rax, qword [0x140016a38]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
cmp qword [rsp + 0x38], rax
je 0x140001ba2
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x138], rax
mov eax, 8
imul rax, rax, 5
lea rcx, [0x140016a90]
mov eax, dword [rcx + rax]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
cmp dword [rax + 4], 0
je 0x140001ba2
mov rax, qword [rsp + 0x90]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x138]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 4]
sub rax, 8
xor edx, edx
mov ecx, 2
div rcx
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x90]
add rax, 8
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0xe8]
dec rax
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0x140], 0
je 0x140001b7c
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 1
je 0x140001abf
cmp dword [rsp + 0x64], 2
je 0x140001b17
cmp dword [rsp + 0x64], 3
je 0x140001a77
cmp dword [rsp + 0x64], 0xa
je 0x140001a2c
jmp 0x140001b69
mov eax, 0xfff
mov rcx, qword [rsp + 0x50]
movzx ecx, word [rcx]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx + rax]
add rax, qword [rsp + 0xd8]
mov ecx, 0xfff
mov rdx, qword [rsp + 0x50]
movzx edx, word [rdx]
and dx, cx
movzx ecx, dx
movzx ecx, cx
mov rdx, qword [rsp + 0x70]
mov qword [rdx + rcx], rax
jmp 0x140001b69
mov eax, 0xfff
mov rcx, qword [rsp + 0x50]
movzx ecx, word [rcx]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax]
add eax, dword [rsp + 0xd8]
mov ecx, 0xfff
mov rdx, qword [rsp + 0x50]
movzx edx, word [rdx]
and dx, cx
movzx ecx, dx
movzx ecx, cx
mov rdx, qword [rsp + 0x70]
mov dword [rdx + rcx], eax
jmp 0x140001b69
mov eax, 0xfff
mov rcx, qword [rsp + 0x50]
movzx ecx, word [rcx]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rsp + 0xd8]
shr rcx, 0x10
and rcx, 0xffff
movzx ecx, cx
mov rdx, qword [rsp + 0x70]
movzx eax, word [rdx + rax]
add eax, ecx
mov ecx, 0xfff
mov rdx, qword [rsp + 0x50]
movzx edx, word [rdx]
and dx, cx
movzx ecx, dx
movzx ecx, cx
mov rdx, qword [rsp + 0x70]
mov word [rdx + rcx], ax
jmp 0x140001b69
mov eax, 0xfff
mov rcx, qword [rsp + 0x50]
movzx ecx, word [rcx]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rsp + 0xd8]
and rcx, 0xffff
movzx ecx, cx
mov rdx, qword [rsp + 0x70]
movzx eax, word [rdx + rax]
add eax, ecx
mov ecx, 0xfff
mov rdx, qword [rsp + 0x50]
movzx edx, word [rdx]
and dx, cx
movzx ecx, dx
movzx ecx, cx
mov rdx, qword [rsp + 0x70]
mov word [rdx + rcx], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
jmp 0x1400019ba
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
jmp 0x140001959
mov eax, dword [0x140016a30]
add rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x190]
mov qword [rcx], rax
mov dword [rsp + 0x4c], 0
jmp 0x140001bcc
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0x100
jge 0x140001c15
movsxd rax, dword [rsp + 0x4c]
lea rcx, [0x140017e70]
cmp qword [rcx + rax*8], 0
je 0x140001c13
movsxd rax, dword [rsp + 0x4c]
lea rcx, [0x140017e70]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x120], rax
mov edx, 1
mov rcx, qword [rsp + 0x120]
call fcn.140001e74
jmp 0x140001bc2
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140001e50
add rsp, 0x178
pop rdi
pop rsi
ret