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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
lea rax, [0x00842d50]
mov esi, dword [rsp + 0xb0]
mov rdi, qword [rsp + 0xa0]
lea rbp, [rcx + 0x118]
mov rbx, rcx
mov qword [rcx], rax
mov r12, rdx
mov dword [rcx + 8], 0
mov r14, r8
mov r15, r9
mov byte [rcx + 0xe], 0x28
mov byte [rcx + 0xf], 0x40
mov dword [rcx + 0x20], 0
mov dword [rcx + 0x24], 0
mov dword [rcx + 0x28], 0
mov qword [rcx + 0x30], 0
mov dword [rcx + 0x38], 0
mov dword [rcx + 0x3c], 0
mov dword [rcx + 0x40], 0
mov qword [rcx + 0x48], 0
mov dword [rcx + 0x50], 0
mov dword [rcx + 0x54], 0
mov dword [rcx + 0x58], 0
mov qword [rcx + 0x60], 0
mov dword [rcx + 0x68], 0
mov dword [rcx + 0x6c], 0
mov dword [rcx + 0x70], 0
mov qword [rcx + 0x78], 0
mov dword [rcx + 0x80], 0
mov dword [rcx + 0x84], 0
mov dword [rcx + 0x88], 0
mov qword [rcx + 0x90], 0
mov dword [rcx + 0x98], 0
mov dword [rcx + 0x9c], 0
mov dword [rcx + 0xa0], 0
mov qword [rcx + 0xa8], 0
mov dword [rcx + 0xb0], 0
mov dword [rcx + 0xb4], 0
mov dword [rcx + 0xb8], 0
mov qword [rcx + 0xc0], 0
mov dword [rcx + 0xc8], 0
mov dword [rcx + 0xcc], 0
mov dword [rcx + 0xd0], 0
mov qword [rcx + 0xd8], 0
mov dword [rcx + 0xe0], 0
mov dword [rcx + 0xe4], 0
mov dword [rcx + 0xe8], 0
mov qword [rcx + 0xf0], 0
mov dword [rcx + 0xf8], 0
mov dword [rcx + 0xfc], 0
mov dword [rcx + 0x100], 0
mov qword [rcx + 0x108], 0
mov qword [rbx + 0x110], rdx
mov qword [rcx + 0x118], rbp
mov qword [rcx + 0x120], rbp
mov qword [rcx + 0x128], 0
mov dword [rcx + 0x130], 0
mov dword [rcx + 0x134], 0
mov dword [rcx + 0x138], 0
mov dword [rcx + 0x13c], 0
mov dword [rcx + 0x140], 0
mov dword [rcx + 0x144], 0
mov rax, qword [rdx + 0x428]
mov qword [rcx + 0x148], rax
lock add dword [rax + 0x30], 1
call fcn.00591730
mov rax, qword [rax]
mov qword [rbx + 0x150], rax
call fcn.00591730
mov rax, qword [rax]
mov qword [rbx + 0x158], rax
call fcn.00591a90
mov qword [rbx + 0x160], rax
call fcn.00591730
mov rax, qword [rax]
mov qword [rbx + 0x168], rax
call fcn.00591730
mov rax, qword [rax]
mov qword [rbx + 0x170], rax
call fcn.00591a90
mov qword [rbx + 0x178], rax
call fcn.00591730
mov rax, qword [rax]
mov qword [rbx + 0x180], rax
call fcn.00591730
mov rax, qword [rax]
mov qword [rbx + 0x188], rax
call fcn.00591a90
mov qword [rbx + 0x190], rax
call fcn.00591730
mov rax, qword [rax]
mov qword [rbx + 0x198], rax
call fcn.00591730
mov rax, qword [rax]
mov qword [rbx + 0x1a0], rax
call fcn.00591730
mov rax, qword [rax]
mov qword [rbx + 0x1a8], rax
call fcn.00591730
mov rax, qword [rax]
lea r13, [rbx + 0x488]
xor r8d, r8d
mov rdx, r12
mov qword [rbx + 0x1b8], 0
mov rcx, r13
mov qword [rbx + 0x1c0], 0
mov qword [rbx + 0x1c8], 0
mov qword [rbx + 0x1b0], rax
mov qword [rbx + 0x470], 0
mov qword [rbx + 0x478], 0
mov qword [rbx + 0x480], 0
call fcn.005f6ee0
lea rax, [rbx + 0x4b0]
mov qword [rbx + 0x4a8], 0
mov qword [rbx + 0x4b0], rax
lea r12, [rbx + 0x498]
mov qword [rbx + 0x4b8], rax
mov rax, qword [r15]
mov qword [rbx + 0x498], r12
mov qword [rbx + 0x4a0], r12
mov qword [rbx + 0x4c0], 0
mov qword [rbx + 0x4d8], rax
mov rax, qword [r15 + 8]
mov dword [rbx + 0x4c8], 0
mov dword [rbx + 0x4cc], 0
mov byte [rbx + 0x4d0], 0
test rax, rax
mov qword [rbx + 0x4e0], rax
je 0x61b96e
lock inc dword [rax + 8]
mov rax, qword [r14]
mov qword [rbx + 0x4e8], rax
mov rax, qword [r14 + 8]
test rax, rax
mov qword [rbx + 0x4f0], rax
je 0x61b98c
lock inc dword [rax + 0xc]
mov rax, qword [rsp + 0xa8]
lea rcx, [rbx + 0x600]
mov qword [rbx + 0x4f8], 0
and dword [rbx + 0x500], 0x80000000
mov qword [rbx + 0x508], 0
and byte [rbx + 0x504], 0xfe
mov qword [rbx + 0x510], 0
mov qword [rbx + 0x518], 0
mov qword [rbx + 0x520], 0
mov qword [rbx + 0x528], 0
mov qword [rbx + 0x530], 0
mov qword [rbx + 0x538], 0
mov qword [rbx + 0x540], 0
mov qword [rbx + 0x548], 0
mov qword [rbx + 0x550], 0
mov qword [rbx + 0x558], 0
mov qword [rbx + 0x560], 0
mov qword [rbx + 0x568], 0
mov qword [rbx + 0x570], 0
mov qword [rbx + 0x578], 0
mov qword [rbx + 0x580], 0
mov qword [rbx + 0x588], 0
mov qword [rbx + 0x590], 0
mov qword [rbx + 0x598], 0
mov qword [rbx + 0x5a0], 0
mov qword [rbx + 0x5a8], 0
mov qword [rbx + 0x5b0], 0
mov qword [rbx + 0x5b8], 0
mov qword [rbx + 0x5c0], 0
mov qword [rbx + 0x5c8], rax
mov qword [rbx + 0x5d0], 0
mov rax, qword [0x00826e10]
mov rax, qword [rax]
mov qword [rbx + 0x5d8], rax
mov rax, qword [rdi]
mov qword [rbx + 0x5e0], rax
mov rax, qword [rdi + 8]
mov qword [rbx + 0x5e8], rax
mov rax, qword [rdi + 0x10]
mov qword [rbx + 0x5f0], rax
mov eax, dword [rdi + 0x18]
mov dword [rbx + 0x5f8], eax
call fcn.005f40e0
lea rcx, [rbx + 0x618]
call fcn.005f40e0
lea rdi, [rbx + 0x630]
mov qword [rbx + 0x630], 0
mov qword [rdi + 8], 0
mov dword [rdi + 0x10], 0
mov rax, qword [rbx + 0x110]
mov dword [rbx + 0x644], 0
mov dword [rbx + 0x650], 0
mov dword [rbx + 0x654], 0
mov dword [rbx + 0x658], 0
mov dword [rbx + 0x65c], 0
mov edx, dword [rax + 0xd0]
mov dword [rbx + 0x664], 0
mov dword [rbx + 0x668], 0
mov dword [rbx + 0x66c], 0
mov dword [rbx + 0x660], edx
mov edx, 2
mov dword [rbx + 0x670], 0
mov dword [rbx + 0x674], 0
mov dword [rbx + 0x678], 0
mov dword [rbx + 0x67c], 1
mov dword [rbx + 0x680], 0
mov dword [rbx + 0x684], 0
mov dword [rbx + 0x688], 1
mov dword [rbx + 0x68c], 0xffffffff
mov dword [rbx + 0x698], 0
mov dword [rbx + 0x69c], 0
mov dword [rbx + 0x6a0], 0
mov dword [rbx + 0x6a4], 0
mov dword [rbx + 0x6a8], 0
mov eax, dword [rax + 0xc8]
mov word [rbx + 0x6b6], dx
mov byte [rbx + 0x6ba], 0
mov dword [rbx + 0x6ac], eax
xor eax, eax
mov word [rbx + 0x6b4], ax
mov eax, esi
and eax, 1
lea edx, [rax + rax]
mov ecx, eax
shl eax, 5
shl ecx, 4
or edx, ecx
lea rcx, [rsp + 0x28]
or eax, edx
mov byte [rbx + 0x6bb], al
movzx eax, byte [rbx + 0x6bd]
lea rdx, [rbx + 0x4f0]
and byte [rbx + 0x6bc], 0xf8
mov dword [rbx + 0x6c0], 0x539
mov dword [rbx + 0x6c4], 0
mov dword [rbx + 0x690], 0xffffffff
or eax, 1
mov dword [rbx + 0x694], 0xffffffff
and eax, 0xfffffff9
mov byte [rbx + 0x6bd], al
mov qword [rsp + 0x20], 0
call fcn.00611a20
mov rsi, qword [rsp + 0x28]
test rsi, rsi
je 0x61bcd6
mov rax, qword [rbx + 0x4e8]
mov qword [rsp + 0x20], rax
test byte [rbx + 0x6bb], 0x10
je 0x61bcf0
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x61bcf0
add dword [rax + 0x128], 1
mov rax, qword [rbx + 0x110]
xor edx, edx
mov r8d, 2
lea rcx, [rbx + 0x6b8]
mov eax, dword [rax + 0x24c]
mov byte [rbx + 0xc], 0
mov byte [rbx + 0xd], 0
mov dword [rbx + 0x14], 0
mov dword [rbx + 0x18], 0
mov dword [rbx + 0x6b0], eax
call sub.msvcrt.dll_memset
xor edx, edx
mov r8d, 0x14
mov rcx, rdi
call sub.msvcrt.dll_memset
test rsi, rsi
je 0x61bd51
mov eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
je 0x61bd62
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rsi
call fcn.00611d10
jmp 0x61bd51