Function at 0x140040270
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 [0x140094940]
xor rax, rsp
mov qword [rsp + 0x570], rax
mov r13, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x88], rcx
lea r12, str.___t_
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400402e7
test byte [rcx + 0x1c], 4
je 0x1400402e7
lea r15, [0x1400827b0]
cmp byte [rcx + 0x19], 5
jb 0x1400402ee
mov edx, 0xc
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001010
jmp 0x1400402ee
lea r15, [0x1400827b0]
mov dword [rsp + 0xe0], 0x30
lea r9, [fcn.14003f610]
mov qword [rsp + 0xe8], r9
lea r8, [0x14003f7d0]
mov qword [rsp + 0xf0], r8
lea rdx, [0x14003f960]
mov qword [rsp + 0xf8], rdx
lea rcx, [0x14003fb40]
mov qword [rsp + 0x100], rcx
lea rax, [0x14003fda0]
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.140041ed0]
mov qword [rsp + 0xc0], rax
lea rax, [fcn.1400423b0]
mov qword [rsp + 0xc8], rax
mov rax, qword [0x140098448]
mov rcx, qword [rax + 0x60]
mov qword [rsp + 0xd0], rcx
xor esi, esi
mov ebx, esi
mov dword [rsp + 0x74], ebx
cmp ebx, dword [r13 + 0x18]
jae 0x1400410db
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x170]
call sub.msvcrt.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x370]
call sub.msvcrt.dll_memset
mov ecx, 0x6a0
call fcn.1400625b8
mov rdi, rax
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x140040442
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140040f23
test byte [rcx + 0x1c], 4
je 0x140040f23
cmp byte [rcx + 0x19], 2
jb 0x140040f23
mov eax, ebx
lea r8, [rax + rax*4]
mov r9, qword [r13 + 0x10]
lea edx, [rdi + 0xd]
mov r9, qword [r9 + r8*8 + 8]
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.1400011f0
jmp 0x140040f23
xor edx, edx
mov r8d, 0x6a0
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 [r13 + 0x10]
lea r8, [0x140080e08]
cmp qword [rax + rcx*8], rsi
cmovne r8, qword [rax + rcx*8]
lea rcx, [rdi + 0x34]
mov edx, 0x104
call fcn.140002938
mov ebx, eax
mov dword [rsp + 0x70], eax
test eax, eax
js 0x140040597
mov rax, qword [r13 + 0x10]
lea r8, [0x140080e08]
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.140002938
mov ebx, eax
mov dword [rsp + 0x70], eax
test eax, eax
js 0x140040597
mov rax, qword [r13 + 0x10]
lea r8, [0x140080e08]
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.140002938
mov ebx, eax
mov dword [rsp + 0x70], eax
test eax, eax
js 0x140040597
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], 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 0x140040597
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14004058c
test byte [rcx + 0x1c], 4
je 0x14004058c
cmp byte [rcx + 0x19], 2
jb 0x14004058c
mov edx, 0xe
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001010
mov rcx, qword [str.___t_]
mov ebx, 0x80004005
mov dword [rsp + 0x70], ebx
jmp 0x14004059e
mov rcx, qword [str.___t_]
test ebx, ebx
jns 0x1400405ea
cmp rcx, r12
je 0x1400405c7
test byte [rcx + 0x1c], 4
je 0x1400405c7
cmp byte [rcx + 0x19], 2
jb 0x1400405c7
mov edx, 0xf
mov r9d, ebx
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001030
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 0x140040f23
lea rdx, str.FXSROUTE
lea rcx, [rsp + 0x170]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x140040626
lea rdx, str..DLL
lea rcx, [rsp + 0x370]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x140040626
mov dword [rdi + 0x658], 1
cmp dword [rdi + 0x658], esi
je 0x140040674
cmp qword [rsp + 0xd0], rsi
jne 0x140040674
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140040f23
test byte [rcx + 0x1c], 4
je 0x140040f23
cmp byte [rcx + 0x19], 2
jb 0x140040f23
mov r9, qword [r13 + 0x10]
mov edx, 0x10
mov rax, qword [rsp + 0x68]
mov r9, qword [r9 + rax*8 + 8]
jmp 0x140040431
mov rcx, qword [r13 + 0x10]
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rcx + rbx*8 + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x1400406e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400406d6
test byte [rcx + 0x1c], 4
je 0x1400406d6
cmp byte [rcx + 0x19], 3
jb 0x1400406d6
mov r9, qword [r13 + 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.140001250
mov eax, dword [rsp + 0x50]
mov dword [rdi + 0x18], 4
jmp 0x140040f20
mov qword [rdi + 0x10], rax
lea rdx, [rdi + 0x20]
mov dword [rdx], 0x14
mov rcx, qword [r13 + 0x10]
mov rcx, qword [rcx + rbx*8 + 8]
call fcn.140063104
test eax, eax
je 0x140040738
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140040738
test byte [rcx + 0x1c], 4
je 0x140040738
cmp byte [rcx + 0x19], 2
jb 0x140040738
mov r9, qword [r13 + 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.140001250
lea rdx, str.FaxRouteInitialize
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x660], rax
lea rdx, str.FaxRouteGetRoutingInfo
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x668], rax
lea rdx, str.FaxRouteSetRoutingInfo
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x670], rax
lea rdx, str.FaxRouteDeviceEnable
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x678], rax
lea rdx, str.FaxRouteDeviceChangeNotification
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x680], rax
cmp qword [rdi + 0x660], rsi
je 0x140040ed6
cmp qword [rdi + 0x668], rsi
je 0x140040ed6
cmp qword [rdi + 0x670], rsi
je 0x140040ed6
test rax, rax
je 0x140040ed6
cmp qword [rdi + 0x678], rsi
je 0x140040ed6
lea rdx, str.FaxExtInitializeConfig
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x688], rax
test rax, rax
jne 0x14004083b
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14004083b
test byte [rcx + 0x1c], 4
je 0x14004083b
cmp byte [rcx + 0x19], 5
jb 0x14004083b
lea edx, [rax + 0x14]
lea r9, [rdi + 0x34]
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.1400011f0
cmp dword [rdi + 0x658], esi
je 0x14004084b
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14004085e
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 0x1400408aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14004089e
test byte [rcx + 0x1c], 4
je 0x14004089e
cmp byte [rcx + 0x19], 2
jb 0x14004089e
mov edx, 0x15
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001030
mov dword [rdi + 0x18], 1
jmp 0x1400405e2
mov rax, qword [rdi + 0x688]
test rax, rax
je 0x140040964
lea rcx, [0x14000e280]
mov qword [rsp + 0x20], rcx
lea r9, [0x140056f60]
lea r8, [0x140056dc0]
lea rdx, [0x140056ce0]
lea rcx, [0x140056c10]
mov r10, qword [0x140080850]
call r10
mov ebx, eax
mov dword [rsp + 0x70], eax
jmp 0x14004091a
test ebx, ebx
jns 0x140040964
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400405db
test byte [rcx + 0x1c], 4
je 0x1400405db
cmp byte [rcx + 0x19], 2
jb 0x1400405db
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.140001064
jmp 0x1400405db
mov rcx, qword [rdi + 0x650]
mov rax, qword [rdi + 0x660]
mov r8, qword [0x140080850]
cmp dword [rdi + 0x658], esi
lea rdx, [rsp + 0x90]
jne 0x140040991
lea rdx, [rsp + 0xe0]
call r8
mov dword [rsp + 0x78], eax
mov rcx, qword [rsp + 0x60]
jmp 0x1400409c5
test eax, eax
jne 0x140040a0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400405db
test byte [rcx + 0x1c], 4
je 0x1400405db
cmp byte [rcx + 0x19], 2
jb 0x1400405db
mov edx, 0x17
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp 0x1400405db
mov edx, esi
mov dword [rsp + 0x50], edx
mov eax, dword [rsp + 0x74]
lea r13, [rax + rax*4]
mov rax, qword [rcx + 0x10]
lea rcx, [rax + r13*8]
cmp dword [rcx + 0x18], esi
jbe 0x140040e77
mov qword [rsp + 0x80], rsi
mov eax, edx
lea rax, [rax + rax*4]
mov qword [rsp + 0x58], rax
mov rcx, qword [rcx + 0x20]
lea rdx, str.6bbf7bfe_9af2_11d0_abf7_00c04fd91a4e
mov rcx, qword [rcx + rax*8 + 0x10]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x140040a9b
call fcn.14006739c
test eax, eax
jne 0x140040a9b
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140040c08
test byte [rcx + 0x1c], 4
je 0x140040c08
cmp byte [rcx + 0x19], 5
jb 0x140040c08
lea edx, [rax + 0x18]
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001010
jmp 0x140040c08
mov ecx, 0x60
call fcn.1400625b8
mov rbx, rax
test rax, rax
je 0x140040e1a
xor edx, edx
lea r8d, [rdx + 0x60]
mov rcx, rax
call sub.msvcrt.dll_memset
mov qword [rbx + 0x58], rdi
mov rdx, qword [rsp + 0x60]
mov rax, qword [rdx + 0x10]
mov rcx, qword [rax + r13*8 + 0x20]
mov r8, qword [rsp + 0x58]
mov eax, dword [rcx + r8*8 + 0x20]
mov dword [rbx + 0x30], eax
mov rax, qword [rdx + 0x10]
mov rcx, qword [rax + r13*8 + 0x20]
lea rax, [0x140080e08]
cmp qword [rcx + r8*8], rsi
cmovne rax, qword [rcx + r8*8]
mov rcx, rax
call fcn.1400633d4
mov qword [rbx + 0x40], rax
test rax, rax
je 0x140040d89
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x10]
mov rcx, qword [rax + r13*8 + 0x20]
lea rax, [0x140080e08]
mov r8, qword [rsp + 0x58]
cmp qword [rcx + r8*8 + 8], rsi
cmovne rax, qword [rcx + r8*8 + 8]
mov rcx, rax
call fcn.1400633d4
mov qword [rbx + 0x38], rax
test rax, rax
je 0x140040d60
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x10]
mov rcx, qword [rax + r13*8 + 0x20]
lea rax, [0x140080e08]
mov rdx, qword [rsp + 0x58]
cmp qword [rcx + rdx*8 + 0x18], rsi
cmovne rax, qword [rcx + rdx*8 + 0x18]
mov rcx, rax
call fcn.1400633d4
mov qword [rbx + 0x48], rax
test rax, rax
je 0x140040d10
lea rdx, [rbx + 0x20]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x10]
mov rcx, qword [rax + r13*8 + 0x20]
mov r8, qword [rsp + 0x58]
mov rcx, qword [rcx + r8*8 + 0x10]
call qword [sym.imp.ole32.dll_IIDFromString]
mov r10d, eax
mov dword [rsp + 0x58], eax
test eax, eax
jne 0x140040cb2
mov rcx, qword [rbx + 0x38]
call fcn.140063558
mov qword [rsp + 0x80], rax
test rax, rax
je 0x140040c73
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x50], rax
test rax, rax
je 0x140040c2d
mov rcx, qword [rsp + 0x80]
call fcn.140062654
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 + 0x50]
inc edx
mov dword [rsp + 0x50], edx
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x10]
lea rcx, [rax + r13*8]
cmp edx, dword [rcx + 0x18]
jb 0x140040a2d
jmp 0x140040e77
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140040c63
test byte [rcx + 0x1c], 4
je 0x140040c63
cmp byte [rcx + 0x19], 2
jb 0x140040c63
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x10]
call fcn.14003f590
mov dword [rdi + 0x18], 5
mov dword [rdi + 0x1c], r13d
jmp 0x140040de5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140040ca9
test byte [rcx + 0x1c], 4
je 0x140040ca9
cmp byte [rcx + 0x19], 2
jb 0x140040ca9
mov edx, 0x1e
mov r9, qword [rbx + 0x38]
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.1400011f0
mov dword [rdi + 0x1c], r13d
jmp 0x140040dde
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140040d00
test byte [rcx + 0x1c], 4
je 0x140040d00
cmp byte [rcx + 0x19], 2
jb 0x140040d00
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax + 0x10]
mov eax, dword [rsp + 0x50]
lea r8, [rax + rax*4]
mov r9, qword [rdx + r13*8 + 0x20]
mov edx, 0x1d
mov dword [rsp + 0x20], r10d
mov r9, qword [r9 + r8*8 + 0x10]
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001250
mov r10d, dword [rsp + 0x58]
mov dword [rdi + 0x18], 2
mov dword [rdi + 0x1c], r10d
jmp 0x140040de5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140040ddb
test byte [rcx + 0x1c], 4
je 0x140040ddb
cmp byte [rcx + 0x19], 2
jb 0x140040ddb
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x10]
mov eax, dword [rsp + 0x50]
lea r8, [rax + rax*4]
mov r9, qword [r9 + r13*8 + 0x20]
mov edx, 0x1c
mov r9, qword [r9 + r8*8 + 0x18]
jmp 0x140040dcb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140040ddb
test byte [rcx + 0x1c], 4
je 0x140040ddb
cmp byte [rcx + 0x19], 2
jb 0x140040ddb
mov edx, 0x1b
jmp 0x140040db0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140040ddb
test byte [rcx + 0x1c], 4
je 0x140040ddb
cmp byte [rcx + 0x19], 2
jb 0x140040ddb
mov edx, 0x1a
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x10]
mov eax, dword [rsp + 0x50]
lea r8, [rax + rax*4]
mov r9, qword [r9 + r13*8 + 0x20]
mov r9, qword [r9 + r8*8 + 8]
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.1400011f0
mov eax, dword [rsp + 0x58]
mov dword [rdi + 0x1c], eax
mov dword [rdi + 0x18], 1
mov rcx, qword [rbx + 0x40]
call fcn.140062654
mov rcx, qword [rbx + 0x38]
call fcn.140062654
mov rcx, qword [rbx + 0x48]
call fcn.140062654
mov rcx, rbx
call fcn.140062654
mov rcx, qword [rsp + 0x80]
call fcn.140062654
jmp 0x140040f23
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14004089e
test byte [rcx + 0x1c], 4
je 0x14004089e
cmp byte [rcx + 0x19], 2
jb 0x14004089e
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x10]
mov eax, dword [rsp + 0x50]
lea r8, [rax + rax*4]
mov r9, qword [r9 + r13*8 + 0x20]
mov edx, 0x19
mov r9, qword [r9 + r8*8 + 8]
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.1400011f0
jmp 0x14004089e
and qword [rdi + 0x18], 0
lea r9, [rdi + 0x690]
mov rdx, qword [r9]
cmp rdx, r9
je 0x1400410a0
mov r8, qword [0x140098228]
mov r10d, dword [0x1400981dc]
lea rcx, [rdx]
mov rdx, qword [rdx]
mov rax, r8
lea r8, [rcx + 0x10]
lea r11, [0x140098220]
mov qword [r8], r11
mov qword [rcx + 0x18], rax
mov qword [rax], r8
mov qword [0x140098228], r8
inc r10d
cmp rdx, r9
jne 0x140040e9d
mov dword [0x1400981dc], r10d
jmp 0x1400410a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140040f19
test byte [rcx + 0x1c], 4
je 0x140040f19
cmp byte [rcx + 0x19], 2
jb 0x140040f19
mov r9, qword [r13 + 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.140001250
mov eax, dword [rsp + 0x58]
mov dword [rdi + 0x18], 5
mov dword [rdi + 0x1c], eax
lea r8, [0x140080df0]
mov edx, 0xc
test rdi, rdi
je 0x140040f5f
mov r9d, dword [rdi + 0x1c]
mov dword [rsp + 0x110], r9d
mov word [rsp + 0x114], si
lea rcx, [rsp + 0x114]
call fcn.1400028c0
lea rbx, [rsp + 0x114]
jmp 0x140040f8d
mov dword [rsp + 0x130], 0xe
mov word [rsp + 0x134], si
mov r9d, 0xe
lea rcx, [rsp + 0x134]
call fcn.1400028c0
lea rbx, [rsp + 0x134]
test eax, eax
cmovs rbx, rsi
test rdi, rdi
je 0x140040fd5
mov r9d, dword [rdi + 0x18]
mov dword [rsp + 0x150], r9d
mov word [rsp + 0x154], si
lea r8, [0x140080df0]
mov edx, 0xc
lea rcx, [rsp + 0x154]
call fcn.1400028c0
lea r8, [rsp + 0x154]
test eax, eax
cmovs r8, rsi
jmp 0x140040fd8
mov r8, rsi
mov eax, dword [rsp + 0x74]
lea rdx, [rax + rax*4]
mov r13, qword [rsp + 0x60]
mov rcx, qword [r13 + 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.140062ba4
test rdi, rdi
je 0x1400410c9
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140041038
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rdi + 0x10], rsi
mov rcx, qword [rdi + 0x650]
test rcx, rcx
je 0x140041059
cmp dword [rdi + 0x658], esi
jne 0x140041059
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
mov qword [rdi + 0x650], rsi
lea r12, [rdi + 0x690]
mov r13, qword [r12]
jmp 0x140041090
mov rbx, r13
mov r13, qword [r13]
mov rcx, qword [rbx + 0x40]
call fcn.140062654
mov rcx, qword [rbx + 0x38]
call fcn.140062654
mov rcx, qword [rbx + 0x48]
call fcn.140062654
mov rcx, rbx
call fcn.140062654
cmp r13, r12
jne 0x140041066
mov qword [rdi + 0x698], r12
mov qword [r12], r12
mov r13, qword [rsp + 0x60]
test rdi, rdi
je 0x1400410c9
mov rax, qword [0x1400981f0]
lea rcx, [0x1400981e8]
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov qword [rax], rdi
mov qword [0x1400981f0], rdi
mov ebx, dword [rsp + 0x74]
inc ebx
lea r12, str.___t_
jmp 0x1400403ac
call fcn.14003ff08
cmp dword [0x1400981dc], esi
jne 0x140041111
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140041111
test byte [rcx + 0x1c], 4
je 0x140041111
cmp byte [rcx + 0x19], 3
jb 0x140041111
mov edx, 0x20
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001010
mov eax, 1
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.140077900
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