Function at 0x140052b0e
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r15, rdx
mov rsi, rcx
mov rcx, qword [rcx + 0x10d8]
mov edx, 0x64
call fcn.14000335e
mov r13d, eax
mov edx, 0x64
mov rcx, r15
call fcn.14000335e
mov edi, eax
mov rcx, qword [rsi + 0x10d8]
mov edx, 0x63
call fcn.14000335e
mov byte [rsp + 0x25], al
mov edx, 0x63
mov rcx, r15
call fcn.14000335e
mov byte [rsp + 0x22], al
mov rcx, qword [rsi + 0x10d8]
mov edx, 0x72
call fcn.14000335e
mov ebx, eax
mov edx, 0x72
mov rcx, r15
call fcn.14000335e
mov byte [rsp + 0x23], al
mov rcx, qword [rsi + 0x10d8]
mov edx, 0x73
call fcn.14000335e
mov byte [rsp + 0x27], al
mov edx, 0x73
mov rcx, r15
call fcn.14000335e
mov byte [rsp + 0x24], al
mov rcx, qword [rsi + 0x10d8]
xor r12d, r12d
xor r14d, r14d
mov edx, 0x95
mov r8d, r12d
call fcn.1400034cc
mov ebp, eax
mov edx, 0x95
mov rcx, r15
mov r8d, r12d
call fcn.1400034cc
cmp ebp, eax
je 0x140052bea
mov r14b, 1
inc r12d
mov rcx, qword [rsi + 0x10d8]
cmp r12d, 0x100
jne 0x140052bc4
mov byte [rsp + 0x26], bl
xor r13b, dil
mov edx, 0x85
call fcn.14000335e
mov ebx, eax
mov edx, 0x85
mov rcx, r15
call fcn.14000335e
cmp bl, al
jne 0x140052c47
mov rcx, qword [rsi + 0x10d8]
mov edx, 0x86
call fcn.14000335e
mov ebx, eax
mov edx, 0x86
mov rcx, r15
call fcn.14000335e
xor al, bl
cmp al, 1
jne 0x140052cbb
cmp qword [rsi + 0x1130], 0
je 0x140052cbb
xor r12d, r12d
mov ebp, 0xffffffff
xor edi, edi
xor ebx, ebx
mov rax, qword [rsi + 0x1120]
mov rcx, qword [rax + rdi + 8]
call fcn.140011913
mov rax, qword [rsi + 0x1128]
mov rcx, qword [rax + rdi + 8]
call fcn.140011913
mov rax, qword [rsi + 0x1120]
mov dword [rax + rdi], ebp
mov rax, qword [rsi + 0x1120]
mov qword [rax + rdi + 8], r12
mov rax, qword [rsi + 0x1128]
mov dword [rax + rdi], ebp
mov rax, qword [rsi + 0x1128]
mov qword [rax + rdi + 8], r12
inc rbx
add rdi, 0x20
cmp qword [rsi + 0x1130], rbx
ja 0x140052c5d
mov dil, byte [rsp + 0x25]
xor dil, byte [rsp + 0x22]
mov rcx, qword [rsi + 0x10d8]
call fcn.1400031b2
mov rcx, r15
call fcn.14000331c
mov qword [rsi + 0x10d8], rax
test r13b, r13b
je 0x140052cfe
mov edx, 0x64
mov rcx, rax
call fcn.14000335e
mov byte [rsi + 0xe1], al
mov byte [rsi + 0x1b3], al
mov bl, byte [rsp + 0x26]
xor bl, byte [rsp + 0x23]
test dil, dil
mov dil, byte [rsp + 0x27]
je 0x140052d2d
mov rcx, qword [rsi + 0x10d8]
mov edx, 0x63
call fcn.14000335e
mov byte [rsi + 0xe0], al
mov byte [rsi + 0x1b2], al
xor dil, byte [rsp + 0x24]
test bl, bl
je 0x140052d7f
mov rcx, qword [rsi + 0x10d8]
mov edx, 0x72
call fcn.14000335e
mov byte [rsi + 0xfa], al
movups xmm0, xmmword [rsi + 0x78]
movups xmmword [rsi + 0x8c], xmm0
mov ecx, dword [rsi + 0x88]
mov dword [rsi + 0x9c], ecx
test al, al
je 0x140052d7f
mov eax, 0x3ffff
and eax, dword [rsi + 0x60]
mov dword [rsi + 0x90], eax
mov eax, dword [rsi + 0x6c]
mov dword [rsi + 0x98], eax
test dil, dil
je 0x140052d9b
mov rcx, qword [rsi + 0x10d8]
mov edx, 0x73
call fcn.14000335e
mov byte [rsi + 0xfd], al
test r14b, 1
je 0x140052dcb
xor edi, edi
mov rcx, qword [rsi + 0x10d8]
mov edx, 0x95
mov r8d, edi
call fcn.1400034cc
mov word [rsi + rdi*2 + 0xe90], ax
inc rdi
cmp rdi, 0x100
jne 0x140052da3
mov rcx, qword [rsi + 0x10d8]
mov edx, 0x48
call fcn.14000335e
test al, al
je 0x140052df0
xor edx, edx
xor r8d, r8d
xor r9d, r9d
mov rcx, rsi
call fcn.140052e9f
mov rcx, qword [rsi + 0x10d8]
mov edx, 0x46
call fcn.14000335e
test al, al
je 0x140052e1e
mov dword [rsi + 0x190], 0
mov rcx, qword [rsi + 0x10b8]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x38]
mov rcx, qword [rsi + 0x10d8]
mov edx, 0x4c
call fcn.14000335e
test al, al
je 0x140052e59
movabs rax, 0xd8000000d800
mov qword [rsi + 0x1a0], rax
xor eax, eax
mov dword [rsi + 0x1b8], eax
mov dword [rsi + 0x100], eax
mov byte [rsi + 0x109], 0
mov rcx, qword [rsi + 0x10d8]
mov edx, 0x84
call fcn.14000358b
test rax, rax
jne 0x140052e77
mov rcx, rsi
call fcn.140053159
mov rcx, rsi
call fcn.14005324a
mov rcx, rsi
call fcn.14005329b
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400526a4