Function at 0x14003f720
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4a0
mov rax, qword [0x140072010]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov dword [rsp + 0x178], 0
mov dword [rsp + 0x17c], 4
mov byte [rsp + 0x30], 1
lea rax, [rsp + 0x318]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x338]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x31]
call fcn.1400404a0
mov rcx, rax
call fcn.14004bdc0
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x90]
movzx edx, byte [rsp + 0x44]
mov rcx, rax
call fcn.140059fc0
nop
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x68]
cmp byte [rax + rcx], 0
jne 0x14003f7e5
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x190], rax
mov r8, qword [rsp + 0x190]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x90]
call fcn.14005a2d0
nop
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x32]
call fcn.140040380
mov rcx, rax
call fcn.14004bdc0
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x98]
movzx edx, byte [rsp + 0x45]
mov rcx, rax
call fcn.140059fc0
nop
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x198], rax
mov qword [rsp + 0x70], 0xffffffffffffffff
inc qword [rsp + 0x70]
mov rax, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x70]
cmp byte [rax + rcx], 0
jne 0x14003f891
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1a8], rax
mov r8, qword [rsp + 0x1a8]
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x98]
call fcn.14005a2d0
nop
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rcx, rax
call fcn.140058650
mov qword [rsp + 0x1b0], rax
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x120], rax
cmp qword [rsp + 0x120], 0
jne 0x14003f965
mov qword [rsp + 0x1b8], 0
mov rcx, qword [rsp + 0xa0]
call fcn.140057fd0
mov rcx, qword [rsp + 0xa8]
call fcn.140057fd0
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x128], rax
jmp 0x14003f9d5
mov rax, qword [rsp + 0xa8]
mov rcx, rax
call fcn.140058650
mov qword [rsp + 0x1c0], rax
mov rdx, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x1d0], rax
mov rcx, qword [rsp + 0xa0]
call fcn.140057fd0
mov rcx, qword [rsp + 0xa8]
call fcn.140057fd0
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x1d8], rax
lea rax, [rsp + 0x33]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x33]
call fcn.1400405c0
mov rcx, rax
call fcn.14004bd30
mov rcx, rax
call qword [rsp + 0x1d8]
mov qword [rsp + 0x310], rax
lea rax, [rsp + 0x358]
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x378]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x35]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x34]
call fcn.140040800
mov rcx, rax
call fcn.14004bc10
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0xb0]
movzx edx, byte [rsp + 0x46]
mov rcx, rax
call fcn.140059fc0
nop
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x58]
cmp byte [rax + rcx], 0
jne 0x14003faa5
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x1f0], rax
mov r8, qword [rsp + 0x1f0]
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0xb0]
call fcn.14005a2d0
nop
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x35]
call fcn.1400406e0
mov rcx, rax
call fcn.14004bca0
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0xb8]
movzx edx, byte [rsp + 0x47]
mov rcx, rax
call fcn.140059fc0
nop
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x1f8], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x60]
cmp byte [rax + rcx], 0
jne 0x14003fb51
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x208], rax
mov r8, qword [rsp + 0x208]
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0xb8]
call fcn.14005a2d0
nop
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rcx, rax
call fcn.140058650
mov qword [rsp + 0x210], rax
mov rcx, qword [rsp + 0x210]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x140], rax
cmp qword [rsp + 0x140], 0
jne 0x14003fc25
mov qword [rsp + 0x218], 0
mov rcx, qword [rsp + 0x88]
call fcn.140057fd0
mov rcx, qword [rsp + 0xc0]
call fcn.140057fd0
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x148], rax
jmp 0x14003fc95
mov rax, qword [rsp + 0xc0]
mov rcx, rax
call fcn.140058650
mov qword [rsp + 0x220], rax
mov rdx, qword [rsp + 0x220]
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x228], rax
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0x230], rax
mov rcx, qword [rsp + 0x88]
call fcn.140057fd0
mov rcx, qword [rsp + 0xc0]
call fcn.140057fd0
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x238], rax
lea rax, [rsp + 0x36]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x36]
call fcn.140040930
mov rcx, rax
call fcn.14004bb80
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [rsp + 0x238]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x14003fcf2
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x398]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x37]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3b8]
mov qword [rsp + 0x258], rax
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x37]
call fcn.140040b50
mov rcx, rax
call fcn.14004ba60
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0xc8]
movzx edx, byte [rsp + 0x48]
mov rcx, rax
call fcn.140059fc0
nop
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x240], rax
mov qword [rsp + 0x50], 0xffffffffffffffff
inc qword [rsp + 0x50]
mov rax, qword [rsp + 0x240]
mov rcx, qword [rsp + 0x50]
cmp byte [rax + rcx], 0
jne 0x14003fd7d
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0x250], rax
mov r8, qword [rsp + 0x250]
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0xc8]
call fcn.14005a2d0
nop
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0x38]
call fcn.140040a30
mov rcx, rax
call fcn.14004baf0
mov rdx, rax
mov rcx, qword [rsp + 0x258]
call fcn.1400577c0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov rcx, rax
call fcn.140058650
mov qword [rsp + 0x260], rax
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x158], rax
cmp qword [rsp + 0x158], 0
jne 0x14003fe7b
mov qword [rsp + 0x268], 0
mov rcx, qword [rsp + 0xd0]
call fcn.140057fd0
mov rcx, qword [rsp + 0xd8]
call fcn.140057fd0
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x160], rax
jmp 0x14003feeb
mov rax, qword [rsp + 0xd8]
mov rcx, rax
call fcn.140058650
mov qword [rsp + 0x270], rax
mov rdx, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x278], rax
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0x280], rax
mov rcx, qword [rsp + 0xd0]
call fcn.140057fd0
mov rcx, qword [rsp + 0xd8]
call fcn.140057fd0
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x308], rax
lea rax, [rsp + 0x3d8]
mov qword [rsp + 0x288], rax
lea rax, [rsp + 0x39]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3f8]
mov qword [rsp + 0x298], rax
lea rax, [rsp + 0x3a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x39]
call fcn.140040db0
mov rcx, rax
call fcn.14004b9d0
mov rdx, rax
mov rcx, qword [rsp + 0x288]
call fcn.1400577c0
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0x3a]
call fcn.140040c90
mov rcx, rax
call fcn.140054e50
mov rdx, rax
mov rcx, qword [rsp + 0x298]
call fcn.1400577c0
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov rcx, rax
call fcn.140058650
mov qword [rsp + 0x2a0], rax
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x168], rax
cmp qword [rsp + 0x168], 0
jne 0x140040012
mov qword [rsp + 0x2a8], 0
mov rcx, qword [rsp + 0xe0]
call fcn.140057fd0
mov rcx, qword [rsp + 0xe8]
call fcn.140057fd0
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x108], rax
jmp 0x140040082
mov rax, qword [rsp + 0xe8]
mov rcx, rax
call fcn.140058650
mov qword [rsp + 0x2b0], rax
mov rdx, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x168]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x2b8], rax
mov rax, qword [rsp + 0x2b8]
mov qword [rsp + 0x2c0], rax
mov rcx, qword [rsp + 0xe0]
call fcn.140057fd0
mov rcx, qword [rsp + 0xe8]
call fcn.140057fd0
mov rax, qword [rsp + 0x2c0]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x418]
mov qword [rsp + 0x2c8], rax
lea rax, [rsp + 0x3b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x438]
mov qword [rsp + 0x2d8], rax
lea rax, [rsp + 0x3c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x3b]
call fcn.140041020
mov rcx, rax
call fcn.14004b8b0
mov rdx, rax
mov rcx, qword [rsp + 0x2c8]
call fcn.1400577c0
mov qword [rsp + 0x2d0], rax
mov rax, qword [rsp + 0x2d0]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x3c]
call fcn.140040f00
mov rcx, rax
call fcn.14004b940
mov rdx, rax
mov rcx, qword [rsp + 0x2d8]
call fcn.1400577c0
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rcx, rax
call fcn.140058650
mov qword [rsp + 0x2e0], rax
mov rcx, qword [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
jne 0x1400401a3
mov qword [rsp + 0x2e8], 0
mov rcx, qword [rsp + 0xf0]
call fcn.140057fd0
mov rcx, qword [rsp + 0x78]
call fcn.140057fd0
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x100], rax
jmp 0x14004020d
mov rax, qword [rsp + 0x78]
mov rcx, rax
call fcn.140058650
mov qword [rsp + 0x2f0], rax
mov rdx, qword [rsp + 0x2f0]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x2f8], rax
mov rax, qword [rsp + 0x2f8]
mov qword [rsp + 0x300], rax
mov rcx, qword [rsp + 0xf0]
call fcn.140057fd0
mov rcx, qword [rsp + 0x78]
call fcn.140057fd0
mov rax, qword [rsp + 0x300]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x170], rax
lea rax, [rsp + 0x3d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x3d]
call fcn.140041160
mov rcx, rax
call fcn.14004b820
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x84000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov ecx, dword [rsp + 0x40]
call qword [rsp + 0x308]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x140040280
mov ecx, dword [rsp + 0x40]
call qword [rsp + 0x80]
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x480]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov dword [rsp + 0x458], 1
lea r9, [rsp + 0x458]
mov r8d, 0x10
lea rdx, [rsp + 0x480]
mov ecx, dword [rsp + 0x4c]
call qword [rsp + 0x170]
test eax, eax
jne 0x1400402c9
mov byte [rsp + 0x30], 0
mov eax, dword [rsp + 0x458]
mov r8d, eax
lea rdx, [rsp + 0x480]
lea rcx, [rsp + 0x460]
call fcn.140057880
nop
xor r8d, r8d
lea rdx, str.src_client
lea rcx, [rsp + 0x460]
call fcn.140057240
cmp rax, 0xffffffffffffffff
jne 0x140040334
mov byte [0x1402355e0], 1
lea rax, [0x140072050]
mov rdi, rax
xor eax, eax
mov ecx, 0x1c2ea1
rep stosb byte [rdi], al
xor eax, eax
cmp eax, 1
je 0x140040334
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140040320
mov ecx, dword [rsp + 0x40]
call qword [rsp + 0x80]
mov ecx, dword [rsp + 0x4c]
call qword [rsp + 0x80]
nop
lea rcx, [rsp + 0x460]
call fcn.140057fd0
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.14005f1e0
add rsp, 0x4a0
pop rdi
ret