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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov eax, dword [rsp + 0x90]
xor eax, 0xd83
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x98]
xor eax, 0x545
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x78]
add eax, 0x37
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x98]
sub eax, 0x472
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x80]
add eax, 0x2be
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x78]
sub eax, 0x522
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x90]
xor eax, 0x186
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
add eax, 0x58d
cmp dword [rsp + 0x2c], eax
jge 0x14000176d
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x20], eax
jle 0x1400016ad
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x88]
mov eax, dword [rdx + rax + 0xc4]
mov ecx, dword [rcx + 0xc0]
sub ecx, eax
mov eax, ecx
sub eax, 0xffe4c391
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x28], eax
mov eax, 4
imul rax, rax, 0
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x88]
mov ecx, dword [r8 + rcx + 0x12c]
cmp dword [rdx + rax + 0x2c], ecx
jae 0x140001596
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x88]
mov eax, dword [rdx + rax]
mov ecx, dword [rcx + 0x84]
sub ecx, eax
mov eax, ecx
sub eax, 0x164df
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0xc0]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0xc0], eax
jmp 0x1400015df
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x88]
mov eax, dword [rdx + rax + 0xc4]
mov ecx, dword [rcx + 0xf8]
xor ecx, eax
mov eax, ecx
add eax, 0xfff6a0ce
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0x28]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x28], eax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x88]
mov edx, dword [rdx + 0xf0]
mov eax, dword [rcx + rax + 0xa4]
sub eax, edx
sub eax, 0x11591eb
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0x28]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x28], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x134]
sub eax, 0xffffd000
mov dword [rsp + 0x3c], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 0xd8]
mov rcx, qword [rsp + 0x88]
add eax, dword [rcx + 0x58]
xor eax, 0x48
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x28]
mov r9d, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x3c]
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
add rax, 0x1000
mov rcx, qword [rsp + 0x88]
mov qword [rcx + 0xe8], rax
mov eax, dword [rsp + 0x34]
xor eax, 0x75b
mov dword [rsp + 0x34], eax
jmp 0x14000176d
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0xb8]
mov dword [rsp + 0x24], eax
jmp 0x1400016cc
mov eax, dword [rsp + 0x24]
add eax, 2
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x20]
and ecx, eax
mov eax, ecx
or eax, 0xc02
cmp dword [rsp + 0x24], eax
je 0x14000176d
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0xc0]
mov dword [rsp + 0x28], eax
jmp 0x140001706
mov eax, dword [rsp + 0x28]
add eax, 4
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x58]
xor eax, 0xbd5
sub eax, dword [rsp + 0x20]
cmp dword [rsp + 0x28], eax
jne 0x140001768
mov eax, dword [rsp + 0x2c]
or eax, 0xe5e
xor eax, 0xc02
cdqe
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 0xd8]
or eax, 0x992
sub eax, 0x7f3
mov dword [rsp + 0x20], eax
jmp 0x1400016fb
jmp 0x1400016c1
mov eax, dword [rsp + 0x20]
add eax, 0x48d
add rsp, 0x68
ret