Function at 0x140051a64
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r15
sub rsp, 0x580
mov rax, qword [0x14009e140]
xor rax, rsp
mov qword [rsp + 0x570], rax
mov r15, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x80], rcx
lea r13, str.P5_n_
mov rcx, qword [str.P5_n_]
cmp rcx, r13
je 0x140051ad6
test byte [rcx + 0x1c], 4
je 0x140051ad6
cmp byte [rcx + 0x19], 5
jb 0x140051ad6
mov edx, 0xc
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.14000ffa8
mov dword [rsp + 0xe0], 0x30
lea r9, [fcn.140050dc4]
mov qword [rsp + 0xe8], r9
lea r8, [0x140050fac]
mov qword [rsp + 0xf0], r8
lea rdx, [0x140051154]
mov qword [rsp + 0xf8], rdx
lea rcx, [0x14005132c]
mov qword [rsp + 0x100], rcx
lea rax, [0x140051598]
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x90], 0x48
mov qword [rsp + 0x98], r9
mov qword [rsp + 0xa0], r8
mov qword [rsp + 0xa8], rdx
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rax
lea rax, [fcn.140053838]
mov qword [rsp + 0xc0], rax
lea rax, [fcn.140053d48]
mov qword [rsp + 0xc8], rax
mov rax, qword [0x1400a40c8]
mov rcx, qword [rax + 0x60]
mov qword [rsp + 0xd0], rcx
xor edi, edi
mov r12d, edi
mov dword [rsp + 0x50], edi
cmp r12d, dword [r15 + 0x18]
jae 0x140052a94
mov word [rsp + 0x170], di
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rsp + 0x172]
call sub.msvcrt.dll_memset
mov word [rsp + 0x370], di
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rsp + 0x372]
call sub.msvcrt.dll_memset
mov ecx, 0x6a0
call fcn.140076a54
mov rsi, rax
mov qword [rsp + 0x70], rax
cmp rax, rdi
jne 0x140051c42
mov rcx, qword [str.P5_n_]
cmp rcx, r13
je 0x1400528c0
test byte [rcx + 0x1c], 4
je 0x1400528c0
cmp byte [rcx + 0x19], 2
jb 0x1400528c0
mov eax, r12d
lea r8, [rax + rax*4]
mov r9, qword [r15 + 0x10]
mov edx, 0xd
mov r9, qword [r9 + r8*8 + 8]
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.14001011c
jmp 0x1400528c0
xor edx, edx
mov r8d, 0x6a0
mov rcx, rax
call sub.msvcrt.dll_memset
lea r11, [rsi + 0x690]
mov qword [rsi + 0x698], r11
mov qword [r11], r11
mov eax, r12d
lea r12, [rax + rax*4]
mov rax, qword [r15 + 0x10]
lea r8, [0x140009d60]
cmp qword [rax + r12*8], rdi
cmovne r8, qword [rax + r12*8]
mov edx, 0x104
lea rax, [rsi + 0x34]
mov rcx, rax
mov ebx, edi
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
cmp rax, rdi
je 0x140051cb2
movzx eax, word [rcx + r8]
cmp ax, di
je 0x140051cb2
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140051c8f
cmp rdx, rdi
jne 0x140051cc0
sub rcx, 2
mov ebx, 0x8007007a
mov word [rcx], di
mov dword [rsp + 0x60], ebx
cmp ebx, edi
jl 0x140051e24
mov rax, qword [r15 + 0x10]
lea r8, [0x140009d60]
cmp qword [rax + r12*8 + 8], rdi
cmovne r8, qword [rax + r12*8 + 8]
mov edx, 0x104
lea r10, [rsi + 0x23c]
mov rcx, r10
mov ebx, edi
sub r8, r10
lea rax, [rdx + 0x7ffffefa]
cmp rax, rdi
je 0x140051d1c
movzx eax, word [rcx + r8]
cmp ax, di
je 0x140051d1c
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140051cf9
cmp rdx, rdi
jne 0x140051d2a
sub rcx, 2
mov ebx, 0x8007007a
mov word [rcx], di
mov dword [rsp + 0x60], ebx
cmp ebx, edi
jl 0x140051e24
mov rax, qword [r15 + 0x10]
lea r8, [0x140009d60]
cmp qword [rax + r12*8 + 0x10], rdi
cmovne r8, qword [rax + r12*8 + 0x10]
mov edx, 0x104
lea rcx, [rsi + 0x444]
mov ebx, edi
sub r8, rcx
lea rax, [rdx + 0x7ffffefa]
cmp rax, rdi
je 0x140051d83
movzx eax, word [rcx + r8]
cmp ax, di
je 0x140051d83
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140051d60
cmp rdx, rdi
jne 0x140051d91
sub rcx, 2
mov ebx, 0x8007007a
mov word [rcx], di
mov dword [rsp + 0x60], ebx
cmp ebx, edi
jl 0x140051e24
mov qword [rsp + 0x40], 0x100
lea rax, [rsp + 0x370]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x100
lea rax, [rsp + 0x170]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r10
call fcn.14008c5d6
cmp eax, edi
je 0x140051e24
mov rcx, qword [str.P5_n_]
cmp rcx, r13
je 0x140051e19
test byte [rcx + 0x1c], 4
je 0x140051e19
cmp byte [rcx + 0x19], 2
jb 0x140051e19
mov edx, 0xe
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.14000ffa8
mov rcx, qword [str.P5_n_]
mov ebx, 0x80004005
mov dword [rsp + 0x60], ebx
jmp 0x140051e2b
mov rcx, qword [str.P5_n_]
cmp ebx, edi
jge 0x140051e80
cmp rcx, r13
je 0x140051e58
test byte [rcx + 0x1c], 4
je 0x140051e58
cmp byte [rcx + 0x19], 2
jb 0x140051e58
mov edx, 0xf
mov r9d, ebx
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.1400100e0
mov dword [rsi + 0x18], 6
mov ecx, ebx
and ecx, 0x1fff0000
movzx eax, bx
cmp ecx, 0x70000
cmove ebx, eax
mov dword [rsi + 0x1c], ebx
mov r12d, dword [rsp + 0x50]
jmp 0x1400528c0
lea rdx, [0x14000a998]
lea rcx, [rsp + 0x170]
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, edi
jne 0x140051ebc
lea rdx, [0x140009c80]
lea rcx, [rsp + 0x370]
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, edi
jne 0x140051ebc
mov dword [rsi + 0x658], 1
cmp dword [rsi + 0x658], edi
je 0x140051f1a
cmp qword [rsp + 0xd0], rdi
jne 0x140051f1a
mov rcx, qword [str.P5_n_]
cmp rcx, r13
je 0x1400528ad
test byte [rcx + 0x1c], 4
je 0x1400528bb
cmp byte [rcx + 0x19], 2
jb 0x1400528b4
mov r9, qword [r15 + 0x10]
mov edx, 0x10
mov r9, qword [r9 + r12*8 + 8]
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.14001011c
mov r12d, dword [rsp + 0x50]
jmp 0x1400528c0
mov rcx, qword [r15 + 0x10]
mov rcx, qword [rcx + r12*8 + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
mov qword [rsp + 0x88], rax
cmp rax, rdi
jne 0x140051f8f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
cmp rcx, r13
je 0x140051f7b
test byte [rcx + 0x1c], 4
je 0x140051f7b
cmp byte [rcx + 0x19], 3
jb 0x140051f7b
mov r9, qword [r15 + 0x10]
mov edx, 0x11
mov dword [rsp + 0x20], eax
mov r9, qword [r9 + r12*8 + 8]
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.140011a18
mov dword [rsi + 0x18], 4
mov dword [rsi + 0x1c], ebx
mov r12d, dword [rsp + 0x50]
jmp 0x1400528c0
mov qword [rsi + 0x10], rax
lea rdx, [rsi + 0x20]
mov dword [rdx], 0x14
mov rcx, qword [r15 + 0x10]
mov rcx, qword [rcx + r12*8 + 8]
call fcn.140077584
cmp eax, edi
je 0x140051fe9
mov rcx, qword [str.P5_n_]
cmp rcx, r13
je 0x140051fe9
test byte [rcx + 0x1c], 4
je 0x140051fe9
cmp byte [rcx + 0x19], 2
jb 0x140051fe9
mov r9, qword [r15 + 0x10]
mov edx, 0x12
mov dword [rsp + 0x20], eax
mov r9, qword [r9 + r12*8 + 8]
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.140011a18
lea rdx, [0x14000a9b0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x660], rax
lea rdx, [0x14000a9c8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x668], rax
lea rdx, [0x14000a9e0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x670], rax
lea rdx, [0x14000a9f8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x678], rax
lea rdx, [0x14000aa10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x680], rax
cmp qword [rsi + 0x660], rdi
je 0x14005285b
cmp qword [rsi + 0x668], rdi
je 0x14005285b
cmp qword [rsi + 0x670], rdi
je 0x14005285b
cmp rax, rdi
je 0x14005285b
cmp qword [rsi + 0x678], rdi
je 0x14005285b
lea rdx, [0x140009d38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x688], rax
cmp rax, rdi
jne 0x1400520e6
mov rcx, qword [str.P5_n_]
cmp rcx, r13
je 0x1400520e6
test byte [rcx + 0x1c], 4
je 0x1400520e6
cmp byte [rcx + 0x19], 5
jb 0x1400520e6
mov edx, 0x14
lea r9, [rsi + 0x34]
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.14001011c
cmp dword [rsi + 0x658], edi
je 0x1400520f6
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x140052109
mov edx, 0x19000
xor ecx, ecx
mov r8d, 0x200000
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [rsi + 0x650], rax
cmp rax, rdi
jne 0x140052161
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
cmp rcx, r13
je 0x14005214d
test byte [rcx + 0x1c], 4
je 0x14005214d
cmp byte [rcx + 0x19], 2
jb 0x14005214d
mov edx, 0x15
mov r9d, eax
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.1400100e0
mov dword [rsi + 0x18], 1
mov dword [rsi + 0x1c], ebx
mov r12d, dword [rsp + 0x50]
jmp 0x1400528c0
mov rax, qword [rsi + 0x688]
cmp rax, rdi
je 0x140052213
lea rcx, [0x14001d7b4]
mov qword [rsp + 0x20], rcx
lea r9, [0x140069a48]
lea r8, [0x140069884]
lea rdx, [0x1400697a0]
lea rcx, [0x1400696d0]
call rax
mov ebx, eax
mov dword [rsp + 0x60], eax
jmp 0x1400521c2
cmp ebx, edi
jge 0x140052213
mov rcx, qword [str.P5_n_]
cmp rcx, r13
je 0x1400521ff
test byte [rcx + 0x1c], 4
je 0x1400521ff
cmp byte [rcx + 0x19], 2
jb 0x1400521ff
lea rax, [rsi + 0x34]
mov edx, 0x16
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.140058098
mov dword [rsi + 0x18], 6
mov dword [rsi + 0x1c], ebx
mov r12d, dword [rsp + 0x50]
jmp 0x1400528c0
cmp dword [rsi + 0x658], edi
je 0x140052236
lea rdx, [rsp + 0x90]
mov rcx, qword [rsi + 0x650]
call qword [rsi + 0x660]
mov dword [rsp + 0x7c], eax
jmp 0x14005224f
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsi + 0x650]
call qword [rsi + 0x660]
mov dword [rsp + 0x7c], eax
mov rcx, qword [rsp + 0x58]
jmp 0x140052275
cmp eax, edi
jne 0x1400522c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
cmp rcx, r13
je 0x1400522b1
test byte [rcx + 0x1c], 4
je 0x1400522b1
cmp byte [rcx + 0x19], 2
jb 0x1400522b1
mov edx, 0x17
mov r9d, eax
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.1400100e0
mov dword [rsi + 0x18], 6
mov dword [rsi + 0x1c], ebx
mov r12d, dword [rsp + 0x50]
jmp 0x1400528c0
mov r15d, edi
mov dword [rsp + 0x78], edi
movsxd r12, dword [rsp + 0x50]
mov eax, r12d
lea rdx, [rax + rax*4]
mov qword [rsp + 0x70], rdx
mov rax, qword [rcx + 0x10]
cmp dword [rax + rdx*8 + 0x18], edi
jbe 0x1400527f6
lea r13, [r12 + r12*4]
mov r12, rdi
mov rcx, qword [rax + r13*8 + 0x20]
lea rdx, [0x14000aa40]
mov rcx, qword [rcx + r12 + 0x10]
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, edi
jne 0x14005235b
call fcn.14007cf4c
cmp eax, edi
jne 0x14005235b
mov rcx, qword [str.P5_n_]
lea rax, str.P5_n_
cmp rcx, rax
je 0x1400524b2
test byte [rcx + 0x1c], 4
je 0x1400524b2
cmp byte [rcx + 0x19], 5
jb 0x1400524b2
mov edx, 0x18
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.14000ffa8
jmp 0x1400524b2
mov ecx, 0x60
call fcn.140076a54
mov rbx, rax
cmp rax, rdi
je 0x140052787
xor edx, edx
lea r8d, [rdx + 0x60]
mov rcx, rax
call sub.msvcrt.dll_memset
mov qword [rbx + 0x58], rsi
mov rdx, qword [rsp + 0x58]
mov rax, qword [rdx + 0x10]
mov rcx, qword [rax + r13*8 + 0x20]
mov eax, dword [rcx + r12 + 0x20]
mov dword [rbx + 0x30], eax
mov rax, qword [rdx + 0x10]
mov rcx, qword [rax + r13*8 + 0x20]
cmp qword [r12 + rcx], rdi
je 0x1400523ae
mov rcx, qword [r12 + rcx]
jmp 0x1400523b5
lea rcx, [0x140009d60]
call fcn.140077860
mov qword [rbx + 0x40], rax
cmp rax, rdi
je 0x1400526e8
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x10]
mov rcx, qword [rax + r13*8 + 0x20]
lea rax, [0x140009d60]
cmp qword [rcx + r12 + 8], rdi
cmovne rax, qword [rcx + r12 + 8]
mov rcx, rax
call fcn.140077860
mov qword [rbx + 0x38], rax
cmp rax, rdi
je 0x14005267c
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x10]
mov rcx, qword [rax + r13*8 + 0x20]
lea rax, [0x140009d60]
cmp qword [rcx + r12 + 0x18], rdi
cmovne rax, qword [rcx + r12 + 0x18]
mov rcx, rax
call fcn.140077860
mov qword [rbx + 0x48], rax
cmp rax, rdi
je 0x14005260d
lea rdx, [rbx + 0x20]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x10]
mov rcx, qword [rax + r13*8 + 0x20]
mov rcx, qword [rcx + r12 + 0x10]
call qword [sym.imp.ole32.dll_IIDFromString]
mov r15d, eax
cmp eax, edi
jne 0x1400525a1
mov rcx, qword [rbx + 0x38]
call fcn.1400779e8
mov qword [rsp + 0x68], rax
cmp rax, rdi
je 0x14005254b
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x50], rax
cmp rax, rdi
je 0x1400524dc
mov rcx, qword [rsp + 0x68]
call fcn.140076afc
lea rcx, [rsi + 0x690]
mov rax, qword [rcx + 8]
mov qword [rbx], rcx
mov qword [rbx + 8], rax
mov qword [rax], rbx
mov qword [rcx + 8], rbx
mov r15d, dword [rsp + 0x78]
inc r15d
mov dword [rsp + 0x78], r15d
add r12, 0x28
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x10]
cmp r15d, dword [rax + r13*8 + 0x18]
jb 0x1400522f2
mov r12d, dword [rsp + 0x50]
jmp 0x1400527f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rcx, qword [str.P5_n_]
lea rax, str.P5_n_
cmp rcx, rax
je 0x140052536
test byte [rcx + 0x1c], 4
je 0x140052528
cmp byte [rcx + 0x19], 2
jb 0x14005252f
mov edx, 0x1f
mov dword [rsp + 0x20], r12d
mov r15, qword [rsp + 0x68]
mov r9, r15
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.140050d44
jmp 0x14005253b
mov r15, qword [rsp + 0x68]
jmp 0x14005253b
mov r15, qword [rsp + 0x68]
jmp 0x14005253b
mov r15, qword [rsp + 0x68]
mov dword [rsi + 0x18], 5
mov dword [rsi + 0x1c], r12d
jmp 0x140052752
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rcx, qword [str.P5_n_]
lea rax, str.P5_n_
cmp rcx, rax
je 0x14005258c
test byte [rcx + 0x1c], 4
je 0x14005258c
cmp byte [rcx + 0x19], 2
jb 0x14005258c
mov edx, 0x1e
mov r9, qword [rbx + 0x38]
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.14001011c
mov dword [rsi + 0x18], 1
mov dword [rsi + 0x1c], r12d
mov r15, qword [rsp + 0x68]
jmp 0x140052752
mov rcx, qword [str.P5_n_]
lea rax, str.P5_n_
cmp rcx, rax
je 0x1400525fa
test byte [rcx + 0x1c], 4
je 0x1400525fa
cmp byte [rcx + 0x19], 2
jb 0x1400525fa
mov rax, qword [rsp + 0x58]
mov rdx, qword [rax + 0x10]
mov eax, dword [rsp + 0x78]
lea r8, [rax + rax*4]
mov rax, qword [rsp + 0x70]
mov r9, qword [rdx + rax*8 + 0x20]
mov edx, 0x1d
mov dword [rsp + 0x20], r15d
mov r9, qword [r9 + r8*8 + 0x10]
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.140011a18
mov dword [rsi + 0x18], 2
mov dword [rsi + 0x1c], r15d
mov r15, rdi
jmp 0x140052752
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rcx, qword [str.P5_n_]
lea rax, str.P5_n_
cmp rcx, rax
je 0x140052669
test byte [rcx + 0x1c], 4
je 0x140052669
cmp byte [rcx + 0x19], 2
jb 0x140052669
mov rax, qword [rsp + 0x58]
mov r9, qword [rax + 0x10]
mov eax, r15d
lea r8, [rax + rax*4]
mov rax, qword [rsp + 0x70]
mov r9, qword [r9 + rax*8 + 0x20]
mov edx, 0x1c
mov r9, qword [r9 + r8*8 + 0x18]
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.14001011c
mov dword [rsi + 0x18], 1
mov dword [rsi + 0x1c], r12d
mov r15, rdi
jmp 0x140052752
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rcx, qword [str.P5_n_]
lea rax, str.P5_n_
cmp rcx, rax
je 0x1400526d8
test byte [rcx + 0x1c], 4
je 0x1400526d8
cmp byte [rcx + 0x19], 2
jb 0x1400526d8
mov rax, qword [rsp + 0x58]
mov r9, qword [rax + 0x10]
mov eax, r15d
lea r8, [rax + rax*4]
mov rax, qword [rsp + 0x70]
mov r9, qword [r9 + rax*8 + 0x20]
mov edx, 0x1b
mov r9, qword [r9 + r8*8 + 8]
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.14001011c
mov dword [rsi + 0x18], 1
mov dword [rsi + 0x1c], r12d
mov r15, rdi
jmp 0x140052752
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rcx, qword [str.P5_n_]
lea rax, str.P5_n_
cmp rcx, rax
je 0x140052744
test byte [rcx + 0x1c], 4
je 0x140052744
cmp byte [rcx + 0x19], 2
jb 0x140052744
mov rax, qword [rsp + 0x58]
mov r9, qword [rax + 0x10]
mov eax, r15d
lea r8, [rax + rax*4]
mov rax, qword [rsp + 0x70]
mov r9, qword [r9 + rax*8 + 0x20]
mov edx, 0x1a
mov r9, qword [r9 + r8*8 + 8]
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.14001011c
mov dword [rsi + 0x18], 1
mov dword [rsi + 0x1c], r12d
mov r15, rdi
mov rcx, qword [rbx + 0x40]
call fcn.140076afc
mov rcx, qword [rbx + 0x38]
call fcn.140076afc
mov rcx, qword [rbx + 0x48]
call fcn.140076afc
mov rcx, rbx
call fcn.140076afc
mov rcx, r15
call fcn.140076afc
mov r12d, dword [rsp + 0x50]
jmp 0x1400528c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
lea rax, str.P5_n_
cmp rcx, rax
je 0x1400527e2
test byte [rcx + 0x1c], 4
je 0x1400527e2
cmp byte [rcx + 0x19], 2
jb 0x1400527e2
mov rax, qword [rsp + 0x58]
mov r9, qword [rax + 0x10]
mov eax, r15d
lea r8, [rax + rax*4]
mov rax, qword [rsp + 0x70]
mov r9, qword [r9 + rax*8 + 0x20]
mov edx, 0x19
mov r9, qword [r9 + r8*8 + 8]
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.14001011c
mov dword [rsi + 0x18], 1
mov dword [rsi + 0x1c], ebx
mov r12d, dword [rsp + 0x50]
jmp 0x1400528c0
mov dword [rsi + 0x18], edi
mov dword [rsi + 0x1c], edi
lea r9, [rsi + 0x690]
mov rdx, qword [r9]
cmp rdx, r9
je 0x140052a57
mov r8, qword [0x1400a3ea0]
mov r10d, dword [0x1400a3e90]
mov rcx, rdx
mov rdx, qword [rdx]
mov rax, r8
lea r8, [rcx + 0x10]
lea r11, [0x1400a3e98]
mov qword [r8], r11
mov qword [rcx + 0x18], rax
mov qword [rax], r8
mov qword [0x1400a3ea0], r8
inc r10d
cmp rdx, r9
jne 0x14005281d
mov dword [0x1400a3e90], r10d
mov r15, qword [rsp + 0x58]
jmp 0x140052a5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
cmp rcx, r13
je 0x14005289c
test byte [rcx + 0x1c], 4
je 0x14005289c
cmp byte [rcx + 0x19], 2
jb 0x14005289c
mov r9, qword [r15 + 0x10]
mov edx, 0x13
mov dword [rsp + 0x20], eax
mov r9, qword [r9 + r12*8]
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.140011a18
mov dword [rsi + 0x18], 5
mov dword [rsi + 0x1c], ebx
mov r12d, dword [rsp + 0x50]
jmp 0x1400528c0
mov r12d, dword [rsp + 0x50]
jmp 0x1400528c0
mov r12d, dword [rsp + 0x50]
jmp 0x1400528c0
mov r12d, dword [rsp + 0x50]
cmp rsi, rdi
je 0x140052902
mov r9d, dword [rsi + 0x1c]
mov dword [rsp + 0x12c], r9d
mov word [rsp + 0x130], di
lea r8, [0x140009d68]
mov edx, 0xc
lea rcx, [rsp + 0x130]
call fcn.1400118ac
lea rbx, [rsp + 0x130]
cmp eax, edi
cmovl rbx, rdi
jmp 0x140052941
mov dword [rsp + 0x148], 0xe
mov word [rsp + 0x14c], di
mov r9d, 0xe
lea r8, [0x140009d68]
lea edx, [r9 - 2]
lea rcx, [rsp + 0x14c]
call fcn.1400118ac
lea rbx, [rsp + 0x14c]
cmp eax, edi
cmovl rbx, rdi
cmp rsi, rdi
je 0x140052983
mov r9d, dword [rsi + 0x18]
mov dword [rsp + 0x110], r9d
mov word [rsp + 0x114], di
lea r8, [0x140009d68]
mov edx, 0xc
lea rcx, [rsp + 0x114]
call fcn.1400118ac
lea r8, [rsp + 0x114]
cmp eax, edi
cmovl r8, rdi
jmp 0x140052986
mov r8, rdi
mov eax, r12d
lea rdx, [rax + rax*4]
mov r15, qword [rsp + 0x58]
mov rcx, qword [r15 + 0x10]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r8
mov rax, qword [rcx + rdx*8 + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + rdx*8]
mov qword [rsp + 0x20], rax
mov edx, 1
mov ecx, edx
mov r9d, 0xc0007d24
lea r8d, [rdx + 3]
call fcn.140077054
cmp rsi, rdi
je 0x140052a5c
mov rcx, qword [rsi + 0x10]
cmp rcx, rdi
je 0x1400529e5
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsi + 0x10], rdi
mov rcx, qword [rsi + 0x650]
cmp rcx, rdi
je 0x140052a06
cmp dword [rsi + 0x658], edi
jne 0x140052a06
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
mov qword [rsi + 0x650], rdi
lea r12, [rsi + 0x690]
mov r13, qword [r12]
cmp r13, r12
je 0x140052a45
mov rbx, r13
mov r13, qword [r13]
mov rcx, qword [rbx + 0x40]
call fcn.140076afc
mov rcx, qword [rbx + 0x38]
call fcn.140076afc
mov rcx, qword [rbx + 0x48]
call fcn.140076afc
mov rcx, rbx
call fcn.140076afc
cmp r13, r12
jne 0x140052a16
mov qword [rsi + 0x698], r12
mov qword [r12], r12
mov r12d, dword [rsp + 0x50]
jmp 0x140052a5c
mov r15, qword [rsp + 0x58]
cmp rsi, rdi
je 0x140052a80
mov rax, qword [0x1400a3eb0]
lea rcx, [0x1400a3ea8]
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov qword [rax], rsi
mov qword [0x1400a3eb0], rsi
inc r12d
mov dword [rsp + 0x50], r12d
lea r13, str.P5_n_
jmp 0x140051b99
call fcn.140051708
cmp dword [0x1400a3e90], edi
jne 0x140052ace
mov rcx, qword [str.P5_n_]
cmp rcx, r13
je 0x140052ace
test byte [rcx + 0x1c], 4
je 0x140052ace
cmp byte [rcx + 0x19], 3
jb 0x140052ace
mov edx, 0x20
lea r8, [0x140008f48]
mov rcx, qword [rcx + 0x10]
call fcn.14000ffa8
mov eax, 1
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.14008c5b0
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop r12
ret