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

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, qword [rcx]
mov r14d, edx
mov r13, qword [rcx + 8]
xor edx, edx
mov rbx, qword [rcx + 0x10]
mov ebp, r8d
mov r15, rcx
mov dword [rsp + 0x80], edx
mov r12d, dword [rdi + 0x44]
movzx eax, byte [r13 + 0x20]
dec r12d
mov byte [rsp + 0x88], al
mov dword [rdi + 0x44], r12d
mov dword [rsp + 0x34], edx
cmp r14d, 2
jne 0x140132f55
cmp byte [r13 + 0x21], 0x5a
jne 0x140132f55
xor eax, eax
jmp 0x140133713
mov eax, 0x39
test ebp, ebp
jle 0x14013301e
cmp byte [r13 + 0x20], 0x59
movsxd rcx, dword [rbx + 0x98]
jne 0x140132fcb
mov dword [rsp + 0x34], ecx
cmp r14d, 2
jne 0x140132fa8
cmp byte [r13 + 0x21], 0x56
jne 0x140132f87
mov r8d, dword [r15 + 0x34]
jmp 0x140132f8b
mov r8d, dword [r15 + 0x2c]
mov edx, 0x37
mov r9d, 0x34
cmovne edx, eax
mov eax, 0x2c
cmovne eax, r9d
mov ecx, dword [rax + r15]
jmp 0x140132fb5
mov r8d, dword [r15 + 0x3c]
mov edx, 0x36
mov ecx, dword [r15 + 0x34]
mov dword [rsp + 0x28], r12d
mov r9d, ebp
mov dword [rsp + 0x20], ecx
mov rcx, r15
call fcn.1401327a0
jmp 0x14013301e
cmp dword [rbx + 0x9c], ecx
jg 0x140132fed
mov r9d, r12d
mov dword [rsp + 0x20], 1
mov edx, 0x31
mov rcx, rbx
call fcn.1400a7990
jmp 0x14013301e
lea eax, [rcx + 1]
mov dword [rbx + 0x98], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x90]
mov dword [rax + rcx*8], 0x31
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], 1
mov qword [rax + rcx*8 + 0x10], rdx
cmp r14d, 1
jne 0x140133038
cmp dword [r13 + 0x84], 0
jne 0x140133038
xor edx, edx
mov rcx, r15
call fcn.140130e10
mov eax, dword [rbx + 0x98]
mov dword [rsp + 0x38], eax
movzx eax, byte [r13 + 0x22]
cmp byte [r13 + 0x21], al
jne 0x1401332a3
test ebp, ebp
je 0x1401332a3
cmp byte [r13 + 0x20], 0x59
jne 0x1401332a3
movzx eax, byte [rdi + 0x1f]
lea rcx, [rdi + 0x38]
test al, al
jne 0x14013307c
mov esi, dword [rcx]
inc esi
mov dword [rcx], esi
inc dword [rcx]
mov ebp, dword [rcx]
jmp 0x1401330a2
sub al, 1
movzx edx, al
mov byte [rdi + 0x1f], dl
mov esi, dword [rdi + rdx*4 + 0xd8]
jne 0x140133093
inc dword [rcx]
mov ebp, dword [rcx]
jmp 0x1401330a2
dec dl
movzx eax, dl
mov byte [rdi + 0x1f], al
mov ebp, dword [rdi + rax*4 + 0xd8]
cmp r14d, 2
jne 0x1401331b2
movsxd rcx, dword [rbx + 0x98]
mov edx, dword [r15 + 0x2c]
cmp dword [rbx + 0x9c], ecx
jg 0x1401330dd
xor eax, eax
mov r8d, edx
mov edx, 0x86
mov dword [rsp + 0x20], eax
mov r9d, esi
mov rcx, rbx
call fcn.1400a7990
xor r8d, r8d
jmp 0x14013310d
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x98], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x90]
mov dword [rax + rcx*8], 0x86
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rbx + 0x98]
mov edx, dword [r15 + 0x3c]
cmp dword [rbx + 0x9c], ecx
jg 0x14013313d
mov dword [rsp + 0x20], r8d
mov r9d, ebp
mov r8d, edx
mov rcx, rbx
mov edx, 0x86
call fcn.1400a7990
xor r8d, r8d
jmp 0x14013316a
lea eax, [rcx + 1]
mov dword [rbx + 0x98], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x90]
mov dword [rax + rcx*8], 0x86
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rbx + 0x98]
cmp dword [rbx + 0x9c], ecx
jg 0x140133195
mov r9d, r12d
mov dword [rsp + 0x20], esi
mov r8d, ebp
mov edx, 0x39
mov rcx, rbx
call fcn.1400a7990
jmp 0x140133277
lea eax, [rcx + 1]
mov dword [rbx + 0x98], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x90]
mov dword [rax + rcx*8 + 4], ebp
jmp 0x140133262
cmp dword [r15 + 0x28], 0
je 0x140133277
movsxd rcx, dword [rbx + 0x98]
mov edx, dword [r15 + 0x3c]
cmp dword [rbx + 0x9c], ecx
jg 0x1401331ee
xor eax, eax
mov r8d, edx
mov edx, 0x86
mov dword [rsp + 0x20], eax
mov r9d, esi
mov rcx, rbx
call fcn.1400a7990
xor r8d, r8d
jmp 0x14013321e
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x98], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x90]
mov dword [rax + rcx*8], 0x86
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rbx + 0x98]
mov edx, dword [r15 + 0x28]
cmp dword [rbx + 0x9c], ecx
jg 0x14013324a
mov r8d, edx
mov dword [rsp + 0x20], esi
mov edx, 0x39
mov r9d, r12d
mov rcx, rbx
call fcn.1400a7990
jmp 0x140133277
lea eax, [rcx + 1]
mov dword [rbx + 0x98], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x90]
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 0x10], r8
mov dword [rax + rcx*8 + 0xc], esi
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8], 0x39
test esi, esi
je 0x14013328d
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x14013328d
mov dword [rdi + rax*4 + 0xd8], esi
inc byte [rdi + 0x1f]
test ebp, ebp
je 0x1401332a3
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1401332a3
mov dword [rdi + rax*4 + 0xd8], ebp
inc byte [rdi + 0x1f]
mov ecx, r14d
sub ecx, 1
je 0x140133385
cmp ecx, 1
je 0x14013334e
cmp dword [r13 + 0x84], 0
mov esi, dword [r15 + 0x40]
mov ebp, dword [r15 + 0x3c]
mov dword [rsp + 0x30], esi
je 0x140133333
mov edx, dword [r13 + 0x88]
movsxd rcx, dword [rbx + 0x98]
cmp dword [rbx + 0x9c], ecx
jg 0x140133301
xor eax, eax
mov r8d, edx
mov rcx, rbx
mov dword [rsp + 0x20], eax
lea r9d, [rax + 1]
lea edx, [rax + 0x55]
call fcn.1400a7990
jmp 0x140133399
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x98], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x90]
mov dword [rax + rcx*8], 0x55
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 1
mov qword [rax + rcx*8 + 0x10], r8
jmp 0x14013339c
mov eax, dword [r15 + 0x20]
xor r9d, r9d
mov r8d, ebp
mov dword [rsp + 0x20], eax
mov rdx, r13
mov rcx, r15
call fcn.1401303e0
jmp 0x140133399
mov edx, dword [r13 + 0x84]
mov esi, dword [r15 + 0x30]
mov ebp, dword [r15 + 0x2c]
mov dword [rsp + 0x30], esi
test edx, edx
jne 0x1401332d5
mov eax, dword [r15 + 0x20]
lea r9d, [rdx + 1]
mov rdx, r13
mov dword [rsp + 0x20], eax
mov r8d, ebp
mov rcx, r15
call fcn.1401303e0
jmp 0x140133399
mov eax, dword [r15 + 0x38]
mov rcx, r15
mov ebp, dword [r15 + 0x34]
mov dword [rsp + 0x30], eax
call fcn.140131a10
xor r8d, r8d
cmp r14d, dword [r15 + 0x24]
jne 0x14013341b
movsxd rcx, dword [rbx + 0x98]
cmp dword [rbx + 0x9c], ecx
jg 0x1401333ce
mov dword [rsp + 0x20], r8d
xor r9d, r9d
mov r8d, ebp
mov edx, 0x81
mov rcx, rbx
call fcn.1400a7990
xor r8d, r8d
jmp 0x1401333fb
lea eax, [rcx + 1]
mov dword [rbx + 0x98], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x90]
mov dword [rax + rcx*8], 0x81
mov dword [rax + rcx*8 + 4], ebp
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
movsxd rax, dword [rbx + 0x98]
test eax, eax
jle 0x14013341b
lea rcx, [rax + rax*2]
mov edx, 2
mov rax, qword [rbx + 0x90]
mov word [rax + rcx*8 - 0x16], dx
cmp dword [rsp + 0x98], 0
movsxd rcx, dword [rbx + 0x98]
mov eax, dword [rbx + 0x9c]
je 0x1401334fc
lea edx, [rcx + 2]
cmp eax, ecx
jg 0x14013345a
mov dword [rsp + 0x20], r8d
mov r9d, edx
mov r8d, ebp
mov edx, 5
mov rcx, rbx
call fcn.1400a7990
xor r8d, r8d
jmp 0x140133487
lea eax, [rcx + 1]
mov dword [rbx + 0x98], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x90]
mov dword [rax + rcx*8], 5
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rsi, dword [rbx + 0x98]
mov dword [rsp + 0x80], esi
cmp dword [rbx + 0x9c], esi
jg 0x1401334bf
xor r9d, r9d
mov dword [rsp + 0x20], r8d
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0xb]
call fcn.1400a7990
mov esi, eax
mov dword [rsp + 0x80], eax
jmp 0x1401334e9
lea rcx, [rsi + rsi*2]
lea eax, [rsi + 1]
mov dword [rbx + 0x98], eax
mov rax, qword [rbx + 0x90]
mov qword [rax + rcx*8], reloc.WS2_32.dll_inet_addr
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
cmp byte [rsp + 0x88], 0x4c
je 0x140133687
jmp 0x1401335be
movzx r14d, byte [rsp + 0x88]
mov edx, r8d
cmp r14b, 0x4c
setne dl
inc edx
add edx, ecx
cmp eax, ecx
jg 0x140133534
mov dword [rsp + 0x20], r8d
mov r9d, edx
mov r8d, ebp
mov edx, 5
mov rcx, rbx
call fcn.1400a7990
xor r8d, r8d
jmp 0x140133561
lea eax, [rcx + 1]
mov dword [rbx + 0x98], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x90]
mov dword [rax + rcx*8], 5
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
cmp r14b, 0x4c
je 0x140133680
movsxd rcx, dword [rbx + 0x98]
cmp dword [rbx + 0x9c], ecx
jg 0x140133593
mov dword [rsp + 0x20], r8d
mov r9d, r12d
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 0xb]
call fcn.1400a7990
jmp 0x1401335be
lea eax, [rcx + 1]
mov dword [rbx + 0x98], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x90]
mov qword [rax + rcx*8], reloc.WS2_32.dll_inet_addr
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [r13 + 0x18]
test rax, rax
je 0x14013361c
mov esi, dword [rax]
test esi, esi
je 0x140133620
cmp esi, 1
jne 0x1401335f5
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x1401335e3
inc dword [rdi + 0x38]
mov r14d, dword [rdi + 0x38]
jmp 0x140133625
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r14d, dword [rdi + rax*4 + 0xd8]
jmp 0x140133625
mov ecx, dword [rdi + 0x28]
mov r14d, dword [rdi + 0x2c]
cmp esi, ecx
jg 0x14013360e
lea eax, [r14 + rsi]
sub ecx, esi
mov dword [rdi + 0x2c], eax
mov dword [rdi + 0x28], ecx
jmp 0x140133625
mov eax, dword [rdi + 0x38]
lea r14d, [rax + 1]
add eax, esi
mov dword [rdi + 0x38], eax
jmp 0x140133625
mov esi, eax
jmp 0x140133622
xor eax, eax
mov r14d, eax
mov r8d, r14d
mov edx, ebp
mov rcx, r15
call fcn.1401302d0
mov eax, dword [rsp + 0x38]
mov r8d, r14d
mov r9d, dword [rsp + 0x30]
mov rcx, rdi
mov rdx, qword [r13 + 0x18]
mov dword [rsp + 0x20], eax
call fcn.140132570
cmp esi, 1
jne 0x140133674
test r14d, r14d
je 0x140133680
movzx eax, byte [rdi + 0x1f]
mov esi, dword [rsp + 0x80]
cmp al, 8
jae 0x140133687
mov dword [rdi + rax*4 + 0xd8], r14d
inc byte [rdi + 0x1f]
jmp 0x140133687
cmp esi, dword [rdi + 0x28]
jle 0x140133680
mov dword [rdi + 0x28], esi
mov dword [rdi + 0x2c], r14d
mov esi, dword [rsp + 0x80]
mov edx, dword [rsp + 0x34]
test edx, edx
je 0x1401336e4
movsxd rcx, dword [rbx + 0x98]
cmp dword [rbx + 0x9c], ecx
jg 0x1401336b7
xor eax, eax
mov r9d, edx
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea edx, [rax + 0xb]
call fcn.1400a7990
jmp 0x1401336e4
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x98], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x90]
mov qword [rax + rcx*8], reloc.WS2_32.dll_inet_addr
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, qword [rbx + 0x18]
not r12d
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x140133700
mov r8d, r12d
mov rdx, rbx
call fcn.1400a8380
jmp 0x140133711
mov rdx, qword [rcx + 0x50]
mov ecx, dword [rbx + 0x98]
movsxd r8, r12d
mov dword [rdx + r8*4], ecx
mov eax, esi
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret