Function at 0x140060bd0
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x48
cmp dword [0x140139460], 0
je 0x140060be7
mov eax, 1
add rsp, 0x48
ret
mov rax, qword gs:[0x60]
xor edx, edx
mov qword [rsp + 0x40], rdi
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x10]
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x140060ff3
nop dword [rax]
mov rdi, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + rdi + 0x88]
test ecx, ecx
je 0x140060c49
lea rdx, [rdi + rcx]
mov ecx, dword [rdi + rcx + 0xc]
mov eax, dword [rcx + rdi]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x140060c49
mov eax, dword [rcx + rdi + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x140060c55
mov r8, qword [r8]
mov rax, qword [r8 + 0x30]
test rax, rax
jne 0x140060c10
test rdx, rdx
je 0x140060ff3
mov ecx, dword [rdx + 0x24]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
movsxd rsi, dword [rdx + 0x18]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov r14d, dword [rdx + 0x1c]
mov qword [rsp + 0x20], r15
mov r15d, dword [rdx + 0x20]
add rcx, rdi
add r14, rdi
add r15, rdi
lea rbp, [0x140139464]
xor r12d, r12d
lea r13, [rcx + rsi*2 - 2]
nop dword [rax + rax]
lea rcx, [0x140098138]
call fcn.140076b80
lea rcx, [0x140098130]
mov ebx, esi
sub ebx, eax
call fcn.140076b80
lea rcx, [0x140098128]
sub ebx, eax
call fcn.140076b80
lea rcx, [0x140098120]
sub ebx, eax
call fcn.140076b80
lea rcx, str._525
sub ebx, eax
dec ebx
call fcn.140076b80
lea rcx, str.1021
add ebx, eax
call fcn.140076b80
lea rcx, [0x1400980f8]
add ebx, eax
call fcn.140076b80
lea rcx, [0x1400980f0]
add ebx, eax
call fcn.140076b80
add eax, ebx
mov ecx, dword [r15 + rax*4]
mov eax, 0x775a
add rcx, rdi
cmp word [rcx], ax
jne 0x140060d59
call fcn.140060a80
inc r12d
add rbp, 8
mov dword [rbp - 8], eax
movzx eax, word [r13]
mov ecx, dword [r14 + rax*4]
mov dword [rbp - 4], ecx
cmp r12d, 0x1f4
je 0x140060d66
sub r13, 2
add esi, 0xffffffff
jne 0x140060cb0
mov r15, qword [rsp + 0x20]
lea eax, [r12 - 1]
xor ebp, ebp
mov dword [0x140139460], r12d
test eax, eax
je 0x140060fc6
lea r14, [0x140139468]
lea r13, [0x140139460]
nop
lea rcx, [0x140098138]
xor esi, esi
call fcn.140076b80
mov ebx, dword [0x140139460]
lea rcx, [0x140098130]
sub ebx, ebp
sub ebx, eax
call fcn.140076b80
lea rcx, [0x140098128]
sub ebx, eax
call fcn.140076b80
lea rcx, [0x140098120]
sub ebx, eax
call fcn.140076b80
lea rcx, str._525
sub ebx, eax
dec ebx
call fcn.140076b80
lea rcx, str.1021
add ebx, eax
call fcn.140076b80
lea rcx, [0x1400980f8]
add ebx, eax
call fcn.140076b80
lea rcx, [0x1400980f0]
add ebx, eax
call fcn.140076b80
add eax, ebx
je 0x140060fb4
mov rdi, r14
nop word [rax + rax]
lea rcx, [0x140098138]
call fcn.140076b80
lea rcx, [0x140098130]
mov ebx, esi
sub ebx, eax
call fcn.140076b80
lea rcx, [0x140098128]
sub ebx, eax
call fcn.140076b80
lea rcx, [0x140098120]
sub ebx, eax
call fcn.140076b80
lea rcx, str._525
sub ebx, eax
call fcn.140076b80
lea rcx, str.1021
add ebx, eax
call fcn.140076b80
lea rcx, [0x1400980f8]
add ebx, eax
call fcn.140076b80
mov r12d, dword [rdi]
lea rcx, [0x1400980f0]
add ebx, eax
call fcn.140076b80
lea ecx, [rax + rbx + 1]
cmp r12d, dword [r13 + rcx*8 + 8]
jbe 0x140060f2c
mov eax, dword [rdi + 4]
mov ecx, dword [rdi - 4]
mov dword [rdi - 4], eax
mov eax, dword [rdi + 8]
mov dword [rdi + 4], ecx
lea rcx, [0x140098138]
mov dword [rdi], eax
call fcn.140076b80
lea rcx, [0x140098130]
mov ebx, esi
sub ebx, eax
call fcn.140076b80
lea rcx, [0x140098128]
sub ebx, eax
call fcn.140076b80
lea rcx, [0x140098120]
sub ebx, eax
call fcn.140076b80
lea rcx, str._525
sub ebx, eax
call fcn.140076b80
lea rcx, str.1021
add ebx, eax
call fcn.140076b80
lea rcx, [0x1400980f8]
add ebx, eax
call fcn.140076b80
lea rcx, [0x1400980f0]
add ebx, eax
call fcn.140076b80
lea ecx, [rax + rbx + 1]
mov dword [r13 + rcx*8 + 8], r12d
lea rcx, [0x140098138]
inc esi
add rdi, 8
call fcn.140076b80
mov ebx, dword [0x140139460]
lea rcx, [0x140098130]
sub ebx, ebp
sub ebx, eax
call fcn.140076b80
lea rcx, [0x140098128]
sub ebx, eax
call fcn.140076b80
lea rcx, [0x140098120]
sub ebx, eax
call fcn.140076b80
lea rcx, str._525
sub ebx, eax
dec ebx
call fcn.140076b80
lea rcx, str.1021
add ebx, eax
call fcn.140076b80
lea rcx, [0x1400980f8]
add ebx, eax
call fcn.140076b80
lea rcx, [0x1400980f0]
add ebx, eax
call fcn.140076b80
add eax, ebx
cmp esi, eax
jb 0x140060e20
mov eax, dword [0x140139460]
inc ebp
dec eax
cmp ebp, eax
jb 0x140060d90
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x48
ret
xor eax, eax
mov rdi, qword [rsp + 0x40]
add rsp, 0x48
ret