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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x3c]
add rax, qword [rsp + 0x120]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x120]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x238b76bb3a6
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x8c]
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
je 0x238b76bb257
jmp 0x238b76bb24f
cmp dword [rsp + 0x4c], 0
jbe 0x238b76bb3a6
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 4]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x4c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x24]
sub rax, 8
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x78]
add rax, 8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x24]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x88]
dec rax
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0xb8], 0
je 0x238b76bb397
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
sar eax, 0xc
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
and eax, 0xfff
mov word [rsp + 0x48], ax
movzx eax, word [rsp + 0x48]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
movzx eax, byte [rsp + 0x20]
cmp eax, 3
jne 0x238b76bb362
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
add rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
jmp 0x238b76bb384
movzx eax, byte [rsp + 0x20]
cmp eax, 0xa
jne 0x238b76bb384
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
add rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
jmp 0x238b76bb2d3
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x78], rax
jmp 0x238b76bb257
xor eax, eax
test eax, eax
je 0x238b76bb3ae
jmp 0x238b76bb3a6
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x38]
cmp dword [rcx + rax + 0x88], 0
je 0x238b76bb59c
movabs rax, 0x8000000000000000
mov qword [rsp + 0xc8], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0xc], 0
je 0x238b76bb59c
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
add rax, qword [rsp + 0x120]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x238b76bb457
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
add rax, qword [rsp + 0x120]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x238b76bb469
mov eax, 0xfffffffd
jmp 0x238b76bb828
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
je 0x238b76bb489
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
add rax, qword [rsp + 0x120]
mov qword [rsp + 0x40], rax
jmp 0x238b76bb49e
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
add rax, qword [rsp + 0x120]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x238b76bb589
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rax]
and rax, rcx
test rax, rax
je 0x238b76bb4f3
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
and rax, 0xffff
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
jmp 0x238b76bb52d
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
add rax, qword [rsp + 0x120]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
add rax, 2
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x10], 0
je 0x238b76bb55a
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
add rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x98]
mov qword [rax + rcx], rdx
jmp 0x238b76bb56a
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
mov rax, qword [rsp + 0x40]
add rax, 8
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x50]
add rax, 8
mov dword [rsp + 0x50], eax
jmp 0x238b76bb4a6
mov rax, qword [rsp + 0x30]
add rax, 0x14
mov qword [rsp + 0x30], rax
jmp 0x238b76bb404
cmp qword [rsp + 0x138], 0
je 0x238b76bb727
xor eax, eax
test eax, eax
je 0x238b76bb5b3
jmp 0x238b76bb5ab
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
cmp dword [rcx + rax + 0x88], 0
je 0x238b76bb727
movabs rax, 0x8000000000000000
mov qword [rsp + 0xf8], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x80], eax
xor eax, eax
test eax, eax
je 0x238b76bb668
jmp 0x238b76bb660
mov dword [rsp + 0x28], 0
jmp 0x238b76bb67c
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x28], eax
jae 0x238b76bb70d
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0xd8]
mov eax, dword [rcx + rax*8]
mov rcx, qword [rsp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe8], rax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0xe0]
mov eax, dword [rcx + rax*8]
mov rcx, qword [rsp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_lstrcmp]
test eax, eax
jne 0x238b76bb708
xor eax, eax
test eax, eax
je 0x238b76bb6f9
jmp 0x238b76bb6f1
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x68], rax
jmp 0x238b76bb70d
jmp 0x238b76bb672
cmp qword [rsp + 0x68], 0
jne 0x238b76bb727
xor eax, eax
test eax, eax
je 0x238b76bb71d
jmp 0x238b76bb715
mov eax, 0xffffffff
jmp 0x238b76bb828
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
add rax, qword [rsp + 0x120]
mov qword [rsp + 0xa8], rax
xor eax, eax
test eax, eax
je 0x238b76bb747
jmp 0x238b76bb73f
cmp qword [rsp + 0x130], 0
je 0x238b76bb765
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0xa8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x120]
mov qword [rax + 0x30], rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9, qword [rsp + 0x120]
mov r8, qword [rsp + 0x120]
mov rdx, rax
mov rcx, qword [0x238b76ca068]
call fcn.238b76bae2c
mov r8, qword [rsp + 0x128]
mov edx, 1
mov rcx, qword [rsp + 0x120]
call qword [rsp + 0xa8]
mov dword [rsp + 0x84], eax
xor eax, eax
test eax, eax
je 0x238b76bb7c6
jmp 0x238b76bb7be
cmp dword [rsp + 0x84], 0
jne 0x238b76bb7dc
xor eax, eax
test eax, eax
je 0x238b76bb7d8
jmp 0x238b76bb7d0
xor eax, eax
jmp 0x238b76bb828
cmp qword [rsp + 0x68], 0
je 0x238b76bb823
cmp dword [rsp + 0x140], 1
jne 0x238b76bb7fc
xor eax, eax
test eax, eax
je 0x238b76bb7f6
jmp 0x238b76bb7ee
call qword [rsp + 0x68]
jmp 0x238b76bb81b
cmp dword [rsp + 0x140], 2
jne 0x238b76bb81b
xor eax, eax
test eax, eax
je 0x238b76bb80e
jmp 0x238b76bb806
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x100], rax
xor eax, eax
test eax, eax
je 0x238b76bb823
jmp 0x238b76bb81b
mov eax, 1
add rsp, 0x118
ret