Function at 0x41e880
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 0x41ecf0
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
lea rax, [0x00d857e4]
cmp byte [rax], 0
je 0x41ecd5
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0x90]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx + 0x18]
mov rbx, qword [rsp + 0x60]
test rbx, 0x18
je 0x41ecbd
bt ebx, 3
jae 0x41eca1
lea rsi, [0x009d2f78]
lea rdi, [rdx + 0x186a0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rsi
mov r8d, dword [0x00d6a04c]
bt ebx, 0
bt ebx, 2
cmp dword [0x00d6a048], r8d
jae 0x41ec98
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], rdi
bt ebx, 0
jmp 0x41e960
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x38]
mov rax, r9
mov rcx, r8
mov rdx, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x18]
jae 0x41e975
test byte [rax], al
lea r8, [rax + 0xb1]
cmp byte [r8], 0
jne 0x41ec8f
mov r8d, 1
lea r9, [0x00d6a048]
lock xadd dword [r9], r8d
mov r10d, dword [0x00d6a04c]
cmp r8d, r10d
jae 0x41ea2b
mov qword [rsp], rcx
mov dword [rsp + 8], r8d
call fcn.0041d130
mov rdx, qword [rsp + 0x40]
test rdx, rdx
jne 0x41e9ba
mov rax, qword [rsp + 0x60]
bt eax, 0
jmp 0x41e93c
mov rax, qword [rdx]
call rax
cmp byte [rsp], 0
jne 0x41e9d8
mov rax, qword [rsp + 0x60]
bt eax, 0
mov rdx, qword [rsp + 0x40]
jmp 0x41e93c
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx + 0x18]
test rdx, rdx
jle 0x41ea0a
lea rbx, [0x00d85d20]
lock xadd qword [rbx], rdx
mov rdx, qword [rsp + 0x60]
bt edx, 2
jb 0x41ea14
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.0041e110
mov rcx, qword [rsp + 0x58]
jmp 0x41ea02
bt ebx, 0
test rbx, 0x1b
bt ebx, 0
jmp 0x41ea56
mov r8, qword [rsp + 0x38]
mov rax, r8
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rdi, rsi
mov rsi, qword [rsp + 0x40]
jae 0x41ea6b
test byte [rax], al
lea r8, [rax + 0xb1]
cmp byte [r8], 0
jne 0x41ec87
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x18], rdi
cmp qword [0x00d69fc0], 0
je 0x41ec54
test rbx, 0x1b
je 0x41ec23
mov r8, qword [rcx]
test r8, r8
je 0x41ec1b
mov r9, qword [r8 + 0x10]
test r9, r9
jne 0x41ebfc
xor r8d, r8d
test r8, r8
je 0x41ebcb
test r8, r8
je 0x41ebc3
mov qword [rsp], r8
mov qword [rsp + 8], rcx
call fcn.0041f060
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 0x18]
cmp rcx, 0x7d0
jl 0x41eba6
lea rbx, [0x00d85d20]
lock xadd qword [rbx], rcx
mov rcx, qword [rsp + 0x60]
bt ecx, 2
jb 0x41eb80
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rax + 0x18]
mov qword [rax + 0x18], 0
mov rsi, qword [rsp + 0x18]
sub rsi, rbx
test rsi, rsi
jg 0x41eb72
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x41eb35
add rsi, 0x186a0
bt ecx, 0
jmp 0x41ea3c
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdx
mov rax, qword [rbx]
mov rdx, rbx
call rax
cmp byte [rsp], 0
jne 0x41eb68
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x28]
jmp 0x41eb25
mov rax, qword [rsp + 0x20]
jmp 0x41e9dd
bt ecx, 0
mov rbx, qword [rsp + 0x40]
jmp 0x41ea3c
mov rcx, qword [rax + 0x18]
mov rdx, qword [rsp + 0x30]
sub rcx, rdx
mov qword [rsp], rcx
call fcn.0041e110
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
xor edx, edx
jmp 0x41eb02
mov rcx, qword [rsp + 0x60]
bt ecx, 0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x30]
jmp 0x41ea3c
mov rax, rdx
jmp 0x41e9dd
mov qword [rsp], rcx
call fcn.00421b50
mov r8, qword [rsp + 8]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x18]
jmp 0x41eab5
lea r10, [r9 - 1]
mov qword [r8 + 0x10], r10
cmp r10, 0xfd
jae 0x41ecce
mov r8, qword [r8 + r9*8 + 0x10]
jmp 0x41eaac
xor r8d, r8d
jmp 0x41eaac
mov qword [rsp], rcx
call fcn.00421c40
mov r8, qword [rsp + 8]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x18]
jmp 0x41eab5
mov qword [rsp], rcx
call fcn.00421e10
mov rbx, qword [rsp + 0x60]
test rbx, 0x1b
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x18]
jmp 0x41ea8a
mov rax, rdx
jmp 0x41e9dd
bt ebx, 0
jmp 0x41ea2f
bt ebx, 0
jmp 0x41ea2f
test rbx, 0x10
mov esi, 0
lea rdi, [0x009d2f70]
cmovne rsi, rdi
jmp 0x41e8ff
movabs rdi, 0x7fffffffffffffff
xor esi, esi
jmp 0x41e906
call fcn.0042ba70
ud2
lea rax, [0x009100cf]
mov qword [rsp], rax
mov qword [rsp + 8], 0x17
call fcn.0042d1f0
ud2
call fcn.004555f0
jmp fcn.0041e880