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

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, qword [rcx]
mov rsi, rcx
mov r13, qword [rcx + 8]
mov ebp, r8d
xor ecx, ecx
mov r15d, edx
mov dword [rsp + 0x30], ecx
mov r12d, dword [rdi + 0x44]
movzx eax, byte [r13 + 0x20]
dec r12d
mov rbx, qword [rsi + 0x10]
mov byte [rsp + 0x80], al
mov dword [rdi + 0x44], r12d
mov dword [rsp + 0x38], ecx
cmp edx, 2
jne 0x1401c09f5
cmp byte [r13 + 0x21], 0x5a
jne 0x1401c09f5
xor eax, eax
jmp 0x1401c0e0f
mov r9d, reloc.WS2_32.dll_gethostname
test ebp, ebp
jle 0x1401c0a7e
cmp byte [r13 + 0x20], 0x59
jne 0x1401c0a66
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x38], eax
cmp r15d, 2
jne 0x1401c0a44
cmp byte [r13 + 0x21], 0x56
jne 0x1401c0a23
mov r8d, dword [rsi + 0x34]
jmp 0x1401c0a27
mov r8d, dword [rsi + 0x2c]
mov edx, gethostname
mov eax, 0x2c
cmovne edx, r9d
mov r9d, gethostname
cmovne eax, r9d
mov ecx, dword [rax + rsi]
jmp 0x1401c0a50
mov r8d, dword [rsi + 0x3c]
mov edx, gethostname
mov ecx, dword [rsi + 0x34]
mov dword [rsp + 0x28], r12d
mov r9d, ebp
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1401c0410
jmp 0x1401c0a7e
mov r9d, r12d
mov dword [rsp + 0x20], 1
mov edx, 0x3b
mov rcx, rbx
call fcn.140139160
cmp r15d, 1
jne 0x1401c0a98
cmp dword [r13 + 0x84], 0
jne 0x1401c0a98
xor edx, edx
mov rcx, rsi
call fcn.1401bea10
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x3c], eax
movzx eax, byte [r13 + 0x22]
cmp byte [r13 + 0x21], al
jne 0x1401c0b98
test ebp, ebp
je 0x1401c0b98
cmp byte [r13 + 0x20], 0x59
jne 0x1401c0b98
movzx eax, byte [rdi + 0x1f]
lea rcx, [rdi + 0x38]
test al, al
jne 0x1401c0add
mov ebp, dword [rcx]
inc ebp
mov dword [rcx], ebp
inc dword [rcx]
mov r14d, dword [rcx]
jmp 0x1401c0b05
sub al, 1
movzx edx, al
mov byte [rdi + 0x1f], dl
mov ebp, dword [rdi + rdx*4 + 0xd0]
jne 0x1401c0af5
inc dword [rcx]
mov r14d, dword [rcx]
jmp 0x1401c0b05
dec dl
movzx eax, dl
mov byte [rdi + 0x1f], al
mov r14d, dword [rdi + rax*4 + 0xd0]
cmp r15d, 2
jne 0x1401c0b38
mov r8d, dword [rsi + 0x2c]
mov r9d, ebp
mov edx, 0x87
mov rcx, rbx
call fcn.1401390f0
mov r8d, dword [rsi + 0x3c]
mov r9d, r14d
mov edx, 0x87
mov rcx, rbx
call fcn.1401390f0
mov r8d, r14d
jmp 0x1401c0b56
cmp dword [rsi + 0x28], 0
je 0x1401c0b6a
mov r8d, dword [rsi + 0x3c]
mov r9d, ebp
mov edx, 0x87
mov rcx, rbx
call fcn.1401390f0
mov r8d, dword [rsi + 0x28]
mov r9d, r12d
mov dword [rsp + 0x20], ebp
mov edx, reloc.WS2_32.dll_gethostname
mov rcx, rbx
call fcn.140139160
test ebp, ebp
je 0x1401c0b80
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1401c0b80
mov dword [rdi + rax*4 + 0xd0], ebp
inc byte [rdi + 0x1f]
test r14d, r14d
je 0x1401c0b98
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1401c0b98
mov dword [rdi + rax*4 + 0xd0], r14d
inc byte [rdi + 0x1f]
mov ecx, r15d
sub ecx, 1
je 0x1401c0c35
cmp ecx, 1
je 0x1401c0bf3
cmp dword [r13 + 0x84], 0
mov ebp, dword [rsi + 0x40]
mov r15d, dword [rsi + 0x3c]
mov dword [rsp + 0x34], ebp
je 0x1401c0bd9
mov r8d, dword [r13 + 0x88]
mov r9d, 1
mov rcx, rbx
lea edx, [r9 + 0x55]
call fcn.1401390f0
jmp 0x1401c0c48
mov eax, dword [rsi + 0x20]
xor r9d, r9d
mov r8d, r15d
mov dword [rsp + 0x20], eax
mov rdx, r13
mov rcx, rsi
call fcn.1401be040
jmp 0x1401c0c48
mov r8d, dword [r13 + 0x84]
mov r9d, 1
mov ebp, dword [rsi + 0x30]
mov r15d, dword [rsi + 0x2c]
mov dword [rsp + 0x34], ebp
test r8d, r8d
je 0x1401c0c1e
lea edx, [r9 + 0x55]
mov rcx, rbx
call fcn.1401390f0
jmp 0x1401c0c48
mov eax, dword [rsi + 0x20]
mov r8d, r15d
mov rdx, r13
mov dword [rsp + 0x20], eax
mov rcx, rsi
call fcn.1401be040
jmp 0x1401c0c48
mov eax, dword [rsi + 0x38]
mov rcx, rsi
mov r15d, dword [rsi + 0x34]
mov dword [rsp + 0x34], eax
call fcn.1401bf610
mov eax, dword [rsp + 0x88]
cmp eax, dword [rsi + 0x24]
jne 0x1401c0c81
mov r8d, r15d
mov edx, 0x82
mov rcx, rbx
call fcn.140139080
movsxd rax, dword [rbx + 0x90]
test eax, eax
jle 0x1401c0c81
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov word [rax + rcx*8 - 0x16], 2
cmp dword [rsp + 0x98], 0
mov r8d, r15d
mov eax, dword [rbx + 0x90]
mov edx, 0x27
mov rcx, rbx
je 0x1401c0cc9
lea r9d, [rax + 2]
call fcn.1401390f0
mov edx, 9
mov rcx, rbx
call fcn.140139010
cmp byte [rsp + 0x80], 0x4c
mov r14d, eax
mov dword [rsp + 0x30], eax
je 0x1401c0d7f
jmp 0x1401c0d03
xor r9d, r9d
cmp byte [rsp + 0x80], 0x4c
setne r9b
inc r9d
add r9d, eax
call fcn.1401390f0
cmp byte [rsp + 0x80], 0x4c
je 0x1401c0d7a
xor r8d, r8d
mov r9d, r12d
mov rcx, rbx
lea edx, [r8 + 9]
call fcn.1401390f0
mov rbp, qword [r13 + 0x18]
test rbp, rbp
je 0x1401c0d22
mov ebp, dword [rbp]
test ebp, ebp
je 0x1401c0d22
mov edx, ebp
mov rcx, rdi
call fcn.14015cfc0
mov r14d, eax
jmp 0x1401c0d25
xor r14d, r14d
mov r8d, r14d
mov edx, r15d
mov rcx, rsi
call fcn.1401bdf30
mov eax, dword [rsp + 0x3c]
mov r8d, r14d
mov r9d, dword [rsp + 0x34]
mov rcx, rdi
mov rdx, qword [r13 + 0x18]
mov dword [rsp + 0x20], eax
call fcn.1401c01d0
cmp ebp, 1
jne 0x1401c0d6e
test r14d, r14d
je 0x1401c0d7a
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1401c0d7a
mov dword [rdi + rax*4 + 0xd0], r14d
inc byte [rdi + 0x1f]
jmp 0x1401c0d7a
cmp ebp, dword [rdi + 0x28]
jle 0x1401c0d7a
mov dword [rdi + 0x28], ebp
mov dword [rdi + 0x2c], r14d
mov r14d, dword [rsp + 0x30]
mov edx, dword [rsp + 0x38]
test edx, edx
je 0x1401c0ddf
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1401c0db2
xor r8d, r8d
mov dword [rsp + 0x20], 0
mov r9d, edx
mov rcx, rbx
lea edx, [r8 + 9]
call fcn.140138f10
jmp 0x1401c0ddf
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 9
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 0x1401c0dfb
mov r8d, r12d
mov rdx, rbx
call fcn.140139c10
jmp 0x1401c0e0c
mov rdx, qword [rcx + 0x50]
mov ecx, dword [rbx + 0x90]
movsxd r8, r12d
mov dword [rdx + r8*4], ecx
mov eax, r14d
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret