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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov r10, qword [rcx]
mov rsi, rcx
movzx r12d, byte [rcx + 0x42]
mov r8, qword [rcx + 8]
sub r12d, 1
movsxd r15, r12d
mov r9, qword [r10]
mov rdi, qword [r10 + 0x10]
mov qword [rsp + 0x90], r9
mov qword [rsp + 0x80], r10
mov qword [rsp + 0x88], r8
mov qword [rsp + 0x98], r15
js 0x1401c04cf
imul rax, r15, 0x58
lea rbx, [rcx + 0x3cc]
add rbx, rax
cmp byte [rbx - 7], 0xab
mov r13, qword [rbx + 0x14]
je 0x1401c0268
xor r14d, r14d
cmp byte [rsi + 0x47], 2
jne 0x1401c01f1
movzx eax, byte [rsi + 0x42]
dec eax
cmp r12d, eax
jne 0x1401c01f1
test dword [r13 + 0x28], 0x200
je 0x1401c01f1
mov rax, qword [r13 + 0x20]
test byte [rax + 0x64], 0x80
je 0x1401c01f1
movzx ebp, word [r13 + 0x1e]
test ebp, ebp
je 0x1401c01f1
mov rax, qword [rax + 0x10]
cmp word [rax + rbp*2], 0x24
jl 0x1401c01f1
mov r15d, dword [r10 + 0x38]
inc r15d
test ebp, ebp
je 0x1401c019f
mov r8d, dword [rbx - 0x2c]
lea eax, [r14 + r15]
mov r9d, r14d
mov dword [rsp + 0x20], eax
mov edx, PathGetShortPath
mov rcx, rdi
call fcn.14020a23c
inc r14d
cmp r14d, ebp
jl 0x1401c0173
mov r10, qword [rsp + 0x80]
lea eax, [rbp + 1]
mov dword [rsp + 0x28], ebp
add dword [r10 + 0x38], eax
mov edx, Ordinal_27
cmp byte [rbx - 7], 4
mov rcx, rdi
mov r8d, dword [rbx - 0x2c]
mov dword [rsp + 0x20], r15d
lea eax, [rdx - 3]
cmove edx, eax
xor r9d, r9d
call fcn.140209e38
and dword [rsp + 0x20], 0
mov edx, reloc.WS2_32.dll_inet_addr
mov r9d, dword [rbx]
mov rcx, rdi
mov r14d, eax
lea r8d, [rdx - 0xa]
call fcn.14020a23c
mov r15, qword [rsp + 0x98]
mov rcx, qword [rdi + 0x18]
mov r8, qword [rcx + 0x50]
test r8, r8
je 0x1401c0210
mov ecx, dword [rbx - 0x1c]
mov eax, dword [rdi + 0xb8]
not ecx
movsxd rdx, ecx
mov dword [r8 + rdx*4], eax
movzx eax, byte [rbx - 6]
mov rcx, rdi
movzx edx, byte [rbx - 7]
mov r9d, dword [rbx]
mov r8d, dword [rbx - 4]
mov dword [rsp + 0x20], eax
call fcn.14020a23c
mov eax, dword [rdi + 0xb8]
test eax, eax
jle 0x1401c024d
movzx r8d, byte [rbx - 5]
dec eax
movsxd rcx, eax
mov rax, qword [rdi + 0x68]
lea rdx, [rcx + rcx*2]
mov word [rax + rdx*8 + 2], r8w
test r14d, r14d
je 0x1401c0286
mov edx, r14d
mov rcx, rdi
call fcn.1402095ec
mov ecx, dword [rdi + 0xb8]
mov dword [rax + 8], ecx
jmp 0x1401c0286
mov rax, qword [rdi + 0x18]
mov rdx, qword [rax + 0x50]
test rdx, rdx
je 0x1401c0286
mov eax, dword [rbx - 0x1c]
not eax
movsxd rcx, eax
mov eax, dword [rdi + 0xb8]
mov dword [rdx + rcx*4], eax
test dword [r13 + 0x28], 0x800
je 0x1401c0362
cmp dword [rbx + 4], 0
jle 0x1401c0362
mov rax, qword [rdi + 0x18]
mov rdx, qword [rax + 0x50]
test rdx, rdx
je 0x1401c02bc
mov eax, dword [rbx - 0x24]
not eax
movsxd rcx, eax
mov eax, dword [rdi + 0xb8]
mov dword [rdx + rcx*4], eax
mov ebp, dword [rbx + 4]
lea eax, [rbp - 1]
movsxd rcx, eax
mov rax, qword [rbx + 0xc]
lea rdx, [rcx + rcx*4]
lea r14, [rax + rdx*4]
jmp 0x1401c035a
mov edx, dword [r14 + 4]
mov rcx, rdi
inc edx
call fcn.1402095ec
mov ecx, dword [rdi + 0xb8]
mov dword [rax + 8], ecx
cmp byte [r14 + 0x10], 0xab
je 0x1401c033d
mov eax, dword [r14 + 0xc]
test eax, eax
je 0x1401c0324
mov r9d, dword [rdi + 0xb8]
mov edx, reloc.WLDAP32.dll_Ordinal_26
mov r8d, dword [rbx - 0x2c]
add r9d, 2
mov dword [rsp + 0x28], eax
mov rcx, rdi
mov eax, dword [r14 + 8]
mov dword [rsp + 0x20], eax
call fcn.140209e38
movzx edx, byte [r14 + 0x10]
mov rcx, rdi
and dword [rsp + 0x20], 0
mov r9d, dword [r14 + 4]
mov r8d, dword [r14]
call fcn.14020a23c
mov edx, dword [r14 + 4]
mov rcx, rdi
dec edx
call fcn.1402095ec
mov ecx, dword [rdi + 0xb8]
dec ebp
sub r14, 0x14
mov dword [rax + 8], ecx
test ebp, ebp
jg 0x1401c02d6
mov rax, qword [rdi + 0x18]
mov rdx, qword [rax + 0x50]
test rdx, rdx
je 0x1401c0380
mov eax, dword [rbx - 0x28]
not eax
movsxd rcx, eax
mov eax, dword [rdi + 0xb8]
mov dword [rdx + rcx*4], eax
mov r9d, dword [rbx - 0x20]
test r9d, r9d
je 0x1401c03c8
and dword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0xb]
call fcn.14020a23c
mov edx, dword [rbx - 0x20]
mov rcx, rdi
call fcn.1402095ec
mov ecx, dword [rdi + 0xb8]
mov dword [rax + 8], ecx
mov rcx, rdi
mov edx, dword [rbx - 0x20]
sub edx, 2
call fcn.1402095ec
mov ecx, dword [rdi + 0xb8]
mov dword [rax + 8], ecx
mov r9d, dword [rbx - 0xc]
test r9d, r9d
je 0x1401c03ea
mov r8d, dword [rbx - 0x10]
mov edx, Ordinal_50
and dword [rsp + 0x20], 0
mov rcx, rdi
shr r8d, 1
call fcn.14020a23c
mov r8d, dword [rbx - 0x34]
test r8d, r8d
je 0x1401c049c
mov ebp, dword [r13 + 0x28]
xor r9d, r9d
and dword [rsp + 0x20], 0
mov rcx, rdi
lea edx, [r9 + 0x2f]
call fcn.14020a23c
xor r13d, r13d
mov r14d, eax
test bpl, 0x40
jne 0x1401c0434
mov r8d, dword [rbx - 0x30]
xor r9d, r9d
mov edx, 0x82
mov dword [rsp + 0x20], r13d
mov rcx, rdi
call fcn.14020a23c
bt ebp, 9
jb 0x1401c0446
bt ebp, 0xd
jae 0x1401c045f
cmp qword [rbx + 4], r13
je 0x1401c045f
mov r8d, dword [rbx - 0x2c]
xor r9d, r9d
mov edx, 0x82
mov dword [rsp + 0x20], r13d
mov rcx, rdi
call fcn.14020a23c
cmp byte [rbx - 7], 0x42
mov rcx, rdi
mov r9d, dword [rbx - 0x18]
mov dword [rsp + 0x20], r13d
jne 0x1401c047c
mov r8d, dword [rbx - 4]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
jmp 0x1401c0483
xor r8d, r8d
lea edx, [r8 + 0xb]
call fcn.14020a23c
mov edx, r14d
mov rcx, rdi
call fcn.1402095ec
mov ecx, dword [rdi + 0xb8]
mov dword [rax + 8], ecx
mov r10, qword [rsp + 0x80]
dec r15
dec r12d
mov qword [rsp + 0x98], r15
sub rbx, 0x58
test r15, r15
jns 0x1401c0106
mov r8, qword [rsp + 0x88]
mov r9, qword [rsp + 0x90]
mov rax, qword [rdi + 0x18]
mov rdx, qword [rax + 0x50]
test rdx, rdx
je 0x1401c04ed
mov eax, dword [rsi + 0x38]
not eax
movsxd rcx, eax
mov eax, dword [rdi + 0xb8]
mov dword [rdx + rcx*4], eax
xor r14d, r14d
cmp byte [rsi + 0x42], r14b
jbe 0x1401c0647
lea rbx, [rsi + 0x3e0]
movzx eax, byte [rbx - 0x1c]
imul rcx, rax, 0x70
mov rax, qword [rbx]
test byte [rcx + r8 + 0x48], 0x10
mov r13, qword [rcx + r8 + 0x28]
je 0x1401c0537
mov r9d, dword [rcx + r8 + 0x40]
mov rcx, r10
mov r8d, dword [rbx - 0x44]
and dword [rsp + 0x20], 0
mov edx, dword [rbx - 0x28]
call fcn.1401c52f8
jmp 0x1401c061b
test dword [rax + 0x28], 0x240
je 0x1401c0546
mov rbp, qword [rax + 0x20]
jmp 0x1401c0557
test dword [rax + 0x28], 0x2000
je 0x1401c0623
mov rbp, qword [rbx - 0x10]
test rbp, rbp
je 0x1401c0623
cmp byte [rsi + 0x45], 0
je 0x1401c0574
mov rax, qword [rbp + 0x18]
test byte [rax + 0x40], 0x20
je 0x1401c0623
cmp byte [r9 + 0x61], 0
jne 0x1401c0623
mov edx, dword [rbx - 0x28]
mov rcx, rdi
mov r9d, dword [rdi + 0xb8]
call fcn.1402095ec
cmp dword [rbx - 0x28], r9d
jge 0x1401c061b
sub r9d, dword [rbx - 0x28]
lea r11, [rax + 4]
mov r15d, r9d
mov eax, dword [rbx - 0x44]
cmp dword [r11], eax
jne 0x1401c0611
mov al, byte [r11 - 4]
cmp al, 0x5a
jne 0x1401c05f9
test byte [r13 + 0x40], 0x20
movsxd rcx, dword [r11 + 4]
je 0x1401c05e1
mov rdx, qword [r13 + 0x10]
jmp 0x1401c05d4
mov eax, dword [rdx + 0x64]
and al, 3
cmp al, 2
je 0x1401c05d9
mov rdx, qword [rdx + 0x28]
test rdx, rdx
jne 0x1401c05c7
mov rax, qword [rdx + 8]
movsx ecx, word [rax + rcx*2]
movzx edx, cx
mov rcx, rbp
call fcn.1401ecb34
movsx ecx, ax
test ecx, ecx
js 0x1401c0611
mov dword [r11 + 4], ecx
jmp 0x1401c060b
cmp al, 0x81
jne 0x1401c0607
mov eax, dword [rbx - 0x40]
mov byte [r11 - 4], 0x88
jmp 0x1401c060e
cmp al, 0x15
jne 0x1401c0611
mov eax, dword [rbx - 0x40]
mov dword [r11], eax
add r11, 0x18
sub r15, 1
jne 0x1401c05a6
mov r8, qword [rsp + 0x88]
movzx eax, byte [rsi + 0x42]
inc r14d
mov r10, qword [rsp + 0x80]
add rbx, 0x58
mov r9, qword [rsp + 0x90]
cmp r14d, eax
jl 0x1401c0501
mov rdx, qword [rsp + 0x80]
mov eax, dword [rsi + 0x3c]
mov rcx, qword [rsp + 0x90]
mov dword [rdx + 0xb4], eax
mov rdx, rsi
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.1401c4440