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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov r15, r8
mov r13, rdx
mov r12d, ecx
lea rcx, [rsp + 0x30]
mov edx, 0x60
mov r8d, 1
mov r9, r13
call fcn.140489da0
mov ebp, 0x20
cmp rax, 1
jne 0x14036cc44
mov rcx, r15
call fcn.14036c8a0
mov ebp, 0xc
cmp eax, 0xffffffff
je 0x14036cc44
mov r14d, eax
mov rsi, qword [r15 + 0x10]
mov eax, eax
mov cl, byte [rsp + 0x30]
imul rbx, rax, 0x68
mov byte [rsi + rbx], cl
cmp r12d, 1
jne 0x14036ca4b
mov eax, dword [rsp + 0x34]
bswap eax
mov dword [rsi + rbx + 4], eax
mov eax, dword [rsp + 0x38]
bswap eax
mov dword [rsi + rbx + 8], eax
mov eax, dword [rsp + 0x3c]
bswap eax
mov dword [rsi + rbx + 0xc], eax
mov eax, dword [rsp + 0x40]
bswap eax
mov dword [rsi + rbx + 0x10], eax
mov eax, dword [rsp + 0x44]
bswap eax
mov dword [rsi + rbx + 0x14], eax
mov eax, dword [rsp + 0x48]
bswap eax
mov dword [rsi + rbx + 0x18], eax
mov eax, dword [rsp + 0x4c]
bswap eax
mov dword [rsi + rbx + 0x1c], eax
mov eax, dword [rsp + 0x50]
bswap eax
mov dword [rsi + rbx + 0x20], eax
mov eax, dword [rsp + 0x54]
bswap eax
jmp 0x14036ca8f
mov eax, dword [rsp + 0x34]
mov dword [rsi + rbx + 4], eax
mov eax, dword [rsp + 0x38]
mov dword [rsi + rbx + 8], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsi + rbx + 0xc], eax
mov eax, dword [rsp + 0x40]
mov dword [rsi + rbx + 0x10], eax
mov eax, dword [rsp + 0x44]
mov dword [rsi + rbx + 0x14], eax
mov eax, dword [rsp + 0x48]
mov dword [rsi + rbx + 0x18], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsi + rbx + 0x1c], eax
mov eax, dword [rsp + 0x50]
mov dword [rsi + rbx + 0x20], eax
mov eax, dword [rsp + 0x54]
mov dword [rsi + rbx + 0x24], eax
mov al, byte [rsp + 0x58]
mov byte [rsi + rbx + 0x28], al
cmp r12d, 1
jne 0x14036cb31
mov eax, dword [rsp + 0x5c]
bswap eax
mov dword [rsi + rbx + 0x2c], eax
mov eax, dword [rsp + 0x60]
bswap eax
mov dword [rsi + rbx + 0x30], eax
mov eax, dword [rsp + 0x64]
bswap eax
mov dword [rsi + rbx + 0x34], eax
mov eax, dword [rsp + 0x68]
bswap eax
mov dword [rsi + rbx + 0x38], eax
mov eax, dword [rsp + 0x6c]
bswap eax
mov dword [rsi + rbx + 0x3c], eax
mov eax, dword [rsp + 0x70]
bswap eax
mov dword [rsi + rbx + 0x40], eax
mov eax, dword [rsp + 0x74]
bswap eax
mov dword [rsi + rbx + 0x44], eax
mov eax, dword [rsp + 0x78]
bswap eax
mov dword [rsi + rbx + 0x48], eax
mov eax, dword [rsp + 0x7c]
bswap eax
mov dword [rsi + rbx + 0x4c], eax
mov eax, dword [rsp + 0x80]
bswap eax
mov dword [rsi + rbx + 0x50], eax
mov eax, dword [rsp + 0x84]
bswap eax
mov dword [rsi + rbx + 0x54], eax
mov eax, dword [rsp + 0x88]
bswap eax
mov dword [rsi + rbx + 0x58], eax
mov eax, dword [rsp + 0x8c]
bswap eax
jmp 0x14036cba1
mov eax, dword [rsp + 0x5c]
mov dword [rsi + rbx + 0x2c], eax
mov eax, dword [rsp + 0x60]
mov dword [rsi + rbx + 0x30], eax
mov eax, dword [rsp + 0x64]
mov dword [rsi + rbx + 0x34], eax
mov eax, dword [rsp + 0x68]
mov dword [rsi + rbx + 0x38], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsi + rbx + 0x3c], eax
mov eax, dword [rsp + 0x70]
mov dword [rsi + rbx + 0x40], eax
mov eax, dword [rsp + 0x74]
mov dword [rsi + rbx + 0x44], eax
mov eax, dword [rsp + 0x78]
mov dword [rsi + rbx + 0x48], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsi + rbx + 0x4c], eax
mov eax, dword [rsp + 0x80]
mov dword [rsi + rbx + 0x50], eax
mov eax, dword [rsp + 0x84]
mov dword [rsi + rbx + 0x54], eax
mov eax, dword [rsp + 0x88]
mov dword [rsi + rbx + 0x58], eax
mov eax, dword [rsp + 0x8c]
mov dword [rsi + rbx + 0x5c], eax
xor ebp, ebp
test eax, eax
je 0x14036cc44
mov ecx, eax
shl rcx, 2
call fcn.1401ec4a0
mov qword [rsi + rbx + 0x60], rax
test rax, rax
je 0x14036cc5a
lea rdi, [rsi + rbx]
add rdi, 0x5c
cmp dword [rdi], 0
je 0x14036cc44
add rsi, rbx
add rsi, 0x60
xor ebx, ebx
lea rbp, [rsp + 0x2c]
mov edx, 4
mov r8d, 1
mov rcx, rbp
mov r9, r13
call fcn.140489da0
cmp rax, 1
jne 0x14036cc0d
cmp r12d, 1
jne 0x14036cc2e
mov eax, dword [rsp + 0x2c]
bswap eax
jmp 0x14036cc32
mov rcx, qword [rsi]
call fcn.1401ecc90
mov qword [rsi], 0
mov rcx, r15
mov edx, r14d
call fcn.14036c740
mov ebp, 0x20
jmp 0x14036cc44
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsi]
mov dword [rcx + rbx*4], eax
inc rbx
mov eax, dword [rdi]
cmp rbx, rax
jb 0x14036cbe3
xor ebp, ebp
mov eax, ebp
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r15
mov edx, r14d
call fcn.14036c740
mov ebp, 0xc
jmp 0x14036cc44