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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
push rbx
push rbp
push rdi
push r15
sub rsp, 0x88
mov rdi, qword [rcx + 0x10]
xor ebp, ebp
mov r15, r8
mov r8d, edx
mov edx, ebp
mov rbx, rcx
mov dword [rsp + 0xb0], edx
mov dword [rsp + 0x40], ebp
cmp dword [rcx + 0x30], ebp
jne 0x18011409a
mov r10, qword [r15 + 0x28]
mov qword [rax - 0x28], rsi
mov qword [rsp + 0x48], r10
mov qword [rax - 0x40], r14
mov byte [r15], 1
mov dword [rsp + 0x34], ebp
cmp dword [r15 + 0x30], edx
jle 0x180113f94
mov qword [rax - 0x30], r12
mov qword [rax - 0x38], r13
jmp 0x1801138c7
mov edx, dword [rsp + 0xb0]
mov rax, qword [r10]
mov r15d, ebp
mov dword [rsp + 0x3c], ebp
mov dword [rsp + 0x38], ebp
test dword [rax + 4], 0x1000000
mov r14, qword [rax + 0x20]
mov qword [rsp + 0x50], r14
je 0x180113997
mov rax, qword [rax + 0x40]
mov rsi, qword [rax + 0x48]
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x24], ebp
je 0x180113972
mov rax, qword [r10 + 8]
test byte [rax + 4], 0x20
je 0x180113972
test r8d, r8d
je 0x180113972
test edx, edx
jne 0x180113920
inc dword [rbx + 0x38]
mov edx, dword [rbx + 0x38]
mov dword [rsp + 0xb0], edx
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x180113945
mov r9d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x50
mov rcx, rdi
call fcn.1800ab710
jmp 0x180113972
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x50
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
dec dword [rbx + 0x44]
mov r9d, reloc.WS2_32.dll_recv
mov r12d, dword [rbx + 0x44]
mov rdx, rsi
mov r8d, r12d
mov dword [rsp + 0x3c], r12d
mov rcx, rbx
call fcn.1800d0030
mov r10, qword [rsp + 0x48]
cmp dword [r10 + 0x18], ebp
jl 0x180113c01
cmp byte [r10 + 0x1d], bpl
mov rax, qword [r10]
mov r13d, dword [r14]
mov rcx, qword [rax + 0x10]
mov r14, qword [rcx + 0x20]
mov eax, dword [r14]
lea ecx, [rax + 1]
cmovne ecx, eax
cmp byte [r10 + 0x1c], bpl
lea esi, [rcx + r13]
cmove esi, ecx
cmp byte [r10 + 0x1e], bpl
je 0x1801139d0
add esi, r13d
inc esi
mov dword [rsp + 0x38], esi
cmp esi, 1
jne 0x1801139fe
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x1801139ec
inc dword [rbx + 0x38]
mov r12d, dword [rbx + 0x38]
jmp 0x180113a23
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r12d, dword [rbx + rax*4 + 0xe8]
jmp 0x180113a23
mov ecx, dword [rbx + 0x28]
mov r12d, dword [rbx + 0x2c]
cmp esi, ecx
jg 0x180113a17
lea eax, [r12 + rsi]
sub ecx, esi
mov dword [rbx + 0x2c], eax
mov dword [rbx + 0x28], ecx
jmp 0x180113a23
mov eax, dword [rbx + 0x38]
lea r12d, [rax + 1]
add eax, esi
mov dword [rbx + 0x38], eax
xor r9d, r9d
mov dword [rsp + 0x30], r12d
mov r8d, r12d
mov byte [rsp + 0x20], 1
mov rdx, r14
mov rcx, rbx
mov r15d, r12d
call fcn.1800cf620
mov r10, qword [rsp + 0x48]
mov r14d, dword [r14]
cmp byte [r10 + 0x1d], bpl
jne 0x180113ab1
movsxd rcx, dword [rdi + 0x90]
lea edx, [r12 + r14]
mov r8d, dword [r10 + 0x18]
cmp dword [rdi + 0x94], ecx
jg 0x180113a81
mov r9d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x7e
mov rcx, rdi
call fcn.1800ab710
mov r10, qword [rsp + 0x48]
jmp 0x180113aae
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x7e
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
inc r14d
cmp byte [r10 + 0x1c], bpl
je 0x180113ae0
mov rdx, qword [rsp + 0x50]
lea r15d, [r12 + r14]
mov r8d, r15d
mov dword [rsp + 0x30], r15d
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rcx, rbx
call fcn.1800cf620
mov r10, qword [rsp + 0x48]
add r14d, r13d
cmp byte [r10 + 0x1e], bpl
je 0x180113b6e
cmp byte [r10 + 0x1c], bpl
mov esi, r12d
cmovne esi, r15d
test r13d, r13d
jle 0x180113b6a
add r14d, r12d
mov r15, r13
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x180113b28
mov r9d, r14d
mov dword [rsp + 0x20], ebp
mov r8d, esi
mov edx, 0xb5
mov rcx, rdi
call fcn.1800ab710
jmp 0x180113b55
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], VarDecFix
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
inc r14d
inc esi
sub r15, 1
jne 0x180113b00
mov r15d, dword [rsp + 0x30]
mov r10, qword [rsp + 0x48]
mov esi, dword [rsp + 0x38]
mov r14, qword [rsp + 0x50]
cmp dword [r10 + 0x10], ebp
jl 0x180113bb9
test r14, r14
je 0x180113bb9
mov eax, dword [rsp + 0x3c]
test eax, eax
jne 0x180113b90
dec dword [rbx + 0x44]
mov eax, dword [rbx + 0x44]
mov dword [rsp + 0x3c], eax
mov r8d, dword [r10 + 0x10]
mov r9d, eax
mov edx, dword [rsp + 0xc8]
mov rcx, rbx
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r14
call fcn.180107d40
mov r10, qword [rsp + 0x48]
mov dword [r10 + 0x10], eax
cmp dword [r10 + 0x18], ebp
jl 0x180113d57
movsxd rcx, dword [rdi + 0x90]
lea r14d, [rsi - 1]
add r14d, r12d
dec esi
cmp dword [rdi + 0x94], ecx
jg 0x180113c99
mov r9d, esi
mov dword [rsp + 0x20], r14d
mov r8d, r12d
mov edx, 0x61
mov rcx, rdi
call fcn.1800ab710
mov r10, qword [rsp + 0x48]
jmp 0x180113cc7
test r14, r14
je 0x180113c8c
mov r13d, dword [r14]
cmp r13d, 1
jne 0x180113c34
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x180113c23
inc dword [rbx + 0x38]
mov edx, dword [rbx + 0x38]
jmp 0x180113c5e
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov edx, dword [rbx + rax*4 + 0xe8]
jmp 0x180113c5e
mov ecx, dword [rbx + 0x28]
mov edx, dword [rbx + 0x2c]
mov dword [rsp + 0x30], edx
cmp r13d, ecx
jg 0x180113c52
lea eax, [rdx + r13]
sub ecx, r13d
mov dword [rbx + 0x2c], eax
mov dword [rbx + 0x28], ecx
jmp 0x180113c62
mov eax, dword [rbx + 0x38]
lea edx, [rax + 1]
add eax, r13d
mov dword [rbx + 0x38], eax
mov dword [rsp + 0x30], edx
mov r15d, dword [rsp + 0x30]
xor r9d, r9d
mov r8d, r15d
mov byte [rsp + 0x20], 1
mov rdx, r14
mov rcx, rbx
mov r12d, r15d
call fcn.1800cf620
mov r10, qword [rsp + 0x48]
mov esi, ebp
jmp 0x180113b73
mov r13d, ebp
mov r12d, ebp
mov esi, ebp
jmp 0x180113b73
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x61
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], rbp
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [r10 + 0x18]
cmp dword [rdi + 0x94], ecx
jg 0x180113cf8
mov r8d, edx
mov dword [rsp + 0x28], esi
mov edx, 0x8a
mov dword [rsp + 0x20], r12d
mov r9d, r14d
mov rcx, rdi
call fcn.1800ab770
jmp 0x180113d25
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0xfd8a
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r12d
mov dword [rax + rcx*8 + 0x10], esi
mov eax, dword [rsp + 0x38]
mov r15, qword [rsp + 0xc0]
mov esi, dword [rsp + 0xb0]
mov r14d, dword [rsp + 0x34]
cmp eax, 1
je 0x180113ef5
cmp eax, dword [rbx + 0x28]
jle 0x180113f1d
mov dword [rbx + 0x28], eax
jmp 0x180113f19
mov rax, qword [r10 + 8]
test byte [rax + 4], 0x20
je 0x180113e22
mov esi, ebp
add r14, 8
nop dword [rax + rax]
cmp esi, r13d
jge 0x180113d90
mov rdx, qword [r14]
mov rcx, rbx
call fcn.1800c5370
inc esi
add r14, 0x20
mov r15, rax
test rax, rax
je 0x180113d70
jmp 0x180113d97
mov rax, qword [rbx]
mov r15, qword [rax + 0x10]
mov esi, dword [rsp + 0xb0]
test esi, esi
jne 0x180113dbc
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x24], ebp
je 0x180113dbc
inc dword [rbx + 0x38]
mov esi, dword [rbx + 0x38]
mov dword [rsp + 0xb0], esi
movsxd rdx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], edx
jg 0x180113de6
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov r8d, esi
mov edx, 0x55
mov rcx, rdi
call fcn.1800ab710
mov edx, eax
jmp 0x180113e0f
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x55
mov dword [rax + rcx*8 + 4], esi
mov qword [rax + rcx*8 + 8], rbp
mov qword [rax + rcx*8 + 0x10], rbp
mov r9d, 0xfffffffe
mov r8, r15
mov rcx, rdi
call fcn.1800ac790
jmp 0x180113e29
mov esi, dword [rsp + 0xb0]
mov r15, qword [rsp + 0xc0]
mov r14d, dword [rsp + 0x34]
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [r15 + 0x20]
add edx, dword [r15 + 0xc]
add edx, r14d
cmp dword [rdi + 0x94], ecx
jg 0x180113e69
mov dword [rsp + 0x20], edx
mov r9d, r12d
mov edx, QueryPathOfRegTypeLib
xor r8d, r8d
mov rcx, rdi
call fcn.1800ab710
jmp 0x180113e93
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov qword [rax + rcx*8], QueryPathOfRegTypeLib
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rbp
mov rcx, qword [rdi]
mov rdx, qword [rsp + 0x48]
mov rdx, qword [rdx + 8]
cmp byte [rcx + 0x67], bpl
je 0x180113eb4
mov r8, rdx
mov edx, 0xfffffff9
call fcn.1800ac220
jmp 0x180113ed0
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov byte [rax + rcx*8 - 0x17], 0xf9
mov qword [rax + rcx*8 - 8], rdx
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x180113eef
lea rcx, [rax + rax*2]
movzx edx, r13b
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
cmp r13d, 1
jne 0x180113f0f
test r12d, r12d
je 0x180113f1d
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x180113f1d
mov dword [rbx + rax*4 + 0xe8], r12d
inc byte [rbx + 0x1f]
jmp 0x180113f1d
cmp r13d, dword [rbx + 0x28]
jle 0x180113f1d
mov dword [rbx + 0x28], r13d
mov dword [rbx + 0x2c], r12d
mov edx, dword [rsp + 0x3c]
test edx, edx
je 0x180113f50
mov rcx, qword [rdi + 0x18]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x180113f40
mov r8d, edx
mov rdx, rdi
call fcn.1800abf50
jmp 0x180113f50
mov rcx, qword [rcx + 0x50]
mov eax, dword [rdi + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov r10, qword [rsp + 0x48]
inc r14d
mov r8d, dword [rsp + 0xb8]
add r10, 0x20
mov dword [rsp + 0x34], r14d
mov qword [rsp + 0x48], r10
cmp r14d, dword [r15 + 0x30]
jl 0x1801138c0
mov r13, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
test esi, esi
je 0x180113f8c
lea rax, [r15 + 0x24]
jmp 0x180113fa7
mov r8d, dword [rsp + 0xb8]
lea rax, [r15 + 0x24]
mov r14, rax
cmp dword [rax], ebp
je 0x180114003
mov esi, r8d
test r8d, r8d
je 0x180114003
movsxd rdx, dword [rdi + 0x90]
mov r14, rax
mov dword [rsp + 0x40], edx
cmp dword [rdi + 0x94], edx
jg 0x180113fda
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov r8d, esi
mov edx, reloc.WS2_32.dll_recv
mov rcx, rdi
call fcn.1800ab710
mov dword [rsp + 0x40], eax
jmp 0x180114003
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], reloc.WS2_32.dll_recv
mov dword [rax + rcx*8 + 4], esi
mov qword [rax + rcx*8 + 8], rbp
mov qword [rax + rcx*8 + 0x10], rbp
mov rsi, qword [r15 + 0x18]
cmp dword [r14], ebp
jle 0x18011402d
add rsi, 8
mov r8d, dword [r15 + 0xc]
mov rcx, rbx
mov rdx, qword [rsi]
add r8d, ebp
call fcn.1800cf430
inc ebp
lea rsi, [rsi + 0x18]
cmp ebp, dword [r14]
jl 0x180114010
movsxd rcx, dword [rsp + 0x40]
mov r14, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x80]
mov byte [r15], 0
test ecx, ecx
je 0x18011409a
mov edx, dword [rdi + 0x90]
lea eax, [rdx - 1]
cmp ecx, eax
jne 0x180114067
mov dword [rdi + 0x90], eax
add rsp, 0x88
pop r15
pop rdi
pop rbp
pop rbx
ret
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
je 0x180114087
lea rax, [0x180251970]
mov dword [rax + 8], edx
add rsp, 0x88
pop r15
pop rdi
pop rbp
pop rbx
ret
mov rax, qword [rdi + 0x88]
lea rcx, [rcx + rcx*2]
mov dword [rax + rcx*8 + 8], edx
lea rax, [rax + rcx*8]
add rsp, 0x88
pop r15
pop rdi
pop rbp
pop rbx
ret