Function at 0x140138950
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc8
mov rdi, qword [rcx + 0x10]
xor r10d, r10d
xor r14b, r14b
movsxd r9, dword [rdi + 0x98]
mov rbp, r8
mov rsi, rdx
mov r12, rcx
mov qword [rsp + 0x50], r10
mov dword [rsp + 0x58], r10d
mov dword [rsp + 0x48], r10d
mov qword [rsp + 0x80], rdi
mov dword [rsp + 0x5c], r9d
cmp dword [rdi + 0x9c], r9d
jg 0x1401389d1
lea edx, [r10 + 0x11]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], r10d
call fcn.14015c470
xor r10d, r10d
mov dword [rsp + 0x5c], eax
jmp 0x1401389f8
lea rcx, [r9 + r9*2]
lea eax, [r9 + 1]
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov qword [rax + rcx*8], reloc.OLEAUT32.dll_SafeArrayGetElemsize
mov qword [rax + rcx*8 + 8], r10
mov qword [rax + rcx*8 + 0x10], r10
mov r8, qword [rsp + 0x130]
mov rbx, qword [rsi + 0x20]
movsxd rax, dword [rsi + 0x14]
imul rax, rax, 0x38
mov rdx, qword [r8 + 0x58]
mov rcx, qword [rbp + 0x20]
add rax, rbx
mov r13d, r10d
mov dword [rsp + 0x110], r10d
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x40], rdx
mov r15, r10
mov r8d, 3
movabs r11, 0x8000000000000000
cmp rbx, rax
jae 0x140138c4c
lea rax, [fcn.14013fd50]
lea rcx, [0x1401b4be0]
nop dword [rax + rax]
test byte [rbx + 0x12], 2
mov rsi, qword [rbx]
jne 0x140138af5
test byte [rbp + 0x3c], 8
je 0x140138a79
test byte [rsi + 4], 1
je 0x140138af5
mov qword [rsp + 0x98], rax
mov eax, dword [rbp + 0x44]
mov word [rsp + 0xb4], r8w
mov qword [rsp + 0xa0], rcx
mov dword [rsp + 0xb8], eax
test rsi, rsi
je 0x140138ad8
lea rcx, [rsp + 0x90]
mov rdx, rsi
call fcn.1401e3e50
cmp word [rsp + 0xb4], 0
je 0x140138af0
xor r10d, r10d
test rsi, rsi
je 0x140138ad8
mov rcx, qword [r12]
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call fcn.14013f070
jmp 0x140138adb
mov rax, r10
mov rdx, qword [rsp + 0x50]
mov r8, rax
mov rcx, r12
call fcn.14018b3c0
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x40]
mov eax, dword [rbp + 0x44]
cmp dword [rbx + 0x1c], eax
jne 0x140138c16
movzx ecx, word [rbx + 0x14]
test cl, 0x82
je 0x140138c16
test byte [rbp + 0x3c], 8
je 0x140138b25
mov rax, qword [rbx]
test byte [rax + 4], 1
jne 0x140138b25
test cl, cl
js 0x140138c16
mov rax, qword [rsp + 0x128]
test qword [rbx + 0x28], rax
jne 0x140138c16
movsxd rax, dword [rbx + 0x20]
test eax, eax
js 0x140138c16
lea rdx, [rax + rax*2]
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 8]
movzx esi, byte [rcx + rdx*8 + 0xc]
mov rcx, qword [rbx]
call fcn.140138130
cmp al, 0x42
jl 0x140138b7e
jne 0x140138b6d
xor eax, eax
cmp sil, 0x42
sete al
jmp 0x140138b76
xor eax, eax
cmp sil, 0x43
setge al
test eax, eax
je 0x140138c11
movsxd rcx, dword [rbx + 0x20]
cmp ecx, 0x40
jl 0x140138b93
movabs rsi, 0x8000000000000000
jmp 0x140138b9b
mov esi, 1
shl rsi, cl
test r14b, r14b
jne 0x140138bc8
mov rax, qword [rsp + 0x70]
lea rcx, [rcx + rcx*2]
lea rdx, str.automatic_index_on__s__s_
mov r9, qword [rax + 8]
mov r8, qword [rax]
mov r9, qword [r9 + rcx*8]
mov ecx, 0x11c
call fcn.1401124c0
mov r14b, 1
mov rdx, qword [rsp + 0x40]
test r15, rsi
jne 0x140138c16
mov rcx, qword [r12]
lea ebp, [r13 + 1]
mov r8d, ebp
call fcn.1401e7520
test eax, eax
jne 0x14013976e
mov rdx, qword [rsp + 0x40]
movsxd rcx, r13d
mov dword [rsp + 0x110], ebp
mov rax, qword [rdx + 0x48]
mov r13d, ebp
mov rbp, qword [rsp + 0x120]
mov qword [rax + rcx*8], rbx
or r15, rsi
jmp 0x140138c16
mov rdx, qword [rsp + 0x40]
add rbx, 0x38
mov r10d, 0
lea rax, [fcn.14013fd50]
lea r8d, [r10 + 3]
lea rcx, [0x1401b4be0]
cmp rbx, qword [rsp + 0x78]
jb 0x140138a60
mov rcx, qword [rsp + 0x70]
movabs r11, 0x8000000000000000
mov word [rdx + 0x3c], r13w
mov word [rdx + 0x18], r13w
mov dword [rdx + 0x38], 0x4241
movzx edx, word [rcx + 0x36]
mov r8, qword [rbp + 0x58]
not r15
or r15, r11
mov eax, IsNetDrive
mov ecx, r10d
and r15, r8
mov qword [rsp + 0x88], r15
cmp ax, dx
jge 0x140138c8c
mov r9d, eax
mov dword [rsp + 0x60], eax
jmp 0x140138ca0
movsx r9d, dx
mov dword [rsp + 0x60], r9d
test r9d, r9d
jle 0x140138cba
nop word [rax + rax]
mov eax, ecx
bt r15, rax
jae 0x140138cab
inc r13d
inc ecx
cmp ecx, r9d
jl 0x140138ca0
mov dword [rsp + 0x110], r13d
test r11, r8
je 0x140138cd1
movsx eax, dx
add r13d, 0xffffffc1
add r13d, eax
mov dword [rsp + 0x110], r13d
mov rcx, qword [r12]
lea esi, [r13 + 1]
movsx rbp, si
movsx r14d, si
lea eax, [r14 + rbp]
lea edx, [rax*2 + 9]
lea eax, [rbp*8 + 7]
and eax, 0xfffffff8
add edx, ebp
add eax, 0x70
and edx, 0xfffffff8
add eax, edx
movsxd rbx, eax
test rcx, rcx
je 0x140138d15
mov rdx, rbx
call fcn.1401877d0
mov r15, rax
jmp 0x140138d71
lea rax, [rbx - 1]
cmp rax, 0x7ffffefe
ja 0x140138d6e
cmp dword [0x1404b40a0], 0
je 0x140138d61
mov rcx, qword [0x140537688]
test rcx, rcx
je 0x140138d3c
call qword [0x1404b4120]
lea rdx, [rsp + 0x68]
mov ecx, ebx
call fcn.140163ba0
mov rcx, qword [0x140537688]
test rcx, rcx
je 0x140138d5a
call qword [0x1404b4130]
mov r15, qword [rsp + 0x68]
jmp 0x140138d71
mov ecx, ebx
call qword [0x1404b40c0]
mov r15, rax
jmp 0x140138d71
mov r15, r10
test r15, r15
je 0x14013976e
mov r8, rbx
xor edx, edx
mov rcx, r15
call sub.msvcrt.dll_memset
mov r11, qword [rsp + 0x70]
mov word [r15 + 0x60], si
dec si
lea rdx, [r15 + 0x70]
lea rax, [rbp*8 + 7]
and rax, 0xfffffffffffffff8
mov qword [r15 + 0x40], rdx
mov word [r15 + 0x5e], si
add rdx, rax
lea eax, [r14 + 1]
mov r14, qword [rsp + 0x118]
movsxd rcx, eax
mov qword [r15 + 0x10], rdx
xor r10d, r10d
lea rax, [rdx + rcx*2]
mov r13d, r10d
lea rbx, [0x14024b8d8]
mov qword [r15 + 8], rax
lea rax, [rax + rbp*2]
mov qword [r15 + 0x38], rax
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x20], r15
lea rax, str.auto_index
mov qword [r15 + 0x18], r11
mov qword [r15], rax
mov rsi, qword [r14 + 0x20]
cmp rsi, qword [rsp + 0x78]
jae 0x140138fa2
mov r8, qword [rsp + 0x120]
mov ebp, r10d
mov r14d, r10d
mov edi, r10d
nop word [rax + rax]
mov eax, dword [r8 + 0x44]
cmp dword [rsi + 0x1c], eax
jne 0x140138f7e
movzx ecx, word [rsi + 0x14]
test cl, 0x82
je 0x140138f7e
test byte [r8 + 0x3c], 8
je 0x140138e52
mov rax, qword [rsi]
test byte [rax + 4], 1
jne 0x140138e52
test cl, cl
js 0x140138f7e
mov rax, qword [rsp + 0x128]
test qword [rsi + 0x28], rax
jne 0x140138f7e
movsxd rax, dword [rsi + 0x20]
test eax, eax
js 0x140138f7e
lea rdx, [rax + rax*2]
mov rax, qword [r8 + 0x20]
mov rcx, qword [rax + 8]
movzx ebx, byte [rcx + rdx*8 + 0xc]
mov rcx, qword [rsi]
call fcn.140138130
cmp al, 0x42
jl 0x140138eb1
jne 0x140138e9d
xor r10d, r10d
cmp bl, 0x42
mov eax, r10d
sete al
jmp 0x140138ea9
xor r10d, r10d
cmp bl, 0x43
mov eax, r10d
setge al
test eax, eax
je 0x140138f63
mov ecx, dword [rsi + 0x20]
cmp ecx, 0x40
jl 0x140138ec5
movabs rax, 0x8000000000000000
jmp 0x140138ecd
mov eax, 1
shl rax, cl
test rdi, rax
jne 0x140138f6c
mov rdx, qword [rsi]
mov rcx, qword [r15 + 8]
or rdi, rax
movzx eax, word [rsi + 0x20]
mov word [r14 + rcx], ax
test dword [rdx + 4], 0x200
je 0x140138efc
mov rbx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x18]
jmp 0x140138f04
mov rbx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x10]
test dword [rdx + 4], 0x100
jne 0x140138f2b
test rbx, rbx
je 0x140138f1b
test dword [rbx + 4], 0x100
jne 0x140138f28
mov rcx, r12
call fcn.14018eea0
test rax, rax
jne 0x140138f38
mov rdx, rbx
mov rcx, r12
call fcn.14018eea0
test rax, rax
je 0x140138f44
mov rcx, qword [rax]
lea rbx, [0x14024b8d8]
jmp 0x140138f4e
lea rbx, [0x14024b8d8]
mov rcx, rbx
mov rax, qword [r15 + 0x40]
inc r13d
add r14, 2
mov qword [rax + rbp], rcx
add rbp, 8
jmp 0x140138f73
lea rbx, [0x14024b8d8]
jmp 0x140138f76
lea rbx, [0x14024b8d8]
xor r10d, r10d
mov r8, qword [rsp + 0x120]
add rsi, 0x38
cmp rsi, qword [rsp + 0x78]
jb 0x140138e20
mov rdi, qword [rsp + 0x80]
mov r11, qword [rsp + 0x70]
mov r14, qword [rsp + 0x118]
mov r9d, dword [rsp + 0x60]
mov ecx, r10d
test r9d, r9d
jle 0x140138ff6
mov r10, qword [rsp + 0x88]
movsxd rax, r13d
lea rdx, [rax*8]
lea r8, [rax + rax]
mov eax, ecx
bt r10, rax
jae 0x140138fec
mov rax, qword [r15 + 8]
inc r13d
add r8, 2
mov word [r8 + rax - 2], cx
mov rax, qword [r15 + 0x40]
add rdx, 8
mov qword [rdx + rax - 8], rbx
inc ecx
cmp ecx, r9d
jl 0x140138fc6
xor r10d, r10d
mov rax, qword [rsp + 0x120]
movabs rcx, 0x8000000000000000
test qword [rax + 0x58], rcx
je 0x14013905a
mov r8d, IsNetDrive
cmp r8w, word [r11 + 0x36]
jge 0x14013905a
movsxd rax, r13d
lea rcx, [rax*8]
lea rdx, [rax + rax]
nop word [rax + rax]
mov rax, qword [r15 + 8]
inc r13d
lea rdx, [rdx + 2]
mov word [rdx + rax - 2], r8w
mov rax, qword [r15 + 0x40]
inc r8d
mov qword [rcx + rax], rbx
movsx eax, word [r11 + 0x36]
lea rcx, [rcx + 8]
cmp r8d, eax
jl 0x140139030
mov rax, qword [r15 + 8]
mov rsi, qword [rsp + 0x130]
or edx, 0xffffffff
movsxd rcx, r13d
mov word [rax + rcx*2], dx
mov rax, qword [r15 + 0x40]
mov edx, dword [rsp + 0x110]
mov qword [rax + rcx*8], rbx
mov eax, dword [r12 + 0x34]
mov dword [rsi + 8], eax
inc dword [r12 + 0x34]
movsxd rcx, dword [rdi + 0x98]
mov r8d, dword [rsi + 8]
inc edx
cmp dword [rdi + 0x9c], ecx
jg 0x1401390b8
mov r9d, edx
mov rcx, rdi
mov edx, reloc.WS2_32.dll_WSAStartup
mov dword [rsp + 0x20], r10d
call fcn.14015c470
jmp 0x1401390e6
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov dword [rax + rcx*8], reloc.WS2_32.dll_WSAStartup
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
mov rbx, qword [r12 + 0x10]
mov rdx, r15
mov rcx, r12
call fcn.1401a2310
mov rdx, rax
test rax, rax
je 0x140139135
mov rcx, qword [rbx]
cmp byte [rcx + 0x67], 0
je 0x140139116
mov r8, rax
mov edx, 0xfffffff7
call fcn.140144830
jmp 0x140139135
mov eax, dword [rbx + 0x98]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x90]
mov byte [rax + rcx*8 + 1], 0xf7
mov qword [rax + rcx*8 + 0x10], rdx
mov rax, qword [r12]
test dword [rax + 0x60], 0x80000
jne 0x14013917a
mov edx, dword [r12 + 0x38]
inc edx
mov dword [r12 + 0x38], edx
mov dword [rsi + 0x34], edx
movsxd rcx, dword [rdi + 0x98]
cmp dword [rdi + 0x9c], ecx
jg 0x1401391ce
xor eax, eax
mov r9d, edx
mov r8d, 0x2710
lea edx, [rax + 0x4c]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.14015c470
xor r9d, r9d
movzx eax, byte [rsi + 0x38]
imul rbp, rax, 0x70
mov rax, qword [r14]
add rbp, qword [rax + 8]
test byte [rbp + 0x48], 0x10
je 0x1401392d7
movsxd r8, dword [rdi + 0x98]
mov esi, dword [rbp + 0x3c]
mov dword [rsp + 0x48], r8d
cmp dword [rdi + 0x9c], r8d
jg 0x140139207
mov dword [rsp + 0x20], r9d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x47]
mov rcx, rdi
call fcn.14015c470
xor r9d, r9d
mov dword [rsp + 0x48], eax
jmp 0x140139232
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
xor r9d, r9d
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov dword [rax + rcx*8], 0x4c
mov dword [rax + rcx*8 + 4], 0x2710
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
jmp 0x14013917d
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov qword [rax + rcx*8], 0x47
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r9
movsxd rcx, dword [rdi + 0x98]
mov edx, dword [rbp + 0x38]
cmp dword [rdi + 0x9c], ecx
jg 0x14013925f
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, esi
lea edx, [r9 + 0xd]
mov rcx, rdi
call fcn.14015c470
xor r9d, r9d
jmp 0x14013928c
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov dword [rax + rcx*8], SafeArrayGetLBound
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r9
movsxd rbx, dword [rdi + 0x98]
cmp dword [rdi + 0x9c], ebx
jg 0x1401392b6
mov dword [rsp + 0x20], r9d
xor r9d, r9d
mov r8d, esi
lea edx, [r9 + 0xe]
mov rcx, rdi
call fcn.14015c470
mov ebx, eax
jmp 0x140139331
lea eax, [rbx + 1]
lea rcx, [rbx + rbx*2]
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov dword [rax + rcx*8], SafeArrayGetLBound
mov dword [rax + rcx*8 + 4], esi
jmp 0x140139323
movsxd rbx, dword [rdi + 0x98]
mov edx, dword [rsi + 4]
cmp dword [rdi + 0x9c], ebx
jg 0x140139304
mov dword [rsp + 0x20], r9d
xor r9d, r9d
mov r8d, edx
lea edx, [r9 + 0x26]
mov rcx, rdi
call fcn.14015c470
mov ebx, eax
jmp 0x140139331
lea eax, [rbx + 1]
lea rcx, [rbx + rbx*2]
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov dword [rax + rcx*8], 0x26
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 0x10], r9
mov qword [rax + rcx*8 + 8], 0
mov rax, qword [rsp + 0x50]
mov ecx, reloc.WS2_32.dll_recv
test rax, rax
je 0x14013936b
dec dword [r12 + 0x44]
mov r8d, dword [r12 + 0x44]
mov r9d, ecx
mov rdx, rax
mov rcx, r12
mov dword [rsp + 0x58], r8d
call fcn.14018f9a0
mov rsi, qword [rsp + 0x40]
or dword [rsi + 0x38], 0x20000
jmp 0x140139370
mov rsi, qword [rsp + 0x40]
movzx eax, byte [r12 + 0x1f]
test al, al
jne 0x140139386
inc dword [r12 + 0x38]
mov r14d, dword [r12 + 0x38]
jmp 0x140139398
dec al
movzx eax, al
mov byte [r12 + 0x1f], al
mov r14d, dword [r12 + rax*4 + 0xd8]
mov r8, qword [rsp + 0x130]
xor eax, eax
mov r9d, r14d
mov r8d, dword [r8 + 4]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov rdx, r15
mov rcx, r12
mov dword [rsp + 0x20], eax
call fcn.14019d5a0
mov r9, qword [rsp + 0x130]
mov r8d, dword [r9 + 0x34]
mov r15d, eax
test r8d, r8d
je 0x140139463
movsxd rdx, dword [rdi + 0x98]
movzx esi, word [rsi + 0x18]
cmp dword [rdi + 0x9c], edx
jg 0x140139411
xor r9d, r9d
mov edx, 0xb2
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.14015c470
mov r9, qword [rsp + 0x130]
mov edx, eax
jmp 0x140139443
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
xor r10d, r10d
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov dword [rax + rcx*8], 0xb2
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r10d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r10
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
jne 0x140139463
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x90]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], esi
movsxd rcx, dword [rdi + 0x98]
mov edx, dword [r9 + 8]
cmp dword [rdi + 0x9c], ecx
jg 0x140139491
xor eax, eax
mov r8d, edx
mov r9d, r14d
mov edx, 0x89
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.14015c470
jmp 0x1401394c2
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
xor r8d, r8d
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov dword [rax + rcx*8], 0x89
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rax, dword [rdi + 0x98]
test eax, eax
jle 0x1401394e2
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x90]
mov edx, reloc.WS2_32.dll_recv
mov word [rax + rcx*8 - 0x16], dx
cmp qword [rsp + 0x50], 0
je 0x140139519
mov rcx, qword [rdi + 0x18]
mov edx, dword [rsp + 0x58]
mov eax, dword [rcx + 0x48]
not edx
add eax, dword [rcx + 0x44]
jns 0x140139509
mov r8d, edx
mov rdx, rdi
call fcn.140172d20
jmp 0x140139519
mov rcx, qword [rcx + 0x50]
mov eax, dword [rdi + 0x98]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
test byte [rbp + 0x48], 0x10
lea rsi, [0x1405376c8]
je 0x14013966b
mov ecx, dword [rsp + 0x48]
test ecx, ecx
jns 0x14013953a
mov ecx, dword [rdi + 0x98]
dec ecx
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
je 0x140139548
mov rcx, rsi
jmp 0x14013955a
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x90]
lea rcx, [rax + rcx*8]
lea eax, [r15 + r13]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x130]
mov r11d, dword [rbp + 0x40]
mov rdx, qword [r12 + 0x10]
mov r10d, dword [rax + 8]
mov r9d, dword [rax + 4]
mov ecx, ebx
test ebx, ebx
jns 0x140139588
mov ecx, dword [rdx + 0x98]
dec ecx
mov rax, qword [rdx]
cmp byte [rax + 0x67], 0
je 0x140139596
mov r8, rsi
jmp 0x1401395a8
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rdx + 0x90]
lea r8, [rax + rcx*8]
mov rax, qword [r12]
mov ecx, dword [rdx + 0x98]
cmp byte [rax + 0x67], 0
jne 0x140139608
cmp ebx, ecx
jge 0x140139608
sub ecx, ebx
lea rdx, [r8 + 0xc]
xor edi, edi
mov r8d, ecx
cmp dword [rdx - 8], r9d
jne 0x1401395f7
movzx eax, byte [rdx - 0xc]
cmp al, 0x5d
jne 0x1401395eb
mov ecx, dword [rdx - 4]
mov eax, dword [rdx]
mov byte [rdx - 0xc], 0x4f
add ecx, r11d
mov dword [rdx - 4], eax
mov dword [rdx], edi
mov dword [rdx - 8], ecx
jmp 0x1401395f7
cmp al, 0x86
jne 0x1401395f7
mov byte [rdx - 0xc], 0x7d
mov dword [rdx - 8], r10d
add rdx, 0x18
dec r8
jne 0x1401395c7
mov rdi, qword [rsp + 0x80]
movsxd rcx, dword [rdi + 0x98]
cmp dword [rdi + 0x9c], ecx
jg 0x140139637
xor eax, eax
mov r9d, ebx
xor r8d, r8d
lea edx, [rax + 0xb]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.14015c470
and dword [rbp + 0x48], 0xffffffef
jmp 0x1401396f0
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
xor edx, edx
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov qword [rax + rcx*8], reloc.WS2_32.dll_inet_addr
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
and dword [rbp + 0x48], 0xffffffef
jmp 0x1401396f0
mov r8, qword [rsp + 0x130]
movsxd rcx, dword [rdi + 0x98]
lea edx, [rbx + 1]
mov r8d, dword [r8 + 4]
cmp dword [rdi + 0x9c], ecx
jg 0x14013969f
xor eax, eax
mov r9d, edx
mov rcx, rdi
lea edx, [rax + 5]
mov dword [rsp + 0x20], eax
call fcn.14015c470
jmp 0x1401396d0
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
xor r9d, r9d
mov dword [rdi + 0x98], eax
mov rax, qword [rdi + 0x90]
mov dword [rax + rcx*8], 5
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
movsxd rax, dword [rdi + 0x98]
test eax, eax
jle 0x1401396f0
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x90]
mov edx, 3
mov word [rax + rcx*8 - 0x16], dx
mov edx, dword [rdi + 0x98]
test ebx, ebx
jns 0x1401396fd
lea ebx, [rdx - 1]
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
je 0x14013970b
mov rax, rsi
jmp 0x14013971d
movsxd rax, ebx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x90]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
test r14d, r14d
je 0x14013973f
movzx eax, byte [r12 + 0x1f]
cmp al, 8
jae 0x14013973f
movzx eax, al
mov dword [r12 + rax*4 + 0xd8], r14d
inc byte [r12 + 0x1f]
mov ecx, dword [rsp + 0x5c]
mov edx, dword [rdi + 0x98]
test ecx, ecx
jns 0x140139750
lea ecx, [rdx - 1]
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
jne 0x14013976b
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x90]
lea rsi, [rax + rcx*8]
mov dword [rsi + 8], edx
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x140139784
mov rcx, qword [r12]
mov rdx, rax
call fcn.14018f580
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret