Function at 0x14001c9f0
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [0x140183d90], 0
jne 0x14001cd3f
cmp dword [0x140183a38], 0
lea rbx, [0x1401332d8]
jne 0x14001ca2d
call fcn.140055920
test rax, rax
jne 0x14001ca24
add rsp, 0x20
pop rbx
ret
mov rcx, rax
call qword [0x140183a18]
lea rcx, str.kernel32.dll
mov qword [rsp + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
je 0x14001cad6
lea rdx, str.WakeConditionVariable
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WakeAllConditionVariable
mov rcx, rdi
mov qword [0x140183dc8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SleepConditionVariableSRW
mov rcx, rdi
mov qword [0x140183c48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SleepConditionVariableCS
mov rcx, rdi
mov qword [0x140183dd0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x140183dc8], 0
mov qword [0x140183dc0], rax
je 0x14001cad6
cmp qword [0x140183c48], 0
je 0x14001cad6
cmp qword [0x140183dd0], 0
je 0x14001cad6
test rax, rax
lea rcx, [0x1401332a8]
cmove rcx, rbx
mov rbx, rcx
mov rdi, qword [rsp + 0x30]
lea rax, [0x140183d90]
or rax, rbx
test al, 3
jne 0x14001cb60
mov eax, dword [rbx]
mov dword [0x140183d90], eax
mov eax, dword [rbx + 4]
mov dword [0x140183d94], eax
mov eax, dword [rbx + 8]
mov dword [0x140183d98], eax
mov eax, dword [rbx + 0xc]
mov dword [0x140183d9c], eax
mov eax, dword [rbx + 0x10]
mov dword [0x140183da0], eax
mov eax, dword [rbx + 0x14]
mov dword [0x140183da4], eax
mov eax, dword [rbx + 0x18]
mov dword [0x140183da8], eax
mov eax, dword [rbx + 0x1c]
mov dword [0x140183dac], eax
mov eax, dword [rbx + 0x20]
mov dword [0x140183db0], eax
mov eax, dword [rbx + 0x24]
mov dword [0x140183db4], eax
mov eax, dword [rbx + 0x28]
mov dword [0x140183db8], eax
mov eax, dword [rbx + 0x2c]
mov dword [0x140183dbc], eax
add rsp, 0x20
pop rbx
jmp qword [0x140183d90]
movzx eax, byte [rbx]
mov byte [0x140183d90], al
movzx eax, byte [rbx + 1]
mov byte [0x140183d91], al
movzx eax, byte [rbx + 2]
mov byte [0x140183d92], al
movzx eax, byte [rbx + 3]
mov byte [0x140183d93], al
movzx eax, byte [rbx + 4]
mov byte [0x140183d94], al
movzx eax, byte [rbx + 5]
mov byte [0x140183d95], al
movzx eax, byte [rbx + 6]
mov byte [0x140183d96], al
movzx eax, byte [rbx + 7]
mov byte [0x140183d97], al
movzx eax, byte [rbx + 8]
mov byte [0x140183d98], al
movzx eax, byte [rbx + 9]
mov byte [0x140183d99], al
movzx eax, byte [rbx + 0xa]
mov byte [0x140183d9a], al
movzx eax, byte [rbx + 0xb]
mov byte [0x140183d9b], al
movzx eax, byte [rbx + 0xc]
mov byte [0x140183d9c], al
movzx eax, byte [rbx + 0xd]
mov byte [0x140183d9d], al
movzx eax, byte [rbx + 0xe]
mov byte [0x140183d9e], al
movzx eax, byte [rbx + 0xf]
mov byte [0x140183d9f], al
movzx eax, byte [rbx + 0x10]
mov byte [0x140183da0], al
movzx eax, byte [rbx + 0x11]
mov byte [0x140183da1], al
movzx eax, byte [rbx + 0x12]
mov byte [0x140183da2], al
movzx eax, byte [rbx + 0x13]
mov byte [0x140183da3], al
movzx eax, byte [rbx + 0x14]
mov byte [0x140183da4], al
movzx eax, byte [rbx + 0x15]
mov byte [0x140183da5], al
movzx eax, byte [rbx + 0x16]
mov byte [0x140183da6], al
movzx eax, byte [rbx + 0x17]
mov byte [0x140183da7], al
movzx eax, byte [rbx + 0x18]
mov byte [0x140183da8], al
movzx eax, byte [rbx + 0x19]
mov byte [0x140183da9], al
movzx eax, byte [rbx + 0x1a]
mov byte [0x140183daa], al
movzx eax, byte [rbx + 0x1b]
mov byte [0x140183dab], al
movzx eax, byte [rbx + 0x1c]
mov byte [0x140183dac], al
movzx eax, byte [rbx + 0x1d]
mov byte [0x140183dad], al
movzx eax, byte [rbx + 0x1e]
mov byte [0x140183dae], al
movzx eax, byte [rbx + 0x1f]
mov byte [0x140183daf], al
movzx eax, byte [rbx + 0x20]
mov byte [0x140183db0], al
movzx eax, byte [rbx + 0x21]
mov byte [0x140183db1], al
movzx eax, byte [rbx + 0x22]
mov byte [0x140183db2], al
movzx eax, byte [rbx + 0x23]
mov byte [0x140183db3], al
movzx eax, byte [rbx + 0x24]
mov byte [0x140183db4], al
movzx eax, byte [rbx + 0x25]
mov byte [0x140183db5], al
movzx eax, byte [rbx + 0x26]
mov byte [0x140183db6], al
movzx eax, byte [rbx + 0x27]
mov byte [0x140183db7], al
movzx eax, byte [rbx + 0x28]
mov byte [0x140183db8], al
movzx eax, byte [rbx + 0x29]
mov byte [0x140183db9], al
movzx eax, byte [rbx + 0x2a]
mov byte [0x140183dba], al
movzx eax, byte [rbx + 0x2b]
mov byte [0x140183dbb], al
movzx eax, byte [rbx + 0x2c]
mov byte [0x140183dbc], al
movzx eax, byte [rbx + 0x2d]
mov byte [0x140183dbd], al
movzx eax, byte [rbx + 0x2e]
mov byte [0x140183dbe], al
movzx eax, byte [rbx + 0x2f]
mov byte [0x140183dbf], al
add rsp, 0x20
pop rbx
jmp qword [0x140183d90]