Function at 0x2265f96b194
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 0x2265f96b3a6
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 0x2265f96b257
jmp 0x2265f96b24f
cmp dword [rsp + 0x4c], 0
jbe 0x2265f96b3a6
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 0x2265f96b397
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 0x2265f96b362
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
add rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
jmp 0x2265f96b384
movzx eax, byte [rsp + 0x20]
cmp eax, 0xa
jne 0x2265f96b384
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 0x2265f96b2d3
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x78], rax
jmp 0x2265f96b257
xor eax, eax
test eax, eax
je 0x2265f96b3ae
jmp 0x2265f96b3a6
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x38]
cmp dword [rcx + rax + 0x88], 0
je 0x2265f96b59c
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 0x2265f96b59c
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 0x2265f96b457
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 0x2265f96b469
mov eax, 0xfffffffd
jmp 0x2265f96b828
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
je 0x2265f96b489
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
add rax, qword [rsp + 0x120]
mov qword [rsp + 0x40], rax
jmp 0x2265f96b49e
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 0x2265f96b589
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rax]
and rax, rcx
test rax, rax
je 0x2265f96b4f3
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 0x2265f96b52d
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 0x2265f96b55a
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 0x2265f96b56a
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 0x2265f96b4a6
mov rax, qword [rsp + 0x30]
add rax, 0x14
mov qword [rsp + 0x30], rax
jmp 0x2265f96b404
cmp qword [rsp + 0x138], 0
je 0x2265f96b727
xor eax, eax
test eax, eax
je 0x2265f96b5b3
jmp 0x2265f96b5ab
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
cmp dword [rcx + rax + 0x88], 0
je 0x2265f96b727
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 0x2265f96b668
jmp 0x2265f96b660
mov dword [rsp + 0x28], 0
jmp 0x2265f96b67c
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x28], eax
jae 0x2265f96b70d
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 0x2265f96b708
xor eax, eax
test eax, eax
je 0x2265f96b6f9
jmp 0x2265f96b6f1
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x68], rax
jmp 0x2265f96b70d
jmp 0x2265f96b672
cmp qword [rsp + 0x68], 0
jne 0x2265f96b727
xor eax, eax
test eax, eax
je 0x2265f96b71d
jmp 0x2265f96b715
mov eax, 0xffffffff
jmp 0x2265f96b828
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 0x2265f96b747
jmp 0x2265f96b73f
cmp qword [rsp + 0x130], 0
je 0x2265f96b765
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 [0x2265f97a068]
call fcn.2265f96ae2c
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 0x2265f96b7c6
jmp 0x2265f96b7be
cmp dword [rsp + 0x84], 0
jne 0x2265f96b7dc
xor eax, eax
test eax, eax
je 0x2265f96b7d8
jmp 0x2265f96b7d0
xor eax, eax
jmp 0x2265f96b828
cmp qword [rsp + 0x68], 0
je 0x2265f96b823
cmp dword [rsp + 0x140], 1
jne 0x2265f96b7fc
xor eax, eax
test eax, eax
je 0x2265f96b7f6
jmp 0x2265f96b7ee
call qword [rsp + 0x68]
jmp 0x2265f96b81b
cmp dword [rsp + 0x140], 2
jne 0x2265f96b81b
xor eax, eax
test eax, eax
je 0x2265f96b80e
jmp 0x2265f96b806
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x100], rax
xor eax, eax
test eax, eax
je 0x2265f96b823
jmp 0x2265f96b81b
mov eax, 1
add rsp, 0x118
ret