Function at 0x41eac0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x41ef60
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
cmp byte [0x005a32d4], 0
je 0x41ef46
mov rdx, qword gs:[0x28]
mov rdx, qword [rdx]
mov rdx, qword [rdx + 0x30]
mov rdx, qword [rdx + 0x90]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rbx + 0x18]
mov rdi, qword [rsp + 0x60]
nop
test rdi, 0xc
je 0x41ef28
bt edi, 2
jae 0x41ef0c
lea rax, [0x004eee80]
lea r8, [rsi + 0x186a0]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], rax
mov r9d, dword [0x005a3a0c]
nop word [rax + rax]
nop
cmp dword [0x005a3a08], r9d
jae 0x41ec90
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r8
jmp 0x41eb9e
mov r9, qword [rsp + 0x58]
mov r10, qword [rsp + 0x60]
mov r11, qword [rsp + 0x38]
mov rax, rdx
mov rdx, r11
mov rbx, r9
mov rsi, qword [rsp + 0x10]
mov rdi, r10
mov r8, qword [rsp + 0x18]
cmp byte [rdx + 0xb1], 0
je 0x41ef05
bt edi, 0
jae 0x41eef1
mov ecx, 1
nop word [rax + rax]
test cl, cl
jne 0x41ec90
mov r9d, 1
lea r10, [0x005a3a08]
lock xadd dword [r10], r9d
mov r11d, dword [0x005a3a0c]
cmp r11d, r9d
jbe 0x41ec90
mov qword [rsp], rbx
mov dword [rsp + 8], r9d
call fcn.0041cc80
mov rdx, qword [rsp + 0x40]
nop dword [rax]
test rdx, rdx
jne 0x41ec65
xor eax, eax
test al, al
je 0x41eb79
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx + 0x18]
nop dword [rax]
test rdx, rdx
jle 0x41ec44
lea rbx, [0x005a38e0]
lock xadd qword [rbx], rdx
mov rdx, qword [rsp + 0x60]
bt edx, 1
jb 0x41ec4e
mov qword [rcx + 0x18], 0
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov rdx, qword [rcx + 0x18]
sub rdx, rax
mov qword [rsp], rdx
call fcn.0041ddc0
mov rcx, qword [rsp + 0x58]
jmp 0x41ec3c
mov rax, qword [rdx]
call rax
movzx eax, byte [rsp]
mov rdx, qword [rsp + 0x40]
jmp 0x41ec07
mov r9, qword [rsp + 0x38]
mov rax, rdx
mov rdx, r9
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r8, rsi
mov rsi, rcx
cmp byte [rdx + 0xb1], 0
je 0x41eeea
bt edi, 0
jae 0x41eed8
mov ecx, 1
test cl, cl
jne 0x41eeca
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x18], r8
cmp qword [0x005a3980], 0
je 0x41ee9e
mov r9, qword [rbx]
test r9, r9
je 0x41ee97
mov r10, qword [r9 + 0x10]
nop dword [rax]
test r10, r10
jne 0x41ee6f
xor ecx, ecx
test rcx, rcx
je 0x41ee15
test rcx, rcx
je 0x41ee07
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
call fcn.0041f380
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 0x18]
nop word [rax + rax]
nop dword [rax]
cmp rcx, 0x7d0
jl 0x41edee
lea rbx, [0x005a38e0]
lock xadd qword [rbx], rcx
mov rbx, qword [rsp + 0x60]
bt ebx, 1
jb 0x41edc8
mov rcx, qword [rsp + 0x30]
mov rsi, qword [rax + 0x18]
mov qword [rax + 0x18], 0
mov rdi, qword [rsp + 0x18]
sub rdi, rsi
test rdi, rdi
jg 0x41edbb
mov rdx, qword [rsp + 0x40]
test rdx, rdx
jne 0x41ed8d
xor esi, esi
test sil, sil
jne 0x41ed85
lea rsi, [rdi + 0x186a0]
nop
jmp 0x41ec75
mov rax, rcx
jmp 0x41ec14
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rcx
mov rax, qword [rdx]
call rax
movzx esi, byte [rsp]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x28]
jmp 0x41ed72
mov rdx, qword [rsp + 0x40]
mov rsi, rdi
jmp 0x41ec75
mov rcx, qword [rax + 0x18]
mov rdx, qword [rsp + 0x30]
sub rcx, rdx
mov qword [rsp], rcx
call fcn.0041ddc0
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
xor ecx, ecx
jmp 0x41ed4d
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x30]
jmp 0x41ec75
mov rax, rbx
mov rbx, rdi
mov rcx, rsi
jmp 0x41ed85
mov qword [rsp], rbx
call fcn.00424960
mov rax, qword [rsp + 8]
test rax, rax
je 0x41ee4e
mov rdx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x60]
mov r8, qword [rsp + 0x18]
mov rcx, rax
mov rax, qword [rsp + 0x40]
jmp 0x41ecf4
xorps xmm0, xmm0
movups xmmword [rsp], xmm0
call fcn.0042f300
mov rax, qword [rsp + 0x58]
mov qword [rsp], rax
call fcn.00424960
mov rax, qword [rsp + 8]
jmp 0x41ee28
lea r11, [r10 - 1]
mov qword [r9 + 0x10], r11
nop word [rax + rax]
cmp r11, 0xfd
jae 0x41ef39
mov rcx, qword [r9 + r10*8 + 0x10]
jmp 0x41eceb
xor ecx, ecx
jmp 0x41eceb
mov qword [rsp], rbx
call fcn.00424b60
mov rax, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x60]
mov r8, qword [rsp + 0x18]
jmp 0x41eccc
mov rax, rbx
mov rbx, rdi
mov rcx, rsi
jmp 0x41ed85
mov r9d, dword [0x00571e40]
test r9d, r9d
setne cl
jmp 0x41ecac
xor ecx, ecx
jmp 0x41ecac
mov r9d, dword [0x00571e40]
test r9d, r9d
setne cl
nop
jmp 0x41ebc0
xor ecx, ecx
jmp 0x41ebc0
test rdi, 8
mov eax, 0
lea r8, [0x004eee78]
cmovne rax, r8
jmp 0x41eb3e
movabs r8, 0x7fffffffffffffff
xor eax, eax
jmp 0x41eb45
mov rax, r11
mov ecx, 0xfd
call fcn.00465280
lea rax, [0x004e967d]
mov qword [rsp], rax
mov qword [rsp + 8], 0x17
call fcn.00435f80
nop
call fcn.00463100
jmp fcn.0041eac0