Function at 0x140010130
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x50], 0x1451b
mov dword [rsp + 0x2c], 0x567d
mov dword [rsp + 0x24], 0x7afa
mov dword [rsp + 0x20], 0x14803
mov dword [rsp + 0x28], 0xfe38
mov eax, dword [0x14003ec1c]
add eax, 0x4c
mov rax, qword gs:[rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], 1
cmp dword [rsp + 0x40], 0
je 0x14001031d
call fcn.140011030
cmp qword [rsp + 0x38], 0
je 0x14001031d
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x48]
test eax, eax
je 0x14001030b
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x50]
call fcn.140011b20
cmp eax, 0xb3218798
jne 0x14001030b
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x34], eax
jmp 0x1400101fa
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [0x14003eb08]
cmp dword [rsp + 0x34], eax
jb 0x1400102ed
mov dword [rsp + 0x20], 0xfce8
mov eax, dword [rsp + 0x20]
cdq
idiv dword [rsp + 0x2c]
mov eax, edx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
cmp dword [0x14003ec18], eax
jne 0x140010298
mov eax, dword [0x14003eae4]
cmp dword [rsp + 0x20], eax
jae 0x140010296
mov eax, dword [rsp + 0x24]
cdq
mov ecx, 0xe633
idiv ecx
mov eax, edx
cdq
idiv dword [rsp + 0x20]
mov eax, edx
sub eax, dword [rsp + 0x20]
add eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
mov ecx, dword [rsp + 0x20]
call fcn.140003180
mov eax, dword [rsp + 0x20]
add eax, 0x112b2
mov ecx, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x24]
sub edx, ecx
mov ecx, edx
sar eax, cl
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x24]
cmp dword [0x14003ec2c], eax
jne 0x140010239
mov eax, dword [0x14003eb04]
cmp dword [rsp + 0x20], eax
jb 0x140010239
jmp 0x1400102e8
mov edx, dword [rsp + 0x28]
mov ecx, 0x187a1
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x20]
movzx ecx, al
mov eax, dword [rsp + 0x28]
shl eax, cl
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x24]
cdq
idiv dword [rsp + 0x20]
mov eax, edx
movzx ecx, al
mov eax, dword [rsp + 0x44]
sar eax, cl
or eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x20], eax
jmp 0x1400101f0
mov r8, qword [rsp + 0x38]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.14000f730
jmp 0x140010419
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
jmp 0x1400101b0
mov eax, 0x10
imul rax, rax, 1
mov ecx, 0x10
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x80]
mov ecx, dword [r8 + rcx + 4]
mov eax, dword [rdx + rax + 4]
sub eax, ecx
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x30], 0
jmp 0x140010362
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x30], eax
jae 0x140010419
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 4]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x24]
cmp dword [0x14003ec2c], eax
jg 0x1400103e5
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x24]
cdq
idiv dword [rsp + 0x20]
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x2c]
imul ecx, dword [rsp + 0x20]
sub eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
add eax, 0x6ea2
mov dword [rsp + 0x28], eax
jmp 0x14001039a
mov eax, dword [0x14003eb00]
cmp dword [rsp + 0x20], eax
jge 0x14001039a
mov edx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x68]
call fcn.14000d6c0
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x80]
mov qword [rdx + rcx + 8], rax
jmp 0x140010358
add rsp, 0x78
ret