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

Disassembly:
mov r11, rsp
push rbx
push r15
sub rsp, 0x58
mov rdx, qword [rcx + 0x1c8]
mov rax, qword [rcx]
mov rbx, qword [rcx + 0x10]
mov r15, rcx
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x78], rdx
test rdx, rdx
je 0x1400dcf67
mov qword [r11 + 0x20], rbp
mov qword [r11 - 0x18], rsi
mov qword [r11 - 0x20], rdi
mov qword [r11 - 0x28], r12
mov qword [r11 - 0x30], r13
xor ebp, ebp
mov qword [r11 - 0x38], r14
nop dword [rax + rax]
movsxd rcx, dword [rdx + 0x10]
shl rcx, 5
add rcx, qword [rax + 0x20]
mov eax, dword [rdx + 0x14]
mov dword [rsp + 0x70], eax
movzx eax, byte [r15 + 0x1f]
test al, al
jne 0x1400dc9f6
inc dword [r15 + 0x58]
mov r13d, dword [r15 + 0x58]
jmp 0x1400dca04
dec al
movzx eax, al
mov byte [r15 + 0x1f], al
mov r13d, dword [r15 + rax*4 + 0x28]
mov rax, qword [rcx + 0x18]
mov rdi, qword [r15 + 0x10]
mov r12d, dword [rdx + 0x10]
mov r14, qword [rax + 0x68]
test rdi, rdi
jne 0x1400dcab7
mov rsi, qword [r15]
mov edx, 0x118
mov rcx, rsi
call fcn.140090310
mov rdi, rax
test rax, rax
je 0x1400dca6e
xor edx, edx
mov r8d, 0x118
mov rcx, rax
call fcn.140171ae0
mov qword [rdi], rsi
mov rax, qword [rsi + 8]
test rax, rax
je 0x1400dca55
mov qword [rax + 0x60], rdi
mov rax, qword [rsi + 8]
mov qword [rdi + 0x60], rbp
mov qword [rdi + 0x68], rax
mov qword [rsi + 8], rdi
mov dword [rdi + 0x50], 0x26bceaa5
jmp 0x1400dca71
mov rdi, rbp
mov qword [r15 + 0x10], rdi
test rdi, rdi
je 0x1400dcab7
movsxd rsi, dword [rdi + 0x34]
cmp dword [rdi + 0x38], esi
jg 0x1400dca8f
mov rcx, rdi
call fcn.1400b07a0
test eax, eax
jne 0x1400dcab7
mov rax, qword [rdi + 8]
inc dword [rdi + 0x34]
lea rcx, [rsi + rsi*2]
mov word [rax + rcx*8], 0x94
mov byte [rax + rcx*8 + 3], 0
mov qword [rax + rcx*8 + 4], 0
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov rax, qword [r14]
mov r8d, dword [r14 + 0x3c]
mov r9b, 1
mov edx, r12d
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.1400cc4f0
movsxd rsi, dword [rdi + 0x34]
mov ebp, dword [r14 + 0x3c]
cmp dword [rdi + 0x38], esi
jg 0x1400dcaea
mov rcx, rdi
call fcn.1400b07a0
test eax, eax
jne 0x1400dcb14
inc dword [rdi + 0x34]
mov rax, qword [rdi + 8]
lea rcx, [rsi + rsi*2]
xor edx, edx
mov word [rax + rcx*8], 0x28
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r12d
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov r8, qword [rdi + 8]
movsx rsi, word [r14 + 0x42]
mov rcx, qword [rdi]
test r8, r8
je 0x1400dcb60
cmp byte [rcx + 0x50], 0
jne 0x1400dcb60
mov eax, dword [rdi + 0x34]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rdi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rdi + 0x10]
call fcn.1400b0d20
mov qword [rdi + 0x10], 0
mov dword [rdi + 0x10], esi
mov byte [rdi + 1], 0xf2
jmp 0x1400dcb6d
mov r8, rsi
mov edx, 0xfffffff2
call fcn.1400b0d20
movsxd r12, dword [rbx + 0x34]
cmp dword [rbx + 0x38], r12d
jg 0x1400dcb92
mov rcx, rbx
call fcn.1400b07a0
test eax, eax
je 0x1400dcb92
mov r14d, dword [rsp + 0x70]
mov r12d, 1
xor esi, esi
jmp 0x1400dcbc0
mov rax, qword [rbx + 8]
inc dword [rbx + 0x34]
mov r14d, dword [rsp + 0x70]
xor esi, esi
lea rcx, [r12 + r12*2]
lea rdx, [rax + rcx*8]
lea eax, [r14 + 1]
mov word [rdx], 0x4a
mov byte [rdx + 3], 0
mov dword [rdx + 4], eax
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
movsxd rdi, dword [rbx + 0x34]
cmp dword [rbx + 0x38], edi
jg 0x1400dcbdc
mov rcx, rbx
call fcn.1400b07a0
test eax, eax
je 0x1400dcbdc
mov edi, 1
jmp 0x1400dcc04
mov rax, qword [rbx + 8]
inc dword [rbx + 0x34]
lea rcx, [rdi + rdi*2]
mov word [rax + rcx*8], 0x48
mov byte [rax + rcx*8 + 3], 0
mov qword [rax + rcx*8 + 4], 0
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rsi
movsxd rbp, dword [rbx + 0x34]
cmp dword [rbx + 0x38], ebp
jg 0x1400dcc20
mov rcx, rbx
call fcn.1400b07a0
test eax, eax
je 0x1400dcc20
mov ebp, 1
jmp 0x1400dcc50
inc dword [rbx + 0x34]
mov rax, qword [rbx + 8]
lea rcx, [rbp*2]
add rcx, rbp
mov word [rax + rcx*8], 0x1d
mov byte [rax + rcx*8 + 3], 0
mov qword [rax + rcx*8 + 4], 0
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], rsi
movsxd rsi, dword [rbx + 0x34]
cmp dword [rbx + 0x38], esi
jg 0x1400dcc6c
mov rcx, rbx
call fcn.1400b07a0
test eax, eax
je 0x1400dcc6c
mov esi, 1
jmp 0x1400dcc98
mov rax, qword [rbx + 8]
inc dword [rbx + 0x34]
lea rcx, [rsi + rsi*2]
lea rdx, [rax + rcx*8]
lea eax, [r14 - 1]
mov dword [rdx + 4], eax
xor eax, eax
mov word [rdx], 0x4c
mov byte [rdx + 3], 0
mov dword [rdx + 0xc], r13d
mov dword [rdx + 8], eax
mov qword [rdx + 0x10], rax
movsxd r14, dword [rbx + 0x34]
cmp dword [rbx + 0x38], r14d
jg 0x1400dccae
mov rcx, rbx
call fcn.1400b07a0
test eax, eax
jne 0x1400dccdc
inc dword [rbx + 0x34]
mov rax, qword [rbx + 8]
lea rcx, [r14 + r14*2]
xor r14d, r14d
mov word [rax + rcx*8], 0x5f
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r14
jmp 0x1400dccdf
xor r14d, r14d
test edi, edi
js 0x1400dccf8
mov edx, dword [rbx + 0x34]
cmp edx, edi
jbe 0x1400dccf8
mov eax, edi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
movsxd rdi, dword [rbx + 0x34]
cmp dword [rbx + 0x38], edi
jg 0x1400dcd0d
mov rcx, rbx
call fcn.1400b07a0
test eax, eax
jne 0x1400dcd3d
mov rax, qword [rbx + 8]
inc dword [rbx + 0x34]
mov ebp, dword [rsp + 0x70]
lea rcx, [rdi + rdi*2]
lea rdx, [rax + rcx*8]
lea eax, [rbp + 1]
mov word [rdx], gethostname
mov byte [rdx + 3], 0
mov dword [rdx + 4], r14d
mov dword [rdx + 8], eax
mov dword [rdx + 0xc], r14d
mov qword [rdx + 0x10], r14
jmp 0x1400dcd41
mov ebp, dword [rsp + 0x70]
movsxd rdi, dword [rbx + 0x34]
cmp dword [rbx + 0x38], edi
jg 0x1400dcd5d
mov rcx, rbx
call fcn.1400b07a0
test eax, eax
je 0x1400dcd5d
mov edi, 1
jmp 0x1400dcd86
mov rax, qword [rbx + 8]
inc dword [rbx + 0x34]
lea rcx, [rdi + rdi*2]
mov word [rax + rcx*8], 1
mov byte [rax + rcx*8 + 3], 0
mov qword [rax + rcx*8 + 4], 0
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r14
test esi, esi
js 0x1400dcd9f
mov edx, dword [rbx + 0x34]
cmp edx, esi
jbe 0x1400dcd9f
mov eax, esi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
movsxd rsi, dword [rbx + 0x34]
cmp dword [rbx + 0x38], esi
jg 0x1400dcdb4
mov rcx, rbx
call fcn.1400b07a0
test eax, eax
jne 0x1400dcdde
mov rax, qword [rbx + 8]
inc dword [rbx + 0x34]
lea rcx, [rsi + rsi*2]
lea rdx, [rax + rcx*8]
lea eax, [rbp + 1]
mov word [rdx], 0x41
mov byte [rdx + 3], 0
mov dword [rdx + 4], r14d
mov dword [rdx + 8], eax
mov dword [rdx + 0xc], r14d
mov qword [rdx + 0x10], r14
test r12d, r12d
js 0x1400dcdfa
mov edx, dword [rbx + 0x34]
cmp edx, r12d
jbe 0x1400dcdfa
mov eax, r12d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
test edi, edi
js 0x1400dce13
mov edx, dword [rbx + 0x34]
cmp edx, edi
jbe 0x1400dce13
mov eax, edi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
movsxd rdi, dword [rbx + 0x34]
cmp dword [rbx + 0x38], edi
jg 0x1400dce28
mov rcx, rbx
call fcn.1400b07a0
test eax, eax
jne 0x1400dce55
mov rax, qword [rbx + 8]
inc dword [rbx + 0x34]
lea rcx, [rdi + rdi*2]
lea rdx, [rax + rcx*8]
lea eax, [rbp - 1]
mov word [rdx], 0x1f
mov byte [rdx + 3], 0
mov dword [rdx + 4], eax
mov dword [rdx + 8], 2
mov dword [rdx + 0xc], r13d
mov qword [rdx + 0x10], r14
movsxd rdi, dword [rbx + 0x34]
cmp dword [rbx + 0x38], edi
jg 0x1400dce6a
mov rcx, rbx
call fcn.1400b07a0
test eax, eax
jne 0x1400dce94
mov rax, qword [rbx + 8]
inc dword [rbx + 0x34]
lea rcx, [rdi + rdi*2]
lea rdx, [rax + rcx*8]
lea eax, [rbp + 1]
mov word [rdx], reloc.WS2_32.dll_gethostname
mov byte [rdx + 3], 0
mov dword [rdx + 4], r14d
mov dword [rdx + 8], r13d
mov dword [rdx + 0xc], eax
mov qword [rdx + 0x10], r14
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1400dceaa
movsxd rax, dword [rbx + 0x34]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
movsxd rdi, dword [rbx + 0x34]
cmp dword [rbx + 0x38], edi
jg 0x1400dcebf
mov rcx, rbx
call fcn.1400b07a0
test eax, eax
jne 0x1400dcee8
mov rax, qword [rbx + 8]
inc dword [rbx + 0x34]
lea rcx, [rdi + rdi*2]
mov word [rax + rcx*8], 0x2d
mov byte [rax + rcx*8 + 3], 0
mov qword [rax + rcx*8 + 4], 0
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r14
test r13d, r13d
je 0x1400dcf23
movzx edx, byte [r15 + 0x1f]
cmp dl, 8
jae 0x1400dcf23
mov ecx, r14d
lea rax, [r15 + 0x70]
nop
cmp dword [rax + 0x10], r13d
je 0x1400dcf1f
inc ecx
add rax, 0x18
cmp ecx, 0xa
jl 0x1400dcf00
movzx eax, dl
mov dword [r15 + rax*4 + 0x28], r13d
inc byte [r15 + 0x1f]
jmp 0x1400dcf23
mov byte [rax + 8], 1
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x80]
mov ebp, 0
mov rdx, qword [rdx]
mov qword [rsp + 0x78], rdx
test rdx, rdx
jne 0x1400dc9d0
mov r14, qword [rsp + 0x30]
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x88]
add rsp, 0x58
pop r15
pop rbx
ret