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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov eax, dword [rsp + 0x98]
sub eax, 0xed2
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x88]
add eax, 0x9ea
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x80]
xor eax, 0x3bd0
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x78]
xor eax, 0x22f
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x78]
sub eax, 0x20e2
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x98]
sub eax, 0x36c
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x30]
add eax, 0x126
cmp dword [rsp + 0x2c], eax
jge 0x140010163
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0xe4]
sub eax, 0xffffd00d
mov dword [rsp + 0x38], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0xe4]
sub eax, 0xffffffcd
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x30]
mov r9d, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x38]
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
add rax, 0x5800
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0xf0], rax
mov eax, dword [rsp + 0x24]
xor eax, 0x3ef7
mov dword [rsp + 0x24], eax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0x84]
sub eax, 0x1c839f
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x80], eax
jmp 0x14001029d
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0x34]
sub eax, 0x1d32
mov rcx, qword [rsp + 0x70]
cmp dword [rcx + 0x40], eax
jb 0x14001029d
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0x44]
mov dword [rsp + 0x20], eax
jmp 0x1400101aa
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, 4
imul rax, rax, 2
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x70]
mov ecx, dword [r8 + rcx + 0x44]
mov eax, dword [rdx + rax + 0x74]
or eax, ecx
xor eax, 0x23c2
cmp dword [rsp + 0x20], eax
jae 0x14001029d
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
imul eax, dword [rcx + rax + 0xb4], 0x22cd
mov eax, eax
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0xe4]
or eax, 0x2081
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x70]
imul eax, dword [rdx + rcx + 0x5c]
mov eax, eax
mov qword [rsp + 0x58], rax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0xa0]
xor eax, 0x223b
mov eax, eax
mov qword [rsp + 0x50], rax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0x44]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
sub eax, 0x1cdc
mov dword [rsp + 0x3c], eax
mov r8d, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
jmp 0x1400101a0
mov eax, dword [rsp + 0x28]
add eax, 0x2abd
cmp dword [rsp + 0x40], eax
je 0x1400102e0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0xb4]
xor eax, 0x3bb
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 0x80]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x80], eax
mov eax, dword [rsp + 0x2c]
add eax, 0x5f1
add rsp, 0x68
ret