Function at 0x140040f78
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, 0x590
mov rax, qword [0x140094940]
xor rax, rsp
mov qword [rsp + 0x580], rax
mov r12, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x98], rcx
lea r13, str.___t_
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x140040fef
test byte [rcx + 0x1c], 4
je 0x140040fef
lea r15, [0x1400837c0]
cmp byte [rcx + 0x19], 5
jb 0x140040ff6
mov edx, 0xc
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001024
jmp 0x140040ff6
lea r15, [0x1400837c0]
mov dword [rsp + 0xf0], 0x30
lea r9, [fcn.1400402d0]
mov qword [rsp + 0xf8], r9
lea r8, [0x1400404a0]
mov qword [rsp + 0x100], r8
lea rdx, [0x140040640]
mov qword [rsp + 0x108], rdx
lea rcx, [0x140040830]
mov qword [rsp + 0x110], rcx
lea rax, [0x140040aa0]
mov qword [rsp + 0x118], rax
mov dword [rsp + 0xa0], 0x48
mov qword [rsp + 0xa8], r9
mov qword [rsp + 0xb0], r8
mov qword [rsp + 0xb8], rdx
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xc8], rax
lea rax, [fcn.140042cf0]
mov qword [rsp + 0xd0], rax
lea rax, [fcn.1400431d0]
mov qword [rsp + 0xd8], rax
mov rax, qword [0x140098428]
mov rcx, qword [rax + 0x60]
mov qword [rsp + 0xe0], rcx
xor esi, esi
mov ebx, esi
mov dword [rsp + 0x80], ebx
cmp ebx, dword [r12 + 0x18]
jae 0x140041ea6
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x180]
call sub.msvcrt.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x380]
call sub.msvcrt.dll_memset
mov ecx, 0x6a0
call fcn.140063430
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14004114f
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x140041ce7
test byte [rcx + 0x1c], 4
je 0x140041ce7
cmp byte [rcx + 0x19], 2
jb 0x140041ce7
mov eax, ebx
lea r8, [rax + rax*4]
mov r9, qword [r12 + 0x10]
lea edx, [rdi + 0xd]
mov r9, qword [r9 + r8*8 + 8]
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.1400011dc
jmp 0x140041ce7
xor edx, edx
mov r8d, 0x690
mov rcx, rdi
call sub.msvcrt.dll_memset
lea rax, [rdi + 0x690]
mov qword [rdi + 0x698], rax
mov qword [rax], rax
mov eax, ebx
lea rcx, [rax + rax*4]
mov qword [rsp + 0x68], rcx
mov rax, qword [r12 + 0x10]
lea r8, [0x140081e18]
cmp qword [rax + rcx*8], rsi
cmovne r8, qword [rax + rcx*8]
lea rcx, [rdi + 0x34]
mov edx, 0x104
call fcn.140002a68
mov ebx, eax
mov dword [rsp + 0x70], eax
test eax, eax
js 0x1400412a7
mov rax, qword [r12 + 0x10]
lea r8, [0x140081e18]
mov rcx, qword [rsp + 0x68]
cmp qword [rax + rcx*8 + 8], rsi
cmovne r8, qword [rax + rcx*8 + 8]
lea rcx, [rdi + 0x23c]
mov edx, 0x104
call fcn.140002a68
mov ebx, eax
mov dword [rsp + 0x70], eax
test eax, eax
js 0x1400412a7
mov rax, qword [r12 + 0x10]
lea r8, [0x140081e18]
mov rcx, qword [rsp + 0x68]
cmp qword [rax + rcx*8 + 0x10], rsi
cmovne r8, qword [rax + rcx*8 + 0x10]
lea rcx, [rdi + 0x444]
mov edx, 0x104
call fcn.140002a68
mov ebx, eax
mov dword [rsp + 0x70], eax
test eax, eax
js 0x1400412a7
mov qword [rsp + 0x40], 0x100
lea rax, [rsp + 0x380]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x100
lea rax, [rsp + 0x180]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rdi + 0x23c]
call qword [sym.imp.msvcrt.dll__wsplitpath_s]
test eax, eax
je 0x1400412a7
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14004129c
test byte [rcx + 0x1c], 4
je 0x14004129c
cmp byte [rcx + 0x19], 2
jb 0x14004129c
mov edx, 0xe
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001024
mov rcx, qword [str.___t_]
mov ebx, 0x80004005
mov dword [rsp + 0x70], ebx
jmp 0x1400412ae
mov rcx, qword [str.___t_]
test ebx, ebx
jns 0x1400412fa
cmp rcx, r13
je 0x1400412d7
test byte [rcx + 0x1c], 4
je 0x1400412d7
cmp byte [rcx + 0x19], 2
jb 0x1400412d7
mov edx, 0xf
mov r9d, ebx
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001048
mov ecx, ebx
and ecx, 0x1fff0000
movzx eax, bx
cmp ecx, 0x70000
cmove ebx, eax
mov dword [rdi + 0x18], 6
mov dword [rdi + 0x1c], ebx
jmp 0x140041ce7
lea rdx, str.FXSROUTE
lea rcx, [rsp + 0x180]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x140041336
lea rdx, str..DLL
lea rcx, [rsp + 0x380]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x140041336
mov dword [rdi + 0x658], 1
cmp dword [rdi + 0x658], esi
je 0x140041385
cmp qword [rsp + 0xe0], rsi
jne 0x140041385
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x140041ce7
test byte [rcx + 0x1c], 4
je 0x140041ce7
cmp byte [rcx + 0x19], 2
jb 0x140041ce7
mov r9, qword [r12 + 0x10]
mov edx, 0x10
mov rax, qword [rsp + 0x68]
mov r9, qword [r9 + rax*8 + 8]
jmp 0x14004113e
mov rcx, qword [r12 + 0x10]
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rcx + rbx*8 + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x88], rax
test rax, rax
jne 0x1400413f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x1400413ec
test byte [rcx + 0x1c], 4
je 0x1400413ec
cmp byte [rcx + 0x19], 3
jb 0x1400413ec
mov r9, qword [r12 + 0x10]
mov edx, 0x11
mov dword [rsp + 0x20], eax
mov r9, qword [r9 + rbx*8 + 8]
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.1400012fc
mov eax, dword [rsp + 0x60]
mov dword [rdi + 0x18], 4
jmp 0x140041ce4
mov qword [rdi + 0x10], rax
lea rdx, [rdi + 0x20]
mov dword [rdx], 0x14
mov rcx, qword [r12 + 0x10]
mov rcx, qword [rcx + rbx*8 + 8]
call fcn.140063dc4
test eax, eax
je 0x140041450
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x140041450
test byte [rcx + 0x1c], 4
je 0x140041450
cmp byte [rcx + 0x19], 2
jb 0x140041450
mov r9, qword [r12 + 0x10]
mov edx, 0x12
mov dword [rsp + 0x20], eax
mov r9, qword [r9 + rbx*8 + 8]
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.1400012fc
lea rdx, str.FaxRouteInitialize
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x660], rax
lea rdx, str.FaxRouteGetRoutingInfo
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x668], rax
lea rdx, str.FaxRouteSetRoutingInfo
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x670], rax
lea rdx, str.FaxRouteDeviceEnable
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x678], rax
lea rdx, str.FaxRouteDeviceChangeNotification
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x680], rax
cmp qword [rdi + 0x660], rsi
je 0x140041c99
cmp qword [rdi + 0x668], rsi
je 0x140041c99
cmp qword [rdi + 0x670], rsi
je 0x140041c99
test rax, rax
je 0x140041c99
cmp qword [rdi + 0x678], rsi
je 0x140041c99
lea rdx, str.FaxExtInitializeConfig
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x688], rax
test rax, rax
jne 0x140041565
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x140041565
test byte [rcx + 0x1c], 4
je 0x140041565
cmp byte [rcx + 0x19], 5
jb 0x140041565
lea edx, [rax + 0x14]
lea r9, [rdi + 0x34]
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.1400011dc
cmp dword [rdi + 0x658], esi
je 0x140041575
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x140041588
mov edx, 0x19000
xor ecx, ecx
mov r8d, 0x200000
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [rdi + 0x650], rax
test rax, rax
jne 0x1400415d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x1400415c8
test byte [rcx + 0x1c], 4
je 0x1400415c8
cmp byte [rcx + 0x19], 2
jb 0x1400415c8
mov edx, 0x15
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001048
mov dword [rdi + 0x18], 1
jmp 0x1400412f2
mov rax, qword [rdi + 0x688]
test rax, rax
je 0x14004168e
lea rcx, [0x14000e680]
mov qword [rsp + 0x20], rcx
lea r9, [0x140057f80]
lea r8, [0x140057de0]
lea rdx, [0x140057cf0]
lea rcx, [0x140057c20]
mov r10, qword [0x140081860]
call r10
mov ebx, eax
mov dword [rsp + 0x70], eax
jmp 0x140041644
test ebx, ebx
jns 0x14004168e
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x1400412eb
test byte [rcx + 0x1c], 4
je 0x1400412eb
cmp byte [rcx + 0x19], 2
jb 0x1400412eb
lea rax, [rdi + 0x34]
mov edx, 0x16
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001084
jmp 0x1400412eb
mov rcx, qword [rdi + 0x650]
mov rax, qword [rdi + 0x660]
mov r8, qword [0x140081860]
cmp dword [rdi + 0x658], esi
lea rdx, [rsp + 0xa0]
jne 0x1400416bb
lea rdx, [rsp + 0xf0]
call r8
mov dword [rsp + 0x90], eax
jmp 0x1400416f0
test eax, eax
jne 0x140041739
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x1400412eb
test byte [rcx + 0x1c], 4
je 0x1400412eb
cmp byte [rcx + 0x19], 2
jb 0x1400412eb
mov edx, 0x17
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001048
jmp 0x1400412eb
mov edx, esi
mov dword [rsp + 0x60], edx
mov eax, dword [rsp + 0x80]
lea rax, [rax + rax*4]
mov qword [rsp + 0x50], rax
mov rcx, qword [r12 + 0x10]
cmp dword [rcx + rax*8 + 0x18], esi
jbe 0x1400419d7
mov r12d, edx
lea r8, [r12 + r12*4]
mov rcx, qword [rcx + rax*8 + 0x20]
lea rdx, str.6bbf7bfe_9af2_11d0_abf7_00c04fd91a4e
mov rcx, qword [rcx + r8*8 + 0x10]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x1400417c1
call fcn.140068090
test eax, eax
jne 0x1400417c1
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x1400419b4
test byte [rcx + 0x1c], 4
je 0x1400419b4
cmp byte [rcx + 0x19], 5
jb 0x1400419b4
lea edx, [rax + 0x18]
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001024
jmp 0x1400419b4
mov ecx, 0x60
call fcn.140063430
mov rbx, rax
test rax, rax
je 0x140041c39
xor edx, edx
lea r8d, [rdx + 0x58]
mov rcx, rax
call sub.msvcrt.dll_memset
mov qword [rbx + 0x58], rdi
mov r8, qword [rsp + 0x58]
mov rax, qword [r8 + 0x10]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rax + rdx*8 + 0x20]
lea r9, [r12 + r12*4]
mov eax, dword [rcx + r9*8 + 0x20]
mov dword [rbx + 0x30], eax
mov rax, qword [r8 + 0x10]
mov rcx, qword [rax + rdx*8 + 0x20]
lea rax, [0x140081e18]
cmp qword [rcx + r9*8], rsi
cmovne rax, qword [rcx + r9*8]
mov rcx, rax
call fcn.14006409c
mov qword [rbx + 0x40], rax
test rax, rax
je 0x140041ba7
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rax + rcx*8 + 0x20]
lea rax, [0x140081e18]
lea r8, [r12 + r12*4]
cmp qword [rcx + r8*8 + 8], rsi
cmovne rax, qword [rcx + r8*8 + 8]
mov rcx, rax
call fcn.14006409c
mov qword [rbx + 0x38], rax
test rax, rax
je 0x140041b7c
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rax + rcx*8 + 0x20]
lea rax, [0x140081e18]
lea rdx, [r12 + r12*4]
cmp qword [rcx + rdx*8 + 0x18], rsi
cmovne rax, qword [rcx + rdx*8 + 0x18]
mov rcx, rax
call fcn.14006409c
mov qword [rbx + 0x48], rax
test rax, rax
je 0x140041b29
lea rdx, [rbx + 0x20]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rax + rcx*8 + 0x20]
lea r8, [r12 + r12*4]
mov rcx, qword [rcx + r8*8 + 0x10]
call qword [sym.imp.ole32.dll_IIDFromString]
mov r11d, eax
mov dword [rsp + 0x78], eax
test eax, eax
jne 0x140041ac5
mov rax, qword [rbx + 0x38]
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140041a82
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
or r9d, 0xffffffff
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov r12d, eax
test eax, eax
je 0x140041a82
inc r12d
mov ecx, r12d
call fcn.140063430
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140041a82
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
mov r8, qword [rsp + 0x78]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x140041a78
mov r12, qword [rsp + 0x68]
mov rdx, r12
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x50], rax
test rax, rax
je 0x140041a36
mov rcx, r12
call fcn.1400634d4
lea rcx, [rdi + 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 edx, dword [rsp + 0x60]
inc edx
mov dword [rsp + 0x60], edx
mov r12, qword [rsp + 0x58]
mov rcx, qword [r12 + 0x10]
mov rax, qword [rsp + 0x50]
cmp edx, dword [rcx + rax*8 + 0x18]
jb 0x14004175e
and qword [rdi + 0x18], 0
lea r9, [rdi + 0x690]
mov rdx, qword [r9]
cmp rdx, r9
je 0x140041e6d
mov r8, qword [0x140098208]
mov r10d, dword [0x1400981bc]
lea rcx, [rdx]
mov rdx, qword [rdx]
mov rax, r8
lea r8, [rcx + 0x10]
lea r11, [0x140098200]
mov qword [r8], r11
mov qword [rcx + 0x18], rax
mov qword [rax], r8
mov qword [0x140098208], r8
inc r10d
cmp rdx, r9
jne 0x1400419fd
mov dword [0x1400981bc], r10d
jmp 0x140041e6d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x140041a6c
test byte [rcx + 0x1c], 4
je 0x140041a6c
cmp byte [rcx + 0x19], 2
jb 0x140041a6c
mov dword [rsp + 0x20], eax
mov r9, r12
mov rcx, qword [rcx + 0x10]
call fcn.140040254
mov eax, dword [rsp + 0x60]
mov dword [rdi + 0x18], 5
jmp 0x140041c06
mov rcx, qword [rsp + 0x68]
call fcn.1400634d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x140041ab8
test byte [rcx + 0x1c], 4
je 0x140041ab8
cmp byte [rcx + 0x19], 2
jb 0x140041ab8
mov edx, 0x1e
mov r9, qword [rbx + 0x38]
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.1400011dc
mov dword [rdi + 0x18], 1
mov dword [rdi + 0x1c], r12d
jmp 0x140041b21
mov r10, qword [str.___t_]
cmp r10, r13
je 0x140041b16
test byte [r10 + 0x1c], 4
je 0x140041b16
cmp byte [r10 + 0x19], 2
jb 0x140041b16
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x10]
lea r8, [r12 + r12*4]
mov rcx, qword [rsp + 0x50]
mov r9, qword [rax + rcx*8 + 0x20]
mov edx, 0x1d
mov dword [rsp + 0x20], r11d
mov r9, qword [r9 + r8*8 + 0x10]
mov r8, r15
mov rcx, qword [r10 + 0x10]
call fcn.1400012fc
mov r11d, dword [rsp + 0x78]
mov dword [rdi + 0x18], 2
mov dword [rdi + 0x1c], r11d
mov r12, rsi
jmp 0x140041c09
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x78], eax
mov r10, qword [str.___t_]
cmp r10, r13
je 0x140041bfc
test byte [r10 + 0x1c], 4
je 0x140041bfc
cmp byte [r10 + 0x19], 2
jb 0x140041bfc
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x10]
lea r8, [r12 + r12*4]
mov rcx, qword [rsp + 0x50]
mov r9, qword [rax + rcx*8 + 0x20]
mov edx, 0x1c
mov r9, qword [r9 + r8*8 + 0x18]
jmp 0x140041bec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x78], eax
mov r10, qword [str.___t_]
cmp r10, r13
je 0x140041bfc
test byte [r10 + 0x1c], 4
je 0x140041bfc
cmp byte [r10 + 0x19], 2
jb 0x140041bfc
mov edx, 0x1b
jmp 0x140041bd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x78], eax
mov r10, qword [str.___t_]
cmp r10, r13
je 0x140041bfc
test byte [r10 + 0x1c], 4
je 0x140041bfc
cmp byte [r10 + 0x19], 2
jb 0x140041bfc
mov edx, 0x1a
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rax + 0x10]
lea r8, [r12 + r12*4]
mov r9, qword [rax + rcx*8 + 0x20]
mov r9, qword [r9 + r8*8 + 8]
mov r8, r15
mov rcx, qword [r10 + 0x10]
call fcn.1400011dc
mov eax, dword [rsp + 0x78]
mov dword [rdi + 0x18], 1
mov r12, rsi
mov dword [rdi + 0x1c], eax
mov rcx, qword [rbx + 0x40]
call fcn.1400634d4
mov rcx, qword [rbx + 0x38]
call fcn.1400634d4
mov rcx, qword [rbx + 0x48]
call fcn.1400634d4
mov rcx, rbx
call fcn.1400634d4
mov rcx, r12
call fcn.1400634d4
jmp 0x140041ce7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov r10, qword [str.___t_]
cmp r10, r13
je 0x1400415c8
test byte [r10 + 0x1c], 4
je 0x1400415c8
cmp byte [r10 + 0x19], 2
jb 0x1400415c8
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x10]
lea r8, [r12 + r12*4]
mov rcx, qword [rsp + 0x50]
mov r9, qword [rax + rcx*8 + 0x20]
mov edx, 0x19
mov r9, qword [r9 + r8*8 + 8]
mov r8, r15
mov rcx, qword [r10 + 0x10]
call fcn.1400011dc
jmp 0x1400415c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x78], eax
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x140041cdd
test byte [rcx + 0x1c], 4
je 0x140041cdd
cmp byte [rcx + 0x19], 2
jb 0x140041cdd
mov r9, qword [r12 + 0x10]
mov edx, 0x13
mov dword [rsp + 0x20], eax
mov r9, qword [r9 + rbx*8]
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.1400012fc
mov eax, dword [rsp + 0x78]
mov dword [rdi + 0x18], 5
mov dword [rdi + 0x1c], eax
lea r8, [0x140081e00]
mov edx, 0xc
test rdi, rdi
je 0x140041d23
mov r9d, dword [rdi + 0x1c]
mov dword [rsp + 0x120], r9d
mov word [rsp + 0x124], si
lea rcx, [rsp + 0x124]
call fcn.1400029e8
lea rbx, [rsp + 0x124]
jmp 0x140041d51
mov dword [rsp + 0x140], 0xe
mov word [rsp + 0x144], si
mov r9d, 0xe
lea rcx, [rsp + 0x144]
call fcn.1400029e8
lea rbx, [rsp + 0x144]
test eax, eax
cmovs rbx, rsi
test rdi, rdi
je 0x140041d99
mov r9d, dword [rdi + 0x18]
mov dword [rsp + 0x160], r9d
mov word [rsp + 0x164], si
lea r8, [0x140081e00]
mov edx, 0xc
lea rcx, [rsp + 0x164]
call fcn.1400029e8
lea r8, [rsp + 0x164]
test eax, eax
cmovs r8, rsi
jmp 0x140041d9c
mov r8, rsi
mov eax, dword [rsp + 0x80]
lea rdx, [rax + rax*4]
mov r12, qword [rsp + 0x58]
mov rcx, qword [r12 + 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.140063864
test rdi, rdi
je 0x140041e91
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140041e00
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rdi + 0x10], rsi
mov rcx, qword [rdi + 0x650]
test rcx, rcx
je 0x140041e21
cmp dword [rdi + 0x658], esi
jne 0x140041e21
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
mov qword [rdi + 0x650], rsi
lea r12, [rdi + 0x690]
mov r13, qword [r12]
jmp 0x140041e58
mov rbx, r13
mov r13, qword [r13]
mov rcx, qword [rbx + 0x40]
call fcn.1400634d4
mov rcx, qword [rbx + 0x38]
call fcn.1400634d4
mov rcx, qword [rbx + 0x48]
call fcn.1400634d4
mov rcx, rbx
call fcn.1400634d4
cmp r13, r12
jne 0x140041e2e
mov qword [rdi + 0x698], r12
mov qword [r12], r12
mov r12, qword [rsp + 0x58]
test rdi, rdi
je 0x140041e91
mov rax, qword [0x1400981d0]
lea rcx, [0x1400981c8]
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov qword [rax], rdi
mov qword [0x1400981d0], rdi
mov ebx, dword [rsp + 0x80]
inc ebx
lea r13, str.___t_
jmp 0x1400410b4
call fcn.140040c1c
cmp dword [0x1400981bc], esi
jne 0x140041edc
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x140041edc
test byte [rcx + 0x1c], 4
je 0x140041edc
cmp byte [rcx + 0x19], 3
jb 0x140041edc
mov edx, 0x20
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001024
mov eax, 1
mov rcx, qword [rsp + 0x580]
xor rcx, rsp
call fcn.140078ba0
lea r11, [rsp + 0x590]
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