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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x478
movaps xmmword [rsp + 0x450], xmm6
movaps xmmword [rsp + 0x460], xmm7
mov rax, qword [rsp + 0x4e0]
mov dword [rax], 0
mov qword [rsp + 0x4c0], rcx
mov r14, rdx
mov qword [rsp + 0x4d0], r8
mov qword [rsp + 0x4d8], r9
mov qword [rsp + 0xb0], 0
cmp rcx, 0xffffffffffffffff
je 0x3309048a0
mov edx, 1
mov ecx, 0x400
lea rdi, [rsp + 0xb0]
call sub.msvcrt.dll_calloc
mov r9d, 0x400
mov rdx, r14
mov qword [rsp + 0x20], rdi
mov rsi, rax
mov r8, rax
mov rcx, qword [rsp + 0x4c0]
mov rbx, qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov qword [rsp + 0xa0], rax
call rbx
movsxd rax, dword [rsi + 0x3c]
mov edx, 1
mov esi, dword [rsi + rax + 0x50]
mov rcx, rsi
call sub.msvcrt.dll_calloc
mov qword [rsp + 0x20], rdi
mov r9, rsi
mov rdx, r14
mov rdi, rax
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0x4c0]
mov r8, rax
call rbx
movsxd rax, dword [rdi + 0x3c]
mov qword [rsp + 0x50], rdi
add rax, rdi
mov eax, dword [rax + 0x88]
mov dword [rsp + 0x8c], eax
test eax, eax
je 0x330904720
mov rdi, qword [rsp + 0x50]
add rax, rdi
mov rsi, rax
mov qword [rsp + 0x68], rax
mov eax, dword [rax + 0x1c]
add rax, rdi
mov qword [rsp + 0x58], rax
mov eax, dword [rsi + 0x20]
add rax, rdi
mov qword [rsp + 0x70], rax
mov eax, dword [rsi + 0x24]
add rax, rdi
mov qword [rsp + 0x78], rax
mov eax, dword [rsi + 0x18]
mov dword [rsp + 0x8c], eax
test eax, eax
je 0x330904720
lea rax, [rsp + 0xb8]
movdqa xmm7, xmmword [0x3309e40e0]
xor r12d, r12d
mov dword [rsp + 0x8c], 0
mov qword [rsp + 0x80], rax
movdqa xmm6, xmmword [0x3309e40f0]
mov qword [rsp + 0x90], 0
jmp 0x330904635
cmp esi, 3
je 0x330904880
cmp esi, 4
je 0x330904998
mov rdx, qword [rbx + 0x220]
mov qword [rsp + 0x40], 0
mov rcx, qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov r9d, 0x30
lea r8, [rsp + 0xf0]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call fcn.330901890
test rax, rax
je 0x3309048d0
cmp qword [rsp + 0xf8], r14
je 0x3309047f0
lea rbp, [rsp + 0x120]
xor eax, eax
mov ecx, 0x20
mov r13, qword [0x3309eacd0]
mov rdi, rbp
mov rdx, qword [rsp + 0x4c0]
mov r9, rbp
mov r8, r14
rep stosq qword [rdi], rax
mov rcx, r13
mov dword [rdi], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x104
call fcn.330901890
test rax, rax
je 0x3309049b4
lea r9, [rsp + 0x230]
xor eax, eax
mov ecx, 0x20
mov r8, qword [rsp + 0xf8]
mov rdi, r9
mov rdx, qword [rsp + 0x4c0]
mov qword [rsp + 0x60], r9
rep stosq qword [rdi], rax
mov rcx, r13
mov dword [rdi], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x104
call fcn.330901890
mov r9, qword [rsp + 0x60]
test rax, rax
je 0x3309049ce
mov rax, qword [str.kernel32kernelbaFunction_detected:__s:_s__hook_type___d]
mov qword [rsp + 0x60], r9
mov rcx, rbp
lea rbp, [rsp + 0x340]
mov byte [rsp + 0xcc], 0
mov rdi, qword [sym.imp.SHLWAPI.dll_StrStrIA]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0xc0]
mov dword [rsp + 0xc8], 0x6c6c642e
mov rdx, rax
mov qword [rsp + 0x98], rax
call rdi
mov r9, qword [rsp + 0x60]
test rax, rax
je 0x330904510
mov rax, qword [0x3309e40d8]
mov rcx, r9
lea rbp, [rsp + 0x340]
mov byte [rsp + 0x34e], 0
mov dword [rsp + 0x348], 0x642e6573
mov rdx, rbp
mov qword [rsp + 0x340], rax
mov eax, 0x6c6c
mov word [rsp + 0x34c], ax
call rdi
test rax, rax
jne 0x3309047f0
xor eax, eax
mov ecx, 0x20
mov rdi, rbp
mov r9, rbp
rep stosq qword [rdi], rax
mov r8, qword [rsp + 0xf8]
mov rcx, r13
mov rdx, qword [rsp + 0x4c0]
mov dword [rdi], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x104
call fcn.330901890
test rax, rax
je 0x3309049eb
lea r11, [rbx + 0x11c]
mov r8d, 0x103
mov rdx, rbp
mov rcx, r11
call sub.msvcrt.dll_strncpy
cmp byte [rbx + 0x11c], 0
jne 0x330904770
cmp qword [rsp + 0x4e8], 0
je 0x3309045ed
mov dword [rsp + 0x20], esi
mov r9, r15
mov r8, rbp
mov rax, qword [0x3309e4100]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x4e8]
mov dword [rsp + 0xe8], 0xa0a20
mov qword [rsp + 0xe0], rax
movaps xmmword [rsp + 0xc0], xmm7
movaps xmmword [rsp + 0xd0], xmm6
call fcn.330925110
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x4d8], rax
jbe 0x330904617
mov rdi, qword [rsp + 0x4d0]
mov qword [rdi + rax*8], rbx
add rax, 1
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x4e0]
add dword [rax], 1
mov rax, qword [rsp + 0x68]
add r12d, 1
cmp dword [rax + 0x18], r12d
jbe 0x330904720
mov rsi, qword [rsp + 0x78]
mov eax, r12d
mov rbx, qword [rsp + 0x70]
lea r13, [rsi + rax*2]
mov rsi, qword [rsp + 0x58]
mov eax, dword [rbx + rax*4]
movzx edx, word [r13]
mov dword [rsp + 0x60], eax
mov ebp, dword [rsi + rdx*4]
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0xb8], 0
add rbp, qword [rsp + 0x50]
mov rcx, rbp
call fcn.330903eb0
mov esi, eax
cmp eax, 1
jbe 0x330904622
call fcn.330903a30
mov r8d, 0x103
lea r15, [rax + 0x18]
lea rdi, [rax + 0x20]
mov qword [rax + 0x18], 0
mov rbx, rax
and rdi, 0xfffffffffffffff8
mov rcx, r15
mov qword [rax + 0x114], 0
xor eax, eax
sub rcx, rdi
add ecx, 0x104
shr ecx, 3
rep stosq qword [rdi], rax
mov rcx, r15
mov edx, dword [rsp + 0x60]
add rdx, qword [rsp + 0x50]
call sub.msvcrt.dll_strncpy
movzx eax, word [r13]
mov rdi, qword [rsp + 0x58]
mov qword [rbx], r14
mov word [rbx + 8], ax
movzx eax, word [r13]
mov eax, dword [rdi + rax*4]
add rax, r14
mov qword [rbx + 0x10], rax
cmp esi, 2
jne 0x330904318
mov rcx, qword [rsp + 0xb8]
movsxd rdx, dword [rbp + rcx]
lea rax, [rax + rcx + 4]
add rdx, rax
mov qword [rbx + 0x220], rdx
jmp 0x330904331
cmp qword [rsp + 0x4c0], 0xffffffffffffffff
je 0x330904745
mov rcx, qword [rsp + 0xa0]
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0xa8]
call sub.msvcrt.dll_free
mov eax, dword [rsp + 0x8c]
movaps xmm6, xmmword [rsp + 0x450]
movaps xmm7, xmmword [rsp + 0x460]
add rsp, 0x478
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x60], rax
mov ecx, 0x20
xor eax, eax
mov rdi, rbp
rep stosq qword [rdi], rax
mov r9, rbp
mov r8, r14
mov rcx, r13
mov rdx, qword [rsp + 0x4c0]
mov dword [rdi], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x104
call fcn.330901890
mov r11, qword [rsp + 0x60]
test rax, rax
je 0x330904a05
mov rdx, rbp
mov rcx, r11
call fcn.330904070
test eax, eax
je 0x330904599
nop dword [rax]
mov qword [rsp + 0x40], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x38], 0
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call fcn.330901890
mov rcx, qword [sym.imp.KERNEL32.dll_HeapFree]
mov r9, rbx
xor r8d, r8d
mov qword [rsp + 0x40], 0
mov rdx, rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call fcn.330901890
jmp 0x330904622
mov rdx, qword [rsp + 0xb8]
mov edx, dword [rax + rdx]
mov qword [rbx + 0x220], rdx
jmp 0x330904331
movsxd rax, dword [rdx + 0x3c]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xa0], 0
add rax, rdx
jmp 0x33090427a
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x4d8], rax
jbe 0x3309048fa
mov rdi, qword [rsp + 0x4d0]
mov qword [rdi + rax*8], rbx
add rax, 1
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x4e0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
add dword [rax], 1
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call fcn.330901890
mov rcx, qword [sym.imp.KERNEL32.dll_HeapFree]
mov r9, rbx
xor r8d, r8d
mov qword [rsp + 0x40], 0
mov rdx, rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call fcn.330901890
mov dword [rsp + 0x8c], 4
jmp 0x330904622
mov rdx, qword [rsp + 0xb8]
mov edx, dword [rax + rdx]
mov rdx, qword [rax + rdx + 6]
mov qword [rbx + 0x220], rdx
jmp 0x330904331
mov r8d, 0x103
lea rdx, [0x3309e40c0]
mov rcx, rbp
call sub.msvcrt.dll_strncpy
jmp 0x3309043fd
mov rcx, r9
mov r8d, 0x103
lea rdx, [0x3309e40c0]
call sub.msvcrt.dll_strncpy
mov r9, rax
jmp 0x330904470
mov r8d, 0x103
lea rdx, [0x3309e40c0]
mov rcx, rbp
call sub.msvcrt.dll_strncpy
jmp 0x330904574
mov r8d, 0x103
lea rdx, [0x3309e40c0]
mov rcx, rbp
call sub.msvcrt.dll_strncpy
mov r11, qword [rsp + 0x60]
jmp 0x3309047d9