Function at 0x140093a50
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov word [rsp + 0x18], r8w
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb8
mov rax, qword [rcx + 0x28]
mov rsi, qword [rcx]
xor ebp, ebp
mov r15, qword [rsi + 0x18]
mov qword [rsp + 0x78], rax
movzx r9d, r8w
movsxd rbx, edx
mov dword [rsp + 0x54], ebp
mov qword [rsp + 0x90], r15
mov rax, rbx
imul rax, rax, 0x58
movzx r8d, byte [rax + rcx + 0x74]
lea r14, [rax + rcx + 0x40]
mov rax, qword [rcx + 0x10]
lea ecx, [rbp + 1]
imul r8, r8, 0x58
mov r12d, dword [r8 + rax + 0x34]
lea r13, [r8 + rax + 8]
mov eax, dword [r14]
mov edi, eax
mov qword [rsp + 0x80], r14
mov qword [rsp + 0xa0], r13
shr edi, 0x19
mov dword [rsp + 0x30], r12d
and edi, 1
bt eax, 0x17
mov dword [rsp + 0x34], edi
jae 0x140093af7
mov dword [rsp + 0x38], ecx
test r9b, 0x40
je 0x140093afb
mov dword [rsp + 0x38], ebp
mov rcx, r15
call fcn.140046250
mov rcx, r15
mov dword [rsp + 0x3c], eax
mov dword [r14 + 0x28], eax
mov dword [r14 + 0x24], eax
call fcn.140046250
mov dword [rsp + 0x88], eax
mov dword [r14 + 0x2c], eax
cmp byte [r14 + 0x34], bpl
jbe 0x140093b4d
test byte [r13 + 0x29], 8
je 0x140093b4d
inc dword [rsi + 0x58]
mov r9d, dword [rsi + 0x58]
xor r8d, r8d
lea edx, [r8 + 7]
mov rcx, r15
mov dword [rsp + 0x20], ebp
mov dword [r14 + 0x18], r9d
call fcn.140046020
mov ecx, dword [r14]
mov qword [rsp + 0x98], 0xa
bt ecx, 0x1b
jae 0x140093f7f
mov rax, qword [r14 + 0x10]
mov ecx, dword [rsi + 0x48]
mov edx, dword [rsi + 0x4c]
movsxd r8, dword [rax]
mov r12, qword [rax + 0x20]
mov r9, qword [rax + 8]
inc dword [rsi + 0x64]
lea r10d, [r8 + 2]
mov qword [rsp + 0x58], rax
cmp r10d, ecx
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r9
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x108], edx
jg 0x140093bb1
lea eax, [rdx + r10]
sub ecx, r10d
mov dword [rsi + 0x4c], eax
mov dword [rsi + 0x48], ecx
jmp 0x140093bc4
mov eax, dword [rsi + 0x58]
lea ecx, [rax + 1]
add eax, r10d
mov dword [rsp + 0x108], ecx
mov dword [rsi + 0x58], eax
mov edi, 1
mov r13, r8
cmp r8d, edi
jl 0x140093cf0
mov r14d, dword [rsp + 0x108]
nop dword [rax]
mov ebx, ebp
mov rax, rbp
test r13, r13
jle 0x140093ccb
nop
cmp dword [r12 + rax*8], edi
je 0x140093c05
inc rax
inc ebx
cmp rax, r13
jl 0x140093bf0
jmp 0x140093ccb
lea rax, [rax + rax*2]
lea r15d, [r14 + rdi + 1]
movsxd rcx, dword [r9 + rax*4 + 8]
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x28]
imul rcx, rcx, 0x38
mov rcx, qword [rcx + rax]
mov rdx, qword [rcx + 0x18]
test rdx, rdx
je 0x140093c9b
cmp byte [rdx], 0x84
jne 0x140093c9b
mov eax, dword [rdx + 0x30]
mov r12, qword [rsi + 0x18]
mov dword [rsp + 0x50], eax
mov eax, dword [r12 + 0x34]
cmp dword [r12 + 0x38], eax
mov dword [rsp + 0x38], eax
jg 0x140093c60
mov rcx, r12
call fcn.140045f80
mov r8d, r13d
test eax, eax
jne 0x140093c94
mov eax, dword [rsp + 0x38]
inc dword [r12 + 0x34]
mov edx, dword [rsp + 0x50]
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [r12 + 8]
mov byte [rax + rcx*8], recv
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [rax + rcx*8 + 1], bpl
mov r12, qword [rsp + 0x60]
jmp 0x140093ccb
mov r8d, r15d
mov rcx, rsi
call fcn.14005a6f0
cmp eax, r15d
je 0x140093cc8
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x140093cc8
mov r9d, r15d
mov r8d, eax
mov edx, reloc.WS2_32.dll_ntohs
mov dword [rsp + 0x20], ebp
call fcn.140046020
mov r8d, r13d
cmp ebx, r8d
je 0x140093ce0
mov r9, qword [rsp + 0x70]
inc edi
cmp edi, r8d
jle 0x140093be0
mov r14, qword [rsp + 0x80]
mov r15, qword [rsp + 0x90]
mov rax, qword [rsp + 0x58]
movsxd rbx, dword [r15 + 0x34]
cmp dword [r15 + 0x38], ebx
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x38], eax
jg 0x140093d12
mov rcx, r15
call fcn.140045f80
test eax, eax
jne 0x140093d48
mov rax, qword [r15 + 8]
inc dword [r15 + 0x34]
mov edx, dword [rsp + 0x38]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x108]
mov byte [rax + rcx*8], 7
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 1], bpl
movsxd rbx, dword [r15 + 0x34]
cmp dword [r15 + 0x38], ebx
jg 0x140093d5e
mov rcx, r15
call fcn.140045f80
test eax, eax
jne 0x140093d95
inc dword [r15 + 0x34]
mov rcx, qword [r15 + 8]
lea rdx, [rbx + rbx*2]
lea eax, [rdi - 1]
mov byte [rcx + rdx*8], 7
mov byte [rcx + rdx*8 + 3], bpl
mov dword [rcx + rdx*8 + 4], eax
mov eax, dword [rsp + 0x108]
mov dword [rcx + rdx*8 + 0xc], ebp
inc eax
mov qword [rcx + rdx*8 + 0x10], rbp
mov byte [rcx + rdx*8 + 1], bpl
mov dword [rcx + rdx*8 + 8], eax
mov rax, qword [rsp + 0x58]
movsxd rbx, dword [r15 + 0x34]
mov edi, 0xfffffffe
cmp dword [rax + 0x38], ebp
mov rax, qword [rax + 0x30]
mov ecx, 0xfffffff5
cmovne edi, ecx
cmp dword [r15 + 0x38], ebx
mov qword [rsp + 0x80], rax
jg 0x140093dd3
mov rcx, r15
call fcn.140045f80
test eax, eax
je 0x140093dd3
mov ebx, 1
jmp 0x140093e11
mov rax, qword [r15 + 8]
inc dword [r15 + 0x34]
mov r8d, dword [rsp + 0x30]
mov r9d, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x108]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x80
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [rax + rcx*8 + 1], bpl
mov r8, qword [rsp + 0x80]
mov r9d, edi
mov edx, ebx
mov rcx, r15
call fcn.140046700
cmp r13d, 0
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x38], ebp
jle 0x140093eb2
mov r11, qword [rsp + 0x70]
mov r15, qword [rsp + 0x78]
lea r10, [r12 + 4]
add r11, 8
cmp byte [r10], bpl
je 0x140093e9c
movsxd rcx, dword [r11]
imul rcx, rcx, 0x38
add rcx, qword [r15 + 0x28]
je 0x140093e9c
movzx edx, byte [rcx + 0x1a]
test dl, 4
jne 0x140093e9c
cmp dword [r14 + 0x18], ebp
je 0x140093e71
mov rax, qword [rcx]
test byte [rax + 2], 1
je 0x140093e9c
movsxd rax, dword [rcx + 8]
or dl, 4
mov byte [rcx + 0x1a], dl
test eax, eax
js 0x140093e9c
mov rdx, rax
mov rax, qword [rcx + 0x20]
imul rdx, rdx, 0x38
add rdx, qword [rax + 0x28]
add byte [rdx + 0x1b], 0xff
jne 0x140093e9c
mov rcx, r14
call fcn.140092d80
add r10, 8
add r11, 0xc
sub r13, 1
jne 0x140093e47
mov r15, qword [rsp + 0x90]
mov r12d, dword [rsp + 0x30]
mov r10d, dword [rsp + 0x48]
mov byte [r14 + 0x35], 0x83
mov dword [r14 + 0x38], r12d
mov eax, dword [r15 + 0x34]
mov r11d, 0xa
mov dword [r14 + 0x3c], eax
mov eax, dword [rsp + 0x108]
lea rcx, [rsi + 0x80]
lea r9d, [r10 + rax - 1]
mov r8, r11
nop dword [rax]
mov edx, dword [rcx]
cmp edx, eax
jl 0x140093f20
cmp edx, r9d
jg 0x140093f20
cmp byte [rcx - 8], bpl
je 0x140093f1e
movzx eax, byte [rsi + 0x25]
cmp al, 8
jae 0x140093f13
movzx eax, al
mov dword [rsi + rax*4 + 0x28], edx
inc byte [rsi + 0x25]
mov eax, dword [rsp + 0x108]
mov byte [rcx - 8], bpl
mov dword [rcx], ebp
add rcx, 0x18
sub r8, 1
jne 0x140093ef0
cmp r10d, dword [rsi + 0x48]
jle 0x140093f37
mov dword [rsi + 0x48], r10d
mov dword [rsi + 0x4c], eax
dec dword [rsi + 0x64]
lea rcx, [rsi + 0x80]
mov r8, r11
mov edx, dword [rcx]
test edx, edx
je 0x140093f70
mov eax, dword [rsi + 0x64]
cmp dword [rcx - 4], eax
jle 0x140093f70
cmp byte [rcx - 8], bpl
je 0x140093f6e
movzx eax, byte [rsi + 0x25]
cmp al, 8
jae 0x140093f6a
movzx eax, al
mov dword [rsi + rax*4 + 0x28], edx
inc byte [rsi + 0x25]
mov byte [rcx - 8], bpl
mov dword [rcx], ebp
add rcx, 0x18
sub r8, 1
jne 0x140093f44
jmp 0x140094b47
bt ecx, 0xc
jae 0x140094046
movzx eax, byte [rsi + 0x25]
test al, al
jne 0x140093f9a
inc dword [rsi + 0x58]
mov r13d, dword [rsi + 0x58]
jmp 0x140093fa7
dec al
movzx eax, al
mov byte [rsi + 0x25], al
mov r13d, dword [rsi + rax*4 + 0x28]
mov rax, qword [rsp + 0x78]
mov dword [rsp + 0x54], r13d
mov rdx, qword [rax + 0x28]
mov eax, dword [rax + 0x1c]
test eax, eax
je 0x140093fe5
mov r9, qword [rsp + 0x118]
cmp dword [rdx + 0xc], r12d
jne 0x140093fdc
test qword [rdx + 0x28], r9
jne 0x140093fdc
cmp dword [rdx + 0x10], 0xffffffff
jne 0x140093fdc
test byte [rdx + 0x18], 3
jne 0x140093fe8
add rdx, 0x38
sub eax, 1
jne 0x140093fc4
mov rdx, rbp
mov r9d, r13d
mov r8, r14
mov rcx, rsi
call fcn.140092ee0
mov ebx, dword [r14 + 0x28]
mov edx, socket
mov rcx, r15
mov r9d, ebx
mov r8d, eax
mov edi, eax
mov dword [rsp + 0x20], ebp
call fcn.140046020
mov r9d, ebx
mov r8d, r12d
mov edx, 0x34
mov rcx, r15
mov dword [rsp + 0x20], edi
call fcn.140046020
mov r9d, edi
or r8d, 0xffffffff
mov edx, r12d
mov rcx, rsi
call fcn.14005a250
mov byte [r14 + 0x35], 0x89
jmp 0x140094b47
bt ecx, 0xd
jae 0x1400942be
mov rax, qword [rsp + 0x78]
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x40], 0x89
mov ecx, dword [rax + 0x1c]
mov r12, qword [rax + 0x28]
mov dword [rsp + 0x70], ebp
mov r13, r12
mov eax, ecx
test ecx, ecx
je 0x1400940a1
cmp dword [r13 + 0xc], r8d
jne 0x140094098
mov rdx, qword [rsp + 0x118]
test qword [r13 + 0x28], rdx
jne 0x140094098
cmp dword [r13 + 0x10], 0xffffffff
jne 0x140094098
test byte [r13 + 0x18], 0x24
jne 0x1400940ac
add r13, 0x38
sub eax, 1
jne 0x140094076
mov rdx, qword [rsp + 0x118]
mov r13, rbp
test ecx, ecx
je 0x1400940d7
cmp dword [r12 + 0xc], r8d
jne 0x1400940ce
test qword [r12 + 0x28], rdx
jne 0x1400940ce
cmp dword [r12 + 0x10], 0xffffffff
jne 0x1400940ce
test byte [r12 + 0x18], 0x18
jne 0x1400940da
add r12, 0x38
sub ecx, 1
jne 0x1400940b0
mov r12, rbp
test edi, edi
je 0x1400940e7
mov rax, r13
mov r13, r12
mov r12, rax
test r13, r13
je 0x140094172
mov rbx, qword [r13]
lea r8, [rsp + 0x38]
mov rcx, rsi
mov rdx, qword [rbx + 0x18]
mov byte [rsp + 0x108], 0x2f
mov byte [rsp + 0x109], 0x2d
mov byte [rsp + 0x10a], 0x2c
mov byte [rsp + 0x10b], 0x2e
call fcn.14005bb50
movzx ecx, byte [rbx]
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x30]
movzx edx, byte [rsp + rcx + 0xbb]
mov rcx, r15
mov edi, eax
mov dword [rsp + 0x20], eax
call fcn.140046020
mov r8d, 1
mov edx, edi
mov rcx, rsi
call fcn.14005a340
mov edx, dword [rsp + 0x38]
call fcn.14005d050
mov rdx, r13
mov rcx, r14
call fcn.140092d80
mov edi, dword [rsp + 0x34]
jmp 0x140094192
mov r9d, dword [rsp + 0x3c]
mov edx, 0x41
mov eax, 0x3f
test edi, edi
mov rcx, r15
mov dword [rsp + 0x20], ebp
cmovne edx, eax
call fcn.140046020
test r12, r12
je 0x1400941fa
mov rbx, qword [r12]
inc dword [rsi + 0x58]
mov eax, dword [rsi + 0x58]
mov rdx, qword [rbx + 0x18]
mov r8d, eax
mov rcx, rsi
mov dword [rsp + 0x70], eax
call fcn.14005bbf0
movzx r11d, byte [rbx]
cmp r11b, 0x4f
je 0x1400941dc
cmp r11b, 0x4d
je 0x1400941dc
mov eax, 0x4f
mov r10d, 0x4d
test edi, edi
cmovne r10d, eax
mov dword [rsp + 0x40], r10d
jmp 0x1400941ef
mov eax, 0x50
mov ecx, 0x4e
test edi, edi
cmovne eax, ecx
mov dword [rsp + 0x40], eax
mov rdx, r12
mov rcx, r14
call fcn.140092d80
mov ecx, dword [r15 + 0x34]
test edi, edi
sete al
mov dword [r14 + 0x3c], ecx
add al, 0x42
mov byte [r14 + 0x35], al
mov eax, dword [rsp + 0x30]
mov dword [r14 + 0x38], eax
test r13, r13
jne 0x140094224
test r12, r12
jne 0x140094224
mov byte [r14 + 0x36], 1
mov ebx, dword [rsp + 0x40]
cmp ebx, 0x89
je 0x140094b44
movzx eax, byte [rsi + 0x25]
test al, al
jne 0x140094245
inc dword [rsi + 0x58]
mov r13d, dword [rsi + 0x58]
jmp 0x140094252
dec al
movzx eax, al
mov byte [rsi + 0x25], al
mov r13d, dword [rsi + rax*4 + 0x28]
mov r12d, dword [rsp + 0x30]
mov r9d, r13d
mov edx, 0x3d
mov rcx, r15
mov r8d, r12d
mov dword [rsp + 0x54], r13d
mov dword [rsp + 0x20], ebp
call fcn.140046020
mov r9d, r13d
or r8d, 0xffffffff
mov edx, r12d
mov rcx, rsi
call fcn.14005a250
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x70]
mov edx, ebx
mov rcx, r15
mov dword [rsp + 0x20], r13d
call fcn.140046020
mov r11, qword [r15 + 8]
test r11, r11
je 0x140094b47
movsxd rax, dword [r15 + 0x34]
lea rcx, [rax + rax*2]
mov byte [r11 + rcx*8 - 0x15], 0x6b
jmp 0x140094b47
test ecx, 0x30000
je 0x1400947c4
test byte [rsp + 0x110], 1
mov eax, dword [r14 + 0x20]
mov rbx, qword [r14 + 0x10]
movsxd rdi, dword [r14 + 4]
mov dword [rsp + 0x40], eax
mov rax, qword [rbx + 0x10]
mov eax, dword [rax + rdi*4]
mov dword [rsp + 0x48], ebp
mov r13, rbp
mov qword [rsp + 0x60], rbp
mov edx, ebp
mov dword [rsp + 0x108], eax
je 0x140094314
bt ecx, 0x18
jae 0x140094314
cmp dword [rbx + 8], edi
jle 0x140094314
mov edx, 1
mov dword [rsp + 0x48], edx
bt ecx, 0x14
jae 0x140094350
mov r9, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x78]
mov r8d, eax
mov edx, r12d
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x18
call fcn.14008f6b0
mov edx, 1
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x108]
bt dword [r14], 0x15
jae 0x140094384
mov r9, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x78]
mov r8d, eax
mov edx, r12d
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x24
call fcn.14008f6b0
mov edx, 1
mov r13, rax
mov r9, qword [rsp + 0x118]
mov r8, qword [rsp + 0x78]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edx
mov rcx, rsi
mov rdx, r14
call fcn.1400930c0
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsi]
mov dword [rsp + 0x108], eax
call fcn.140024e10
cmp edi, dword [rbx + 8]
mov qword [rsp + 0x80], rax
mov eax, dword [r14 + 0x28]
mov dword [rsp + 0x3c], eax
jge 0x1400943f7
mov rcx, qword [rbx + 0x48]
mov edx, ebp
cmp byte [rdi + rcx], dl
sete dl
cmp dword [rsp + 0x34], edx
jne 0x1400943f7
mov rcx, qword [rsp + 0x60]
mov rax, r13
mov r13, rcx
mov qword [rsp + 0x60], rax
jmp 0x1400943fc
mov rax, qword [rsp + 0x60]
test r13, r13
je 0x140094413
test byte [r13 + 0x18], 0x28
jne 0x140094413
mov dword [rsp + 0x70], ebp
mov ecx, 1
jmp 0x14009441c
mov ecx, 1
mov dword [rsp + 0x70], ecx
test rax, rax
je 0x14009442b
test byte [rax + 0x18], 0x28
mov dword [rsp + 0x50], ebp
je 0x14009442f
mov dword [rsp + 0x50], ecx
test r13, r13
jne 0x14009443c
mov dword [rsp + 0x68], ebp
test edi, edi
jle 0x140094440
mov dword [rsp + 0x68], ecx
mov ebx, edi
test r13, r13
je 0x1400944bf
mov rax, qword [r13]
mov ebx, dword [rsp + 0x108]
mov rcx, rsi
mov rax, qword [rax + 0x18]
add ebx, edi
mov rdx, rax
mov r8d, ebx
mov qword [rsp + 0x48], rax
call fcn.14005bbf0
mov r9d, dword [rsp + 0x3c]
mov r8d, ebx
mov rbx, qword [rsp + 0x48]
mov rcx, r15
mov rdx, rbx
call fcn.140058c50
mov r9, qword [rsp + 0x58]
test r9, r9
je 0x1400944ef
movzx edx, byte [rdi + r9]
mov rcx, rbx
call fcn.140056fd0
mov r9, qword [rsp + 0x58]
cmp al, 0x62
jne 0x1400944a7
mov byte [rdi + r9], al
movzx edx, byte [rdi + r9]
mov rcx, rbx
call fcn.140058ca0
test eax, eax
je 0x1400944ef
mov byte [rdi + r9], WSAAsyncSelect
jmp 0x1400944ef
cmp dword [rsp + 0x48], ebp
je 0x1400944f2
mov r9d, dword [rsp + 0x108]
xor r8d, r8d
mov rcx, r15
lea edx, [r8 + 0xa]
add r9d, edi
mov dword [rsp + 0x20], ebp
call fcn.140046020
mov dword [rsp + 0x70], ebp
mov dword [rsp + 0x68], 1
lea ebx, [rdi + 1]
mov r9, qword [rsp + 0x58]
mov edx, dword [rsp + 0x108]
mov r8d, ebx
mov rcx, rsi
call fcn.140092de0
movsxd rdx, dword [rsp + 0x34]
movsxd rax, dword [rsp + 0x70]
movsxd rcx, dword [rsp + 0x68]
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x40]
lea rcx, [rax + rcx*2]
mov dword [rsp + 0x28], ebx
mov ebx, dword [rsp + 0x108]
lea rax, [rdx + rcx*2]
lea rcx, [0x140000000]
mov dword [rsp + 0x20], ebx
movzx edx, byte [rax + rcx + 0x1147c0]
mov rcx, r15
call fcn.1400461b0
mov rax, qword [rsp + 0x60]
mov dword [rsp + 0x48], edi
test rax, rax
je 0x1400945f8
mov rax, qword [rax]
add ebx, edi
mov r8d, 1
mov rax, qword [rax + 0x18]
mov edx, ebx
mov rcx, rsi
mov qword [rsp + 0x48], rax
call fcn.14005a340
mov rdx, qword [rsp + 0x48]
mov r8d, ebx
call fcn.14005bbf0
mov r9d, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x48]
mov r8d, ebx
mov rcx, r15
call fcn.140058c50
mov rbx, qword [rsp + 0x80]
test rbx, rbx
je 0x1400945da
movzx edx, byte [rdi + rbx]
mov rcx, qword [rsp + 0x48]
call fcn.140056fd0
cmp al, 0x62
jne 0x1400945c4
mov byte [rdi + rbx], al
movzx edx, byte [rdi + rbx]
mov rcx, qword [rsp + 0x48]
call fcn.140058ca0
test eax, eax
je 0x1400945da
mov byte [rdi + rbx], WSAAsyncSelect
mov edx, dword [rsp + 0x108]
lea eax, [rdi + 1]
mov r9, rbx
mov r8d, eax
mov rcx, rsi
mov dword [rsp + 0x48], eax
call fcn.140092de0
jmp 0x140094600
mov rbx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsi]
call fcn.1400249c0
mov rcx, qword [rsi]
mov rdx, rbx
call fcn.1400249c0
mov r12, qword [rsp + 0x60]
mov eax, dword [r15 + 0x34]
mov dword [r14 + 0x3c], eax
test r12, r12
jne 0x140094632
test edi, edi
jne 0x140094632
mov eax, ebp
jmp 0x140094637
mov eax, 1
movsxd rcx, dword [rsp + 0x34]
cdqe
inc rcx
imul rcx, rax
lea rax, [0x140000000]
movzx edx, byte [rcx + rax + 0x1145ec]
cmp edx, 0x89
je 0x1400946a2
mov eax, dword [rsp + 0x48]
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x108]
mov rcx, r15
mov dword [rsp + 0x20], eax
call fcn.1400461b0
mov r11, qword [r15 + 8]
test r11, r11
je 0x1400946a2
mov eax, dword [rsp + 0x50]
cmp eax, dword [rsp + 0x34]
movsxd rax, dword [r15 + 0x34]
lea rcx, [rax + rax*2]
setne dl
mov byte [r11 + rcx*8 - 0x15], dl
movzx eax, byte [rsi + 0x25]
test al, al
jne 0x1400946b2
inc dword [rsi + 0x58]
mov ebx, dword [rsi + 0x58]
jmp 0x1400946be
dec al
movzx eax, al
mov byte [rsi + 0x25], al
mov ebx, dword [rsi + rax*4 + 0x28]
test dword [r14], 0x300000
je 0x140094700
mov r9d, edi
mov edi, dword [rsp + 0x40]
mov edx, 0x1c
mov rcx, r15
mov r8d, edi
mov dword [rsp + 0x20], ebx
call fcn.140046020
mov r9d, dword [rsp + 0x88]
mov r8d, ebx
mov edx, 0x49
mov rcx, r15
mov dword [rsp + 0x20], ebp
call fcn.140046020
jmp 0x140094704
mov edi, dword [rsp + 0x40]
mov edx, ebx
mov rcx, rsi
call fcn.14005d050
mov rdx, r13
mov rcx, r14
call fcn.140092d80
mov rdx, r12
mov rcx, r14
call fcn.140092d80
cmp dword [rsp + 0x38], ebp
jne 0x140094794
movzx eax, byte [rsi + 0x25]
test al, al
jne 0x14009473b
inc dword [rsi + 0x58]
mov r13d, dword [rsi + 0x58]
jmp 0x140094748
dec al
movzx eax, al
mov byte [rsi + 0x25], al
mov r13d, dword [rsi + rax*4 + 0x28]
mov r9d, r13d
mov r8d, edi
mov edx, 0x48
mov rcx, r15
mov dword [rsp + 0x54], r13d
mov dword [rsp + 0x20], ebp
call fcn.140046020
mov r12d, dword [rsp + 0x30]
mov r9d, r13d
or r8d, 0xffffffff
mov rcx, rsi
mov edx, r12d
call fcn.14005a250
mov r9d, r13d
mov r8d, r12d
mov edx, 0x30
mov rcx, r15
mov dword [rsp + 0x20], ebp
call fcn.140046020
jmp 0x140094799
mov r12d, dword [rsp + 0x30]
bt dword [r14], 0x1a
jae 0x1400947ae
mov byte [r14 + 0x35], 0x89
mov dword [r14 + 0x38], edi
jmp 0x140094b47
cmp dword [rsp + 0x34], ebp
mov dword [r14 + 0x38], edi
sete al
add al, 0x42
mov byte [r14 + 0x35], al
jmp 0x140094b47
bt ecx, 0x1c
jae 0x140094b01
inc dword [rsi + 0x58]
mov edi, dword [rsi + 0x58]
mov rcx, r15
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x48], edi
call fcn.140046250
mov dword [rsp + 0x70], ebp
mov dword [rsp + 0x68], eax
mov rax, qword [r14 + 0x10]
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x100]
mov byte [r14 + 0x35], 3
mov dword [r14 + 0x38], edi
mov r12d, dword [rax + 0x24]
cmp r12d, 1
mov qword [rsp + 0x60], rcx
jle 0x1400948d1
mov rcx, qword [rsi]
sub r12d, ebx
dec r12d
mov edx, r12d
imul edx, edx, 0x58
add edx, 0x60
call fcn.140024ca0
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x140094855
mov rax, qword [rsp + 0x118]
jmp 0x140094d8b
lea eax, [r12 + 1]
lea rcx, [rbx + 8]
mov rdx, r13
mov r8d, 0x58
mov word [rbx + 2], ax
mov word [rbx], ax
call fcn.1400e0ec0
mov r13, qword [rsp + 0x100]
mov r13, qword [r13 + 0x10]
add r13, 8
cmp r12d, 1
jl 0x1400948da
add rbx, 0x60
lea rdi, [r14 + 0x8c]
nop word [rax + rax]
movzx edx, byte [rdi]
mov rcx, rbx
mov r8d, 0x58
imul rdx, rdx, 0x58
add rdx, r13
call fcn.1400e0ec0
add rdi, 0x58
add rbx, 0x58
sub r12, 1
jne 0x1400948a0
mov rbx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x48]
jmp 0x1400948da
mov rbx, qword [rax + 0x10]
mov qword [rsp + 0x58], rbx
and word [rsp + 0x110], 8
jne 0x14009490e
mov eax, dword [rsi + 0x58]
xor r8d, r8d
mov dword [rsp + 0x20], ebp
inc eax
lea edx, [r8 + 0xa]
lea ecx, [rax + 1]
mov r9d, eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x38], ecx
mov dword [rsi + 0x58], ecx
mov rcx, r15
call fcn.140046020
xor r8d, r8d
mov r9d, edi
mov rcx, r15
lea edx, [r8 + 7]
mov dword [rsp + 0x20], ebp
call fcn.140046020
mov r8, qword [rsp + 0x60]
mov r13d, ebp
cmp dword [r8 + 0x1c], ebp
mov dword [rsp + 0x40], eax
jle 0x140094a7c
mov eax, dword [rsp + 0x30]
mov rdi, rbp
mov ecx, 0x200
mov edx, 0xf0
nop dword [rax + rax]
mov r8, qword [r8 + 0x28]
cmp dword [rdi + r8 + 0xc], eax
je 0x140094967
cmp word [rdi + r8 + 0x18], cx
jne 0x140094a62
mov r8, qword [rdi + r8]
mov word [rsp + 0x20], dx
xor r9d, r9d
mov rdx, rbx
mov rcx, rsi
call fcn.140094e60
mov r12, rax
test rax, rax
je 0x140094a54
movzx ecx, byte [r14 + 0x34]
mov r9d, dword [rsp + 0x108]
lea r8, [rax + 0x40]
mov word [rsp + 0x28], bp
mov dword [rsp + 0x20], ecx
mov rdx, rbx
mov rcx, rsi
call fcn.1400936b0
cmp word [rsp + 0x110], bp
jne 0x140094a1c
mov rcx, qword [rsp + 0x60]
mov r9d, dword [rsp + 0x30]
mov ebx, r13d
mov eax, dword [rcx + 0x1c]
mov ecx, dword [rsp + 0x38]
dec eax
mov dword [rsp + 0x20], ecx
mov rcx, rsi
cmp r13d, eax
mov eax, 0xffffffff
cmove ebx, eax
mov r8d, eax
mov rax, qword [rsp + 0xa0]
mov rdx, qword [rax + 0x18]
call fcn.14005a3f0
mov r9d, dword [r15 + 0x34]
mov r8d, dword [rsp + 0x50]
add r9d, 2
mov edx, WSACancelAsyncRequest
mov rcx, r15
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
call fcn.1400461b0
mov rbx, qword [rsp + 0x58]
mov r9d, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x48]
mov edx, 2
mov rcx, r15
mov dword [rsp + 0x20], ebp
call fcn.140046020
mov eax, dword [rsp + 0x70]
cmp byte [r12 + 0xb], bpl
mov ecx, 1
cmovne eax, ecx
mov rcx, r12
mov dword [rsp + 0x70], eax
call fcn.140095b20
mov eax, dword [rsp + 0x30]
mov edx, 0xf0
mov ecx, 0x200
mov r8, qword [rsp + 0x60]
inc r13d
add rdi, 0x38
cmp r13d, dword [r8 + 0x1c]
jl 0x140094950
mov eax, dword [rsp + 0x40]
mov edx, dword [r15 + 0x34]
cmp edx, eax
jle 0x140094a92
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [r15 + 8]
mov dword [rax + rcx*8 + 4], edx
mov r9d, dword [r14 + 0x24]
mov edi, 1
xor r8d, r8d
mov rcx, r15
mov edx, edi
mov dword [rsp + 0x20], ebp
call fcn.140046020
mov r11, qword [r15 + 0x48]
test r11, r11
je 0x140094acc
movsxd rax, dword [rsp + 0x68]
lea rax, [rax*4 + 4]
sub r11, rax
mov eax, dword [r15 + 0x34]
mov dword [r11], eax
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x24], edi
jle 0x140094ae4
mov rcx, qword [rsi]
mov rdx, rbx
call fcn.1400249c0
cmp dword [rsp + 0x70], ebp
jne 0x140094afa
mov rdx, qword [rsp + 0x80]
mov rcx, r14
call fcn.140092d80
mov r12d, dword [rsp + 0x30]
jmp 0x140094b4c
mov r9d, dword [rsp + 0x3c]
lea rdx, [0x140000000]
movsxd rcx, edi
movzx eax, byte [rcx + rdx + 0x1145fc]
mov dword [r14 + 0x38], r12d
mov r8d, r12d
mov byte [r14 + 0x35], al
movzx edx, byte [rcx + rdx + 0x1147ac]
mov rcx, r15
mov dword [rsp + 0x20], ebp
call fcn.140046020
mov byte [r14 + 0x36], 1
inc eax
mov dword [r14 + 0x3c], eax
jmp 0x140094b47
mov r12d, eax
mov edi, 1
mov r8, qword [rsp + 0x78]
mov ecx, ebp
mov rax, qword [r8 + 8]
mov edx, dword [rax]
test edx, edx
jle 0x140094b70
add rax, 4
cmp dword [rax], r12d
je 0x140094bb3
inc ecx
add rax, 4
cmp ecx, edx
jl 0x140094b61
mov rax, rbp
mov r13, qword [rsp + 0x118]
mov edi, dword [r8 + 0x1c]
mov rbx, qword [r8 + 0x28]
not rax
and r13, rax
test edi, edi
jle 0x140094bf4
mov r15, qword [rsp + 0x100]
mov ebp, dword [rsp + 0x88]
nop dword [rax]
test byte [rbx + 0x1a], 6
jne 0x140094be0
test qword [rbx + 0x30], r13
je 0x140094bbb
mov byte [r15 + 0xb], 1
jmp 0x140094be0
mov rax, rdi
shl rax, cl
jmp 0x140094b73
cmp dword [r14 + 0x18], 0
mov rdx, qword [rbx]
je 0x140094bcb
test byte [rdx + 2], 1
je 0x140094be0
mov r9d, 8
mov r8d, ebp
mov rcx, rsi
call fcn.14005c5a0
or byte [rbx + 0x1a], 4
dec edi
add rbx, 0x38
test edi, edi
jg 0x140094ba0
mov r15, qword [rsp + 0x90]
xor ebp, ebp
cmp dword [r14 + 0x18], 0
je 0x140094d53
mov eax, dword [r15 + 0x34]
mov r12d, dword [r14 + 0x18]
mov dword [r14 + 0x30], eax
movsxd rdi, dword [r15 + 0x34]
mov eax, dword [r15 + 0x38]
cmp eax, edi
jg 0x140094c88
test eax, eax
je 0x140094c1f
add eax, eax
jmp 0x140094c24
mov eax, 0x2a
mov rdx, qword [r15 + 8]
mov rcx, qword [r15]
lea r8d, [rax + rax*2]
shl r8d, 3
call fcn.140024d40
mov rbx, rax
test rax, rax
je 0x140094cb8
mov rax, qword [r15]
test rax, rax
je 0x140094c63
cmp rbx, qword [rax + 0x178]
jb 0x140094c63
cmp rbx, qword [rax + 0x180]
jae 0x140094c63
movzx eax, word [rax + 0x158]
jmp 0x140094c6c
mov rcx, rbx
call qword [0x1401440a8]
movsxd rcx, eax
movabs rax, 0xaaaaaaaaaaaaaaab
mov qword [r15 + 8], rbx
mul rcx
shr rdx, 4
mov dword [r15 + 0x38], edx
mov rax, qword [r15 + 8]
inc dword [r15 + 0x34]
lea rcx, [rdi + rdi*2]
mov byte [rax + rcx*8], 7
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], 1
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [rax + rcx*8 + 1], 0
lea rcx, [rsi + 0x80]
mov eax, 0xa
mov edx, dword [rcx]
test edx, edx
je 0x140094cf0
cmp byte [rcx - 8], 0
je 0x140094ce6
movzx eax, byte [rsi + 0x25]
cmp al, 8
jae 0x140094ce2
movzx eax, al
mov dword [rsi + rax*4 + 0x28], edx
inc byte [rsi + 0x25]
mov byte [rcx - 8], 0
mov rax, qword [rsp + 0x98]
mov dword [rcx], ebp
add rcx, 0x18
sub rax, 1
mov qword [rsp + 0x98], rax
jne 0x140094cc4
mov r12, qword [rsp + 0x78]
mov edi, ebp
cmp dword [r12 + 0x1c], 0
mov rbx, qword [r12 + 0x28]
jle 0x140094d53
mov ebp, dword [rsp + 0x88]
nop dword [rax]
test byte [rbx + 0x1a], 6
jne 0x140094d44
test qword [rbx + 0x30], r13
jne 0x140094d44
mov rdx, qword [rbx]
mov r9d, 8
mov r8d, ebp
mov rcx, rsi
call fcn.14005c5a0
or byte [rbx + 0x1a], 4
inc edi
add rbx, 0x38
cmp edi, dword [r12 + 0x1c]
jl 0x140094d20
xor ebp, ebp
mov edx, dword [rsp + 0x54]
test edx, edx
je 0x140094d88
movzx ecx, byte [rsi + 0x25]
cmp cl, 8
jae 0x140094d88
lea rax, [rsi + 0x70]
cmp dword [rax + 0x10], edx
je 0x140094d84
inc ebp
add rax, 0x18
cmp ebp, 0xa
jl 0x140094d68
movzx eax, cl
mov dword [rsi + rax*4 + 0x28], edx
inc byte [rsi + 0x25]
jmp 0x140094d88
mov byte [rax + 8], 1
mov rax, r13
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret