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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov qword [rbp + 0xe8], 0xfffffffffffffffe
mov qword [rsp + 0x3f0], rbx
mov rax, qword [0x180115b20]
xor rax, rsp
mov qword [rbp + 0x298], rax
mov rdi, rdx
mov r13, rcx
mov qword [rbp], rcx
mov qword [rbp + 0x100], rcx
mov qword [rsp + 0x30], rcx
xor r14d, r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
lea rsi, [rcx + 0x10]
mov qword [rbp + 0x10], rsi
mov qword [rsi], r14
mov qword [rsi + 8], r14
call fcn.180044ab0
mov qword [rsi], rax
cmp qword [rdi + 0x18], 8
jb 0x180042cc2
mov rcx, qword [rdi]
jmp 0x180042cc5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.180064fb0
nop
mov rdx, rax
mov rcx, r13
call fcn.18002ad50
nop
mov rbx, qword [rbp + 0xf8]
test rbx, rbx
je 0x180042d10
lock dec dword [rbx + 8]
jne 0x180042d10
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock dec dword [rbx + 0xc]
jne 0x180042d10
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
mov rax, qword [r13]
test rax, rax
je 0x1800432fd
cmp qword [rax], 0
je 0x1800432fd
xor edi, edi
test rax, rax
mov r12d, edi
je 0x180042d34
mov r12, qword [rax]
movsxd rax, dword [r12 + 0x3c]
add rax, r12
mov qword [rsp + 0x38], rax
mov eax, dword [rax + 0x88]
add rax, r12
mov qword [rbp - 0x10], rax
mov ecx, dword [rax + 0x20]
add rcx, r12
mov qword [rbp - 8], rcx
mov edx, dword [rax + 0x1c]
add rdx, r12
mov qword [rbp + 0x18], rdx
mov r8d, dword [rax + 0x24]
add r8, r12
mov qword [rbp + 8], r8
mov r15d, edi
cmp dword [rax + 0x18], 0
jbe 0x1800432f5
mov r13, qword [rsp + 0x38]
nop
mov eax, r15d
mov r14d, dword [rcx + rax*4]
add r14, r12
movzx eax, word [r8 + rax*2]
mov ebx, dword [rdx + rax*4]
mov ecx, dword [r13 + 0x88]
cmp ebx, ecx
jb 0x1800431c7
add ecx, dword [r13 + 0x8c]
cmp ebx, ecx
jae 0x1800431c7
lea rdx, [r12 + rbx]
mov qword [rbp + 0x248], rdi
mov qword [rbp + 0x250], rdi
mov qword [rbp + 0x250], select
mov qword [rbp + 0x248], rdi
mov byte [rbp + 0x238], 0
cmp byte [rdx], 0
jne 0x180042de5
mov r8, rdi
jmp 0x180042dfa
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180042df0
lea rcx, [rbp + 0x238]
call fcn.1800042b0
nop
mov byte [rbp + 0x230], 0x2e
mov rsi, qword [rbp + 0x248]
test rsi, rsi
je 0x180042e84
cmp rsi, 1
jb 0x180042e84
lea rdi, [rbp + 0x238]
cmp qword [rbp + 0x250], 0x10
cmovae rdi, qword [rbp + 0x238]
test rsi, rsi
je 0x180042e84
mov r8, rsi
mov edx, 0x2e
mov rcx, rdi
call fcn.180089c0c
mov rbx, rax
test rax, rax
je 0x180042e84
cmp byte [rax], 0x2e
je 0x180042e68
sub rdi, rax
dec rdi
add rsi, rdi
lea rdi, [rax + 1]
jmp 0x180042e37
lea rax, [rbp + 0x238]
cmp qword [rbp + 0x250], 0x10
cmovae rax, qword [rbp + 0x238]
sub rbx, rax
jmp 0x180042e88
or rbx, 0xffffffffffffffff
mov r9, rbx
xor r8d, r8d
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x238]
call fcn.18002a3a0
nop
mov rdx, rax
lea rcx, [rbp + 0x278]
call fcn.18004ac20
nop
cmp qword [rbp + 0x38], 0x10
jb 0x180042ebf
mov rcx, qword [rbp + 0x20]
call fcn.180089498
mov qword [rbp + 0x38], select
xor esi, esi
mov qword [rbp + 0x30], rsi
mov byte [rbp + 0x20], sil
lea r8, [rbx + 1]
or r9, 0xffffffffffffffff
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x238]
call fcn.18002a3a0
nop
mov rdx, rax
lea rcx, [rbp + 0x258]
call fcn.18004ac20
nop
cmp qword [rbp + 0xb8], 0x10
jb 0x180042f13
mov rcx, qword [rbp + 0xa0]
call fcn.180089498
mov qword [rbp + 0xb8], select
mov qword [rbp + 0xb0], rsi
mov byte [rbp + 0xa0], 0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x58], select
mov qword [rsp + 0x50], rsi
mov byte [rsp + 0x40], 0
cmp byte [r14], 0
jne 0x180042f54
mov r8, rsi
jmp 0x180042f6a
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [r14 + r8], 0
jne 0x180042f60
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.1800042b0
nop
lea rdx, [rbp + 0x278]
lea rcx, [rbp + 0xd8]
call fcn.180042a10
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov rbx, qword [rax + 8]
mov rdi, qword [rax]
test rbx, rbx
je 0x180042fbb
lock inc dword [rbx + 0xc]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x180042fbb
lock dec dword [rcx + 0xc]
jne 0x180042fbb
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
lea rax, [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov dword [rbp - 0x80], esi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rsi
mov word [rbp - 0x78], si
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x258]
lea rcx, [rbp - 0x78]
call fcn.180003950
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov rbx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x20]
test rbx, rbx
je 0x180043032
lock inc dword [rbx + 0xc]
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x180043032
lock dec dword [rcx + 0xc]
jne 0x180043032
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x58], rdi
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x180043051
lock dec dword [rcx + 0xc]
jne 0x180043051
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.18004ac20
nop
mov rdx, rax
mov rsi, qword [rbp + 0x10]
mov rcx, rsi
call fcn.180043c50
mov rcx, rax
lea rdx, [rbp - 0x80]
call fcn.180043750
nop
cmp qword [rbp + 0x98], 8
jb 0x180043095
mov rcx, qword [rbp + 0x80]
call fcn.180089498
mov qword [rbp + 0x98], 7
xor edi, edi
mov qword [rbp + 0x90], rdi
mov word [rbp + 0x80], di
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1800430c6
lock dec dword [rcx + 0xc]
jne 0x1800430c6
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
cmp qword [rbp - 0x60], 8
jb 0x1800430d6
mov rcx, qword [rbp - 0x78]
call fcn.180089498
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rdi
mov word [rbp - 0x78], di
mov rbx, qword [rbp + 0xe0]
test rbx, rbx
je 0x180043110
lock dec dword [rbx + 8]
jne 0x180043110
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock dec dword [rbx + 0xc]
jne 0x180043110
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
nop
cmp qword [rsp + 0x58], 0x10
jb 0x180043122
mov rcx, qword [rsp + 0x40]
call fcn.180089498
mov qword [rsp + 0x58], select
mov qword [rsp + 0x50], rdi
mov byte [rsp + 0x40], 0
cmp qword [rbp + 0x270], 8
jb 0x18004314b
mov rcx, qword [rbp + 0x258]
call fcn.180089498
mov qword [rbp + 0x270], 7
mov qword [rbp + 0x268], rdi
mov word [rbp + 0x258], di
cmp qword [rbp + 0x290], 8
jb 0x18004317a
mov rcx, qword [rbp + 0x278]
call fcn.180089498
mov qword [rbp + 0x290], 7
mov qword [rbp + 0x288], rdi
mov word [rbp + 0x278], di
cmp qword [rbp + 0x250], 0x10
jb 0x1800431a9
mov rcx, qword [rbp + 0x238]
call fcn.180089498
mov qword [rbp + 0x250], select
mov qword [rbp + 0x248], rdi
mov byte [rbp + 0x238], 0
jmp 0x1800432d4
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x78], select
mov qword [rsp + 0x70], rdi
mov byte [rsp + 0x60], 0
cmp byte [r14], 0
jne 0x1800431ef
mov r8, rdi
jmp 0x1800431fd
or r8, 0xffffffffffffffff
inc r8
cmp byte [r14 + r8], 0
jne 0x1800431f3
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.1800042b0
nop
mov dword [rbp - 0x48], ebx
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rdi
mov word [rbp - 0x40], di
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x40]
call fcn.18004ac20
nop
mov rdx, rax
mov rcx, rsi
call fcn.180043c50
mov rcx, rax
lea rdx, [rbp - 0x48]
call fcn.180043750
nop
cmp qword [rbp + 0x58], 8
jb 0x180043265
mov rcx, qword [rbp + 0x40]
call fcn.180089498
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], rdi
mov word [rbp + 0x40], di
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x18004328f
lock dec dword [rcx + 0xc]
jne 0x18004328f
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
cmp qword [rbp - 0x28], 8
jb 0x18004329f
mov rcx, qword [rbp - 0x40]
call fcn.180089498
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rdi
mov word [rbp - 0x40], di
cmp qword [rsp + 0x78], 0x10
jb 0x1800432c1
mov rcx, qword [rsp + 0x60]
call fcn.180089498
mov qword [rsp + 0x78], select
mov qword [rsp + 0x70], rdi
mov byte [rsp + 0x60], 0
inc r15d
mov rax, qword [rbp - 0x10]
cmp r15d, dword [rax + 0x18]
mov rcx, qword [rbp - 8]
mov rdx, qword [rbp + 0x18]
mov r8, qword [rbp + 8]
jb 0x180042d80
mov r13, qword [rbp]
mov rax, r13
jmp 0x18004339d
call fcn.180043510
mov rdx, rax
lea rcx, [rbp + 0x130]
call fcn.18003aee0
nop
mov rdx, rdi
mov rcx, rax
call fcn.18003b020
mov rdx, rax
lea rcx, [rbp + 0x108]
call fcn.18003b0a0
nop
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.18004ac90
nop
cmp qword [rax + 0x18], 0x10
jb 0x180043344
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xc0]
call fcn.1800892e0
nop
cmp qword [rbp + 0x78], 0x10
jb 0x18004336b
mov rcx, qword [rbp + 0x60]
call fcn.180089498
mov qword [rbp + 0x78], select
mov qword [rbp + 0x70], r14
mov byte [rbp + 0x60], 0
lea rax, vtable.message_exception.0
mov qword [rbp + 0xc0], rax
lea rdx, [0x180112c40]
lea rcx, [rbp + 0xc0]
call fcn.18008f6f8
nop
mov rcx, qword [rbp + 0x298]
xor rcx, rsp
call fcn.180089270
mov rbx, qword [rsp + 0x3f0]
add rsp, 0x3a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret