Function at 0x140165100
Capabilities:
Access peb ldr_data

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x8f8
mov rax, qword [rsp + 0x918]
mov qword [rsp + 0x228], rax
mov dword [rsp + 0xe8], 0
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x258], rax
mov eax, dword [rsp + 0x920]
mov rcx, qword [rsp + 0x228]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x910]
mov qword [rsp + 0x3b0], rax
cmp qword [rsp + 0x258], 0
je 0x140165193
cmp qword [rsp + 0x250], 0
je 0x140165193
xor eax, eax
cmp rax, 4
jne 0x14016519d
mov byte [rsp + 0x70], 0
jmp 0x14016680f
lea rax, [rsp + 0x658]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_41
rep stosb byte [rdi], al
mov qword [rsp + 0x658], 0x33
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x668], rax
mov rax, qword [rsp + 0x258]
mov qword [rsp + 0x670], rax
mov qword [rsp + 0x678], 4
mov dword [rsp + 0x13c], 0
mov qword [rsp + 0x5d8], 0
mov qword [rsp + 0x380], Ordinal_45
lea rax, [rsp + 0x658]
mov qword [rsp + 0x388], rax
lea rax, [rsp + 0x790]
mov qword [rsp + 0x390], rax
mov qword [rsp + 0x398], 0
mov qword [rsp + 0x3a0], 0
mov qword [rsp + 0x3a8], 0
mov dword [rsp + 0x1f8], 0x9363e455
mov eax, dword [rsp + 0x1f8]
mov dword [rsp + 0x200], eax
mov eax, dword [rsp + 0x200]
mov dword [rsp + 0x208], eax
mov eax, dword [rsp + 0x208]
mov dword [rsp + 0x340], eax
mov dword [rsp + 0x344], 0
lea rax, [rsp + 0x348]
mov qword [rsp + 0x5d0], rax
mov dword [rsp + 0x138], Ordinal_79
mov dword [rsp + 0x134], Ordinal_143
mov dword [rsp + 0x130], Ordinal_211
mov dword [rsp + 0x12c], Ordinal_79
mov dword [rsp + 0x128], Ordinal_200
mov dword [rsp + 0x124], Ordinal_200
mov dword [rsp + 0x120], 0x3f
mov dword [rsp + 0x11c], reloc.WS2_32.dll_recv
mov dword [rsp + 0x118], 0
mov dword [rsp + 0x114], 0
mov dword [rsp + 0x110], reloc.WS2_32.dll_ntohs
mov dword [rsp + 0x210], 5
mov dword [rsp + 0x20c], Ordinal_200
lea rax, [rsp + 0x20c]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x210]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x114]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x118]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x11c]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x124]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x12c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x130]
lea r8, [rsp + 0x134]
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0x5d0]
call fcn.14008f900
mov byte [rsp + 0x78], 1
mov byte [rsp + 0x79], 0
movsxd rax, dword [rsp + 0x13c]
mov qword [rsp + 0x568], rax
mov byte [rsp + 0x7a], 0
mov byte [rsp + 0x7b], 0
mov rax, qword [rsp + 0x5d8]
mov qword [rsp + 0x570], rax
mov byte [rsp + 0x7c], 0
mov byte [rsp + 0x7d], 1
mov rax, qword [rsp + 0x380]
mov qword [rsp + 0x578], rax
mov byte [rsp + 0x7e], 0
mov byte [rsp + 0x7f], 0
mov rax, qword [rsp + 0x388]
mov qword [rsp + 0x580], rax
mov byte [rsp + 0x80], 0
mov byte [rsp + 0x81], 1
mov eax, dword [0x1403f9fa8]
mov qword [rsp + 0x588], rax
mov byte [rsp + 0x82], 0
mov byte [rsp + 0x83], 0
mov rax, qword [rsp + 0x390]
mov qword [rsp + 0x590], rax
mov byte [rsp + 0x84], 0
mov byte [rsp + 0x85], 0
mov rax, qword [rsp + 0x398]
mov qword [rsp + 0x598], rax
mov byte [rsp + 0x86], 0
mov byte [rsp + 0x87], 0
mov rax, qword [rsp + 0x3a0]
mov qword [rsp + 0x5a0], rax
mov byte [rsp + 0x88], 0
mov byte [rsp + 0x89], 0
mov rax, qword [rsp + 0x3a8]
mov qword [rsp + 0x5a8], rax
mov byte [rsp + 0x8a], 0
mov byte [rsp + 0x8b], 0
mov rax, qword [rsp + 0x3b0]
mov qword [rsp + 0x5b0], rax
mov eax, dword [rsp + 0x340]
mov dword [rsp + 0x140], eax
lea rax, [0x1404d0cf0]
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x3b8], rax
mov rax, qword [rsp + 0x3b8]
mov qword [rsp + 0x5e8], rax
mov byte [rsp + 0x5f0], 1
mov rax, qword [rsp + 0x260]
mov rcx, rax
call sub.KERNEL32.dll_AcquireSRWLockShared
lea rax, [0x1404d0cf0]
add rax, 8
mov qword [rsp + 0x3c0], rax
lea r8, [rsp + 0x140]
lea rdx, [rsp + 0x278]
mov rcx, qword [rsp + 0x3c0]
call fcn.140096f50
lea rax, [0x1404d0cf0]
add rax, 8
mov qword [rsp + 0x3c8], rax
mov rax, qword [rsp + 0x3c8]
add rax, 8
mov qword [rsp + 0x268], rax
mov rax, qword [rsp + 0x688]
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x268]
mov rax, qword [rax]
mov qword [rsp + 0x3d0], rax
mov r8, qword [rsp + 0x270]
mov rdx, qword [rsp + 0x3d0]
lea rcx, [rsp + 0x3d8]
call fcn.14006f260
lea rax, [rsp + 0x3d8]
mov qword [rsp + 0x3e0], rax
mov rax, qword [rsp + 0x3e0]
mov rax, qword [rax]
cmp qword [rsp + 0x278], rax
jne 0x14016562a
mov dword [rsp + 0xec], 1
jmp 0x140165635
mov dword [rsp + 0xec], 0
movzx eax, byte [rsp + 0xec]
mov byte [rsp + 0x71], al
movzx eax, byte [rsp + 0x71]
test eax, eax
je 0x140165658
mov qword [rsp + 0x280], 0
jmp 0x1401656c0
mov rax, qword [rsp + 0x278]
add rax, 0x10
mov qword [rsp + 0x3e8], rax
mov rax, qword [rsp + 0x3e8]
mov qword [rsp + 0x3f0], rax
mov rax, qword [rsp + 0x3f0]
mov qword [rsp + 0x3f8], rax
mov rax, qword [rsp + 0x3f8]
mov qword [rsp + 0x400], rax
mov rax, qword [rsp + 0x400]
mov qword [rsp + 0x408], rax
mov rax, qword [rsp + 0x408]
mov rax, qword [rax + 8]
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x418], rax
movzx eax, byte [rsp + 0x5f0]
test eax, eax
je 0x1401656fc
mov rax, qword [rsp + 0x5e8]
mov qword [rsp + 0x410], rax
mov rax, qword [rsp + 0x410]
mov rcx, rax
call sub.KERNEL32.dll_ReleaseSRWLockShared
mov rax, qword [rsp + 0x418]
mov qword [rsp + 0x288], rax
cmp qword [rsp + 0x288], 0
je 0x14016573c
mov rax, qword [rsp + 0x288]
mov eax, dword [rax + 4]
mov dword [rsp + 0x148], eax
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0x344], eax
jmp 0x1401665b4
lea rax, [rsp + 0x610]
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0x290]
mov dword [rax], 0
mov rax, qword [rsp + 0x290]
mov eax, dword [rax]
mov dword [rsp + 0x158], eax
lea rax, [rsp + 0x378]
mov qword [rsp + 0x298], rax
mov eax, dword [rsp + 0x340]
mov dword [rsp + 0x150], eax
mov rax, qword [rsp + 0x298]
mov ecx, dword [rsp + 0x150]
mov dword [rax], ecx
mov rax, qword [rsp + 0x298]
mov eax, dword [rax]
mov dword [rsp + 0x15c], eax
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0x15c]
mov dword [rsp + 0xd0], eax
mov dword [rsp + 0x160], 0
mov eax, dword [rsp + 0x160]
cmp dword [rsp + 0xd0], eax
jne 0x1401657f6
xor eax, eax
cmp eax, 1
je 0x1401657f6
mov dword [rsp + 0x98], 1
jmp 0x140165801
mov dword [rsp + 0x98], 0
movzx eax, byte [rsp + 0x98]
mov byte [rsp + 0x72], al
movzx eax, byte [rsp + 0x72]
test eax, eax
je 0x140165827
mov qword [rsp + 0x108], 0
jmp 0x140166475
mov byte [rsp + 0x8c], 1
mov qword [rsp + 0x368], 0
mov qword [rsp + 0x370], 0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x420], rax
mov rax, qword [rsp + 0x420]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x428], rax
mov rax, qword [rsp + 0x428]
add rax, 0x10
mov qword [rsp + 0x218], rax
mov eax, 1
test eax, eax
je 0x1401658a1
mov rax, qword [rsp + 0x218]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x2a0], rax
jmp 0x1401658b4
mov rax, qword [rsp + 0x218]
mov rax, qword [rax]
mov qword [rsp + 0x2a0], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x368], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x370], rax
lea rax, [rsp + 0x368]
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0x2a8]
mov rax, qword [rax]
mov qword [rsp + 0x430], rax
mov rax, qword [rsp + 0x430]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x2a8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x438], rax
mov rax, qword [rsp + 0x438]
mov qword [rsp + 0x440], rax
jmp 0x140165940
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x440]
cmp qword [rsp + 0xf0], rax
je 0x14016595f
mov dword [rsp + 0x9c], 1
jmp 0x14016596a
mov dword [rsp + 0x9c], 0
movzx eax, byte [rsp + 0x9c]
test eax, eax
je 0x140166469
xor eax, eax
mov qword [rsp + 0x448], rax
mov rax, qword [rsp + 0x448]
mov rcx, qword [rsp + 0xf0]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x450], rax
lea rax, [rsp + 0x450]
mov qword [rsp + 0x2b8], rax
mov dword [rsp + 0x164], 0
mov eax, dword [rsp + 0x164]
cmp dword [rsp + 0xa8], eax
jne 0x1401659e1
xor eax, eax
cmp eax, 1
je 0x1401659e1
mov dword [rsp + 0xa0], 1
jmp 0x1401659ec
mov dword [rsp + 0xa0], 0
movzx eax, byte [rsp + 0xa0]
mov byte [rsp + 0x73], al
movzx eax, byte [rsp + 0x73]
test eax, eax
jne 0x140165d19
mov rax, qword [rsp + 0x2b8]
mov rax, qword [rax]
add rax, 0x58
mov qword [rsp + 0x458], rax
mov rax, qword [rsp + 0x458]
mov rax, qword [rax + 8]
mov qword [rsp + 0x2b0], rax
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x618], rax
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x460], rax
mov qword [rsp + 0xf8], 0xffffffffffffffff
inc qword [rsp + 0xf8]
mov rax, qword [rsp + 0x460]
mov rcx, qword [rsp + 0xf8]
cmp word [rax + rcx*2], 0
jne 0x140165a5c
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x468], rax
mov rax, qword [rsp + 0x468]
mov qword [rsp + 0x620], rax
lea rax, [rsp + 0x618]
mov qword [rsp + 0x470], rax
lea rax, [rsp + 0x698]
mov rdi, rax
mov rsi, qword [rsp + 0x470]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x168], eax
lea rax, [rsp + 0x600]
lea rcx, [rsp + 0x698]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0xc0], eax
lea rax, [rsp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov dword [rsp + 0xb0], 0x1b6e1b1e
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x478], rax
lea rax, [rsp + 0x6a8]
lea rcx, [rsp + 0x600]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x6c0]
lea rcx, [rsp + 0x6a8]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x6c0]
mov rcx, qword [rsp + 0x478]
call fcn.140097890
mov dword [rsp + 0x16c], eax
mov rax, qword [rsp + 0x608]
mov qword [rsp + 0x480], rax
mov rax, qword [rsp + 0x480]
sub rax, 4
mov qword [rsp + 0x488], rax
mov r9, qword [rsp + 0x488]
xor r8d, r8d
lea rdx, [rsp + 0x6d0]
lea rcx, [rsp + 0x600]
call fcn.14019ab70
lea rax, [rsp + 0xb4]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov dword [rsp + 0xb4], 0x1b6e1b1e
lea rax, [rsp + 0xb4]
mov qword [rsp + 0x490], rax
lea rax, [rsp + 0x6e0]
lea rcx, [rsp + 0x6d0]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x6f0]
lea rcx, [rsp + 0x6e0]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x6f0]
mov rcx, qword [rsp + 0x490]
call fcn.140097890
mov dword [rsp + 0x174], eax
mov eax, dword [rsp + 0x16c]
mov dword [rsp + 0x170], eax
mov eax, dword [rsp + 0x170]
cmp dword [rsp + 0xc0], eax
jne 0x140165c7e
xor eax, eax
cmp eax, 1
je 0x140165c7e
mov dword [rsp + 0xb8], 1
jmp 0x140165c89
mov dword [rsp + 0xb8], 0
movzx eax, byte [rsp + 0xb8]
mov byte [rsp + 0x74], al
movzx eax, byte [rsp + 0x74]
test eax, eax
jne 0x140165cfd
mov eax, dword [rsp + 0x174]
mov dword [rsp + 0x178], eax
mov eax, dword [rsp + 0x178]
cmp dword [rsp + 0xc0], eax
jne 0x140165cd0
xor eax, eax
cmp eax, 1
je 0x140165cd0
mov dword [rsp + 0xc8], 1
jmp 0x140165cdb
mov dword [rsp + 0xc8], 0
movzx eax, byte [rsp + 0xc8]
mov byte [rsp + 0x75], al
movzx eax, byte [rsp + 0x75]
test eax, eax
jne 0x140165cfd
mov dword [rsp + 0xcc], 1
jmp 0x140165d08
mov dword [rsp + 0xcc], 0
movzx eax, byte [rsp + 0xcc]
test eax, eax
je 0x140165d19
jmp 0x14016592d
mov rax, qword [rsp + 0x2b8]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x2c0], rax
mov rax, qword [rsp + 0x2c0]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x2c0]
mov qword [rsp + 0x498], rax
mov rax, qword [rsp + 0x498]
mov qword [rsp + 0x2c8], rax
mov rax, qword [rsp + 0x2c8]
mov eax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x2c8]
mov rax, qword [rcx + rax + 0x88]
mov qword [rsp + 0x4a0], rax
mov eax, dword [rsp + 0x4a0]
add rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x4a8], rax
mov rax, qword [rsp + 0x4a8]
mov qword [rsp + 0x1f0], rax
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x17c], eax
mov eax, dword [rsp + 0x17c]
mov dword [rsp + 0x180], eax
lea rdx, [rsp + 0x870]
lea rcx, [rsp + 0x1e8]
call fcn.1401906d0
lea rcx, [rsp + 0x7c0]
mov rdi, rcx
mov rsi, rax
mov ecx, Ordinal_41
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x898]
lea rcx, [rsp + 0x1e8]
call fcn.14018ec60
lea rcx, [rsp + 0x7e8]
mov rdi, rcx
mov rsi, rax
mov ecx, Ordinal_41
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x810]
lea rcx, [rsp + 0x7c0]
mov rdi, rax
mov rsi, rcx
mov ecx, Ordinal_41
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x840]
lea rcx, [rsp + 0x7e8]
mov rdi, rax
mov rsi, rcx
mov ecx, Ordinal_41
rep movsb byte [rdi], byte [rsi]
mov r9d, dword [rsp + 0x180]
lea r8, [rsp + 0x810]
lea rdx, [rsp + 0x840]
lea rcx, [rsp + 0x768]
call fcn.140097110
lea rdx, [rsp + 0x8c0]
lea rcx, [rsp + 0x1e8]
call fcn.1401906d0
mov qword [rsp + 0x2d0], rax
mov rax, qword [rsp + 0x2d0]
mov rax, qword [rax + 8]
cmp qword [rsp + 0x770], rax
jne 0x140165ece
mov rax, qword [rsp + 0x2d0]
mov rax, qword [rax]
cmp qword [rsp + 0x768], rax
jne 0x140165ece
mov dword [rsp + 0xd8], 1
jmp 0x140165ed9
mov dword [rsp + 0xd8], 0
movzx eax, byte [rsp + 0xd8]
mov byte [rsp + 0x76], al
movzx eax, byte [rsp + 0x76]
test eax, eax
je 0x140165ef3
jmp 0x14016592d
mov eax, reloc.WLDAP32.dll_Ordinal_32
mov eax, eax
mov ecx, dword [0x1404d6060]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x140165fb9
mov eax, reloc.WLDAP32.dll_Ordinal_32
mov eax, eax
mov ecx, dword [0x1404d6060]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
or eax, 1
mov ecx, dword [0x1404d6060]
mov rdx, qword gs:[0x58]
mov edi, reloc.WLDAP32.dll_Ordinal_32
mov edi, edi
mov rcx, qword [rdx + rcx*8]
mov dword [rdi + rcx], eax
mov eax, 8
mov eax, eax
mov ecx, dword [0x1404d6060]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov qword [rsp + 0x2e0], rax
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x2d8], rax
mov rax, qword [rsp + 0x2d8]
mov qword [rax], 0
mov rax, qword [rsp + 0x2d8]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x2e0]
mov qword [rax + 0x10], 0
lea rax, [rsp + 0x778]
mov qword [rsp + 0x2e8], rax
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x690], rax
mov rax, qword [rsp + 0x2e8]
add rax, 0x10
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov rax, qword [rax]
mov qword [rsp + 0x308], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x4b0], rax
mov rax, qword [rsp + 0x4b0]
mov qword [rsp + 0x2f0], rax
mov rax, qword [rsp + 0x2f0]
mov eax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x2f0]
mov rax, qword [rcx + rax + 0x88]
mov qword [rsp + 0x2f8], rax
mov eax, dword [rsp + 0x2f8]
add rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x300], rax
mov eax, dword [rsp + 0x2fc]
mov rcx, qword [rsp + 0x300]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x4b8], rax
mov rax, qword [rsp + 0x300]
cmp qword [rsp + 0x308], rax
jb 0x1401660a8
mov rax, qword [rsp + 0x4b8]
cmp qword [rsp + 0x308], rax
jae 0x1401660a8
mov dword [rsp + 0xdc], 1
jmp 0x1401660b3
mov dword [rsp + 0xdc], 0
movzx eax, byte [rsp + 0xdc]
mov byte [rsp + 0x77], al
movzx eax, byte [rsp + 0x77]
test eax, eax
je 0x14016644f
mov rax, qword [rsp + 0x1d8]
mov rax, qword [rax]
mov qword [rsp + 0x4c0], rax
mov rax, qword [rsp + 0x4c0]
mov qword [rsp + 0x310], rax
lea rax, [rsp + 0x7a0]
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x220]
mov rcx, qword [rsp + 0x310]
mov qword [rax], rcx
mov rax, qword [rsp + 0x310]
mov qword [rsp + 0x4c8], rax
mov qword [rsp + 0x100], 0xffffffffffffffff
inc qword [rsp + 0x100]
mov rax, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x100]
cmp byte [rax + rcx], 0
jne 0x14016612e
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x4d0], rax
mov rax, qword [rsp + 0x220]
mov rcx, qword [rsp + 0x4d0]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x230]
mov rdi, rax
mov rsi, qword [rsp + 0x220]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r9b, reloc.WLDAP32.dll_Ordinal_46
xor r8d, r8d
mov rdx, qword [rsp + 0x238]
mov rcx, qword [rsp + 0x230]
call fcn.140096220
mov qword [rsp + 0x1d0], rax
cmp qword [rsp + 0x1d0], 0xffffffffffffffff
je 0x140166242
mov r9, qword [rsp + 0x1d0]
xor r8d, r8d
lea rdx, [rsp + 0x700]
lea rcx, [rsp + 0x230]
call fcn.14019aaa0
mov rax, qword [rsp + 0x1d0]
inc rax
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rsp + 0x710]
lea rcx, [rsp + 0x230]
call fcn.14019aaa0
lea rax, [rsp + 0x638]
lea rcx, [rsp + 0x700]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x648]
lea rcx, [rsp + 0x710]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
jmp 0x1401662a1
lea rax, [rsp + 0x230]
mov qword [rsp + 0x4d8], rax
mov qword [rsp + 0x628], 0
mov qword [rsp + 0x630], 0
lea rax, [rsp + 0x638]
mov rdi, rax
mov rsi, qword [rsp + 0x4d8]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x648]
lea rcx, [rsp + 0x628]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x638]
mov qword [rsp + 0x4e0], rax
lea rax, [rsp + 0x648]
mov qword [rsp + 0x4f0], rax
lea rax, [rsp + 0x37c]
mov qword [rsp + 0x318], rax
lea rax, [rsp + 0xe0]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov dword [rsp + 0xe0], 0x1b6e1b1e
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x4e8], rax
lea rax, [rsp + 0x720]
mov rdi, rax
mov rsi, qword [rsp + 0x4e0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x730]
lea rcx, [rsp + 0x720]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x730]
mov rcx, qword [rsp + 0x4e8]
call fcn.1400977d0
mov dword [rsp + 0x188], eax
mov rax, qword [rsp + 0x318]
mov ecx, dword [rsp + 0x188]
mov dword [rax], ecx
mov rax, qword [rsp + 0x318]
mov eax, dword [rax]
mov dword [rsp + 0x198], eax
lea rax, [rsp + 0x5c8]
mov qword [rsp + 0x320], rax
lea rax, [rsp + 0xe4]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov dword [rsp + 0xe4], 0x1b6e1b1e
lea rax, [rsp + 0xe4]
mov qword [rsp + 0x4f8], rax
lea rax, [rsp + 0x740]
mov rdi, rax
mov rsi, qword [rsp + 0x4f0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x750]
lea rcx, [rsp + 0x740]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x750]
mov rcx, qword [rsp + 0x4f8]
call fcn.1400977d0
mov dword [rsp + 0x190], eax
mov rax, qword [rsp + 0x320]
mov ecx, dword [rsp + 0x190]
mov dword [rax], ecx
mov rax, qword [rsp + 0x320]
mov eax, dword [rax]
mov dword [rsp + 0x19c], eax
mov r8d, dword [rsp + 0x198]
mov edx, dword [rsp + 0x19c]
lea rcx, [rsp + 0x1e0]
call fcn.140191150
mov qword [rsp + 0x108], rax
jmp 0x140166475
mov rax, qword [rsp + 0x1d8]
mov rax, qword [rax]
mov qword [rsp + 0x108], rax
jmp 0x140166475
mov qword [rsp + 0x108], 0
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x760]
mov qword [rsp + 0x328], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x328], rax
mov eax, dword [rsp + 0x340]
mov dword [rsp + 0x1a0], eax
mov rax, qword [rsp + 0x328]
mov qword [rsp + 0x510], rax
mov eax, dword [rsp + 0x1a0]
mov dword [rsp + 0x1a8], eax
lea rax, [0x1404d0cf0]
mov qword [rsp + 0x500], rax
mov rax, qword [rsp + 0x500]
mov qword [rsp + 0x240], rax
mov byte [rsp + 0x248], 0
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x508], rax
mov rax, qword [rsp + 0x508]
mov rcx, rax
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov byte [rsp + 0x248], 1
lea rax, [0x1404d0cf0]
add rax, 8
mov qword [rsp + 0x5e0], rax
lea r9, [rsp + 0x510]
lea r8, [rsp + 0x1a8]
lea rdx, [rsp + 0x7b0]
mov rcx, qword [rsp + 0x5e0]
call fcn.140098320
movzx eax, byte [rsp + 0x248]
test eax, eax
je 0x140166584
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x518], rax
mov rax, qword [rsp + 0x518]
mov rcx, rax
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x520], rax
mov rax, qword [rsp + 0x520]
mov eax, dword [rax + 4]
mov dword [rsp + 0x1b0], eax
mov eax, dword [rsp + 0x1b0]
mov dword [rsp + 0x344], eax
lea rax, [rsp + 0x348]
mov qword [rsp + 0x528], rax
mov eax, dword [rsp + 0x344]
mov dword [rsp + 0x1b8], eax
mov rax, qword [rsp + 0x528]
add rax, 0x11
mov qword [rsp + 0x530], rax
mov eax, 6
mov rcx, qword [rsp + 0x530]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x538], rax
mov rax, qword [rsp + 0x538]
mov ecx, dword [rsp + 0x1b8]
mov dword [rax], ecx
lea rax, [rsp + 0x348]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
add rax, 0x10
mov qword [rsp + 0x680], rax
mov rax, qword [0x1404d0cd8]
mov qword [rsp + 0x540], rax
mov qword [rsp + 0x330], 0
mov qword [rsp + 0x548], 0xd
mov rax, qword [rsp + 0x540]
mov qword [rsp + 0x550], rax
mov eax, 0x3000
and eax, 0xffffffc0
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x548]
xor r8d, r8d
lea rdx, [rsp + 0x330]
mov rcx, 0xffffffffffffffff
call qword [rsp + 0x550]
mov dword [rsp + 0x1c0], eax
cmp dword [rsp + 0x1c0], 0
jl 0x1401666c5
mov rax, qword [rsp + 0x330]
mov qword [rsp + 0x338], rax
jmp 0x1401666d1
mov qword [rsp + 0x338], 0
mov rax, qword [rsp + 0x338]
mov qword [rsp + 0x558], rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x558]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x90]
cmp qword [rax + 8], 0
jne 0x140166706
jmp 0x14016674f
mov rax, qword [rsp + 0x90]
add rax, 0x11
mov qword [rsp + 0x560], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 8]
mov rdi, rax
mov rsi, qword [rsp + 0x560]
mov ecx, reloc.WS2_32.dll_listen
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x348]
mov qword [rsp + 0x5b8], rax
mov rax, qword [rsp + 0x568]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x570]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x578]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x580]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x588]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x590]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x598]
mov r8, qword [rsp + 0x5a0]
mov rdx, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0x5b0]
call qword [rsp + 0x5b8]
mov dword [rsp + 0x1c4], eax
lea rax, [rsp + 0x348]
mov rcx, rax
call fcn.1400a0db0
mov eax, dword [rsp + 0x1c4]
mov dword [rsp + 0x1c8], eax
cmp dword [rsp + 0x1c8], 0
jge 0x14016680a
mov byte [rsp + 0x70], 0
jmp 0x14016680f
mov byte [rsp + 0x70], 1
movzx eax, byte [rsp + 0x70]
test eax, eax
jne 0x14016681c
xor eax, eax
jmp 0x14016684c
mov eax, dword [rsp + 0x928]
mov rcx, qword [rsp + 0x228]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0xe8]
add rax, rcx
mov qword [rsp + 0x5c0], rax
mov rax, qword [rsp + 0x5c0]
add rsp, 0x8f8
pop rdi
pop rsi
ret