Function at 0x14003f690
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4a0
mov rax, qword [0x14006b010]
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.140040410
mov rcx, rax
call fcn.1400459f0
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x90]
movzx edx, byte [rsp + 0x44]
mov rcx, rax
call fcn.140054270
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 0x14003f755
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.140054580
nop
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x32]
call fcn.1400402f0
mov rcx, rax
call fcn.1400459f0
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x98]
movzx edx, byte [rsp + 0x45]
mov rcx, rax
call fcn.140054270
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 0x14003f801
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.140054580
nop
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rcx, rax
call fcn.140052900
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 0x14003f8d5
mov qword [rsp + 0x1b8], 0
mov rcx, qword [rsp + 0xa0]
call fcn.140052280
mov rcx, qword [rsp + 0xa8]
call fcn.140052280
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x128], rax
jmp 0x14003f945
mov rax, qword [rsp + 0xa8]
mov rcx, rax
call fcn.140052900
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.140052280
mov rcx, qword [rsp + 0xa8]
call fcn.140052280
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.140040530
mov rcx, rax
call fcn.140045960
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.140040770
mov rcx, rax
call fcn.140045840
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0xb0]
movzx edx, byte [rsp + 0x46]
mov rcx, rax
call fcn.140054270
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 0x14003fa15
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.140054580
nop
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x35]
call fcn.140040650
mov rcx, rax
call fcn.1400458d0
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0xb8]
movzx edx, byte [rsp + 0x47]
mov rcx, rax
call fcn.140054270
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 0x14003fac1
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.140054580
nop
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rcx, rax
call fcn.140052900
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 0x14003fb95
mov qword [rsp + 0x218], 0
mov rcx, qword [rsp + 0x88]
call fcn.140052280
mov rcx, qword [rsp + 0xc0]
call fcn.140052280
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x148], rax
jmp 0x14003fc05
mov rax, qword [rsp + 0xc0]
mov rcx, rax
call fcn.140052900
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.140052280
mov rcx, qword [rsp + 0xc0]
call fcn.140052280
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.1400408a0
mov rcx, rax
call fcn.1400457b0
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 0x14003fc62
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.140040ac0
mov rcx, rax
call fcn.140045690
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0xc8]
movzx edx, byte [rsp + 0x48]
mov rcx, rax
call fcn.140054270
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 0x14003fced
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.140054580
nop
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0x38]
call fcn.1400409a0
mov rcx, rax
call fcn.140045720
mov rdx, rax
mov rcx, qword [rsp + 0x258]
call fcn.140051a70
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov rcx, rax
call fcn.140052900
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 0x14003fdeb
mov qword [rsp + 0x268], 0
mov rcx, qword [rsp + 0xd0]
call fcn.140052280
mov rcx, qword [rsp + 0xd8]
call fcn.140052280
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x160], rax
jmp 0x14003fe5b
mov rax, qword [rsp + 0xd8]
mov rcx, rax
call fcn.140052900
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.140052280
mov rcx, qword [rsp + 0xd8]
call fcn.140052280
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.140040d20
mov rcx, rax
call fcn.140045570
mov rdx, rax
mov rcx, qword [rsp + 0x288]
call fcn.140051a70
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0x3a]
call fcn.140040c00
mov rcx, rax
call fcn.140045600
mov rdx, rax
mov rcx, qword [rsp + 0x298]
call fcn.140051a70
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov rcx, rax
call fcn.140052900
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 0x14003ff82
mov qword [rsp + 0x2a8], 0
mov rcx, qword [rsp + 0xe0]
call fcn.140052280
mov rcx, qword [rsp + 0xe8]
call fcn.140052280
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x108], rax
jmp 0x14003fff2
mov rax, qword [rsp + 0xe8]
mov rcx, rax
call fcn.140052900
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.140052280
mov rcx, qword [rsp + 0xe8]
call fcn.140052280
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.140040f90
mov rcx, rax
call fcn.140045450
mov rdx, rax
mov rcx, qword [rsp + 0x2c8]
call fcn.140051a70
mov qword [rsp + 0x2d0], rax
mov rax, qword [rsp + 0x2d0]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x3c]
call fcn.140040e70
mov rcx, rax
call fcn.1400454e0
mov rdx, rax
mov rcx, qword [rsp + 0x2d8]
call fcn.140051a70
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rcx, rax
call fcn.140052900
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 0x140040113
mov qword [rsp + 0x2e8], 0
mov rcx, qword [rsp + 0xf0]
call fcn.140052280
mov rcx, qword [rsp + 0x78]
call fcn.140052280
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x100], rax
jmp 0x14004017d
mov rax, qword [rsp + 0x78]
mov rcx, rax
call fcn.140052900
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.140052280
mov rcx, qword [rsp + 0x78]
call fcn.140052280
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.1400410d0
mov rcx, rax
call fcn.1400453c0
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 0x1400401f0
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 0x140040239
mov byte [rsp + 0x30], 0
mov eax, dword [rsp + 0x458]
mov r8d, eax
lea rdx, [rsp + 0x480]
lea rcx, [rsp + 0x460]
call fcn.140051b30
nop
xor r8d, r8d
lea rdx, str.src_client
lea rcx, [rsp + 0x460]
call fcn.140051530
cmp rax, 0xffffffffffffffff
jne 0x1400402a4
mov byte [0x1402459b0], 1
lea rax, [0x14006b050]
mov rdi, rax
xor eax, eax
mov ecx, 0x1da275
rep stosb byte [rdi], al
xor eax, eax
cmp eax, 1
je 0x1400402a4
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140040290
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.140052280
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140059490
add rsp, 0x4a0
pop rdi
ret