Function at 0x140303630
Capabilities:
Parse pe header

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x298
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x270], rax
movsxd r14, dword [rcx + 0x3c]
mov r15, rcx
add r14, rcx
mov dword [rsp + 0x20], r9d
xor r12d, r12d
mov qword [rsp + 0x28], r8
xor r13d, r13d
mov dword [rsp + 0x24], edx
mov ecx, 0x14c
mov rsi, r8
movzx eax, word [r14 + 4]
cmp cx, ax
jne 0x140303690
mov r12, r14
lea rbp, [r14 + 0x98]
jmp 0x1403036a8
mov ecx, 0x8664
cmp cx, ax
jne 0x1403038c9
mov r13, r14
lea rbp, [r14 + 0xa8]
cmp dword [rbp], 0
mov qword [rsp + 0x288], rdi
je 0x1403038b8
cmp dword [rbp + 4], 0
je 0x1403038b8
lea r8, str.Lmifcadpjag
mov qword [rsp + 0x290], rbx
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.140308554
movabs rax, 0xf665bde408961805
lea rsi, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov r8d, 0xc
xor edi, edi
nop
mov eax, edi
dec r8d
cdq
sub eax, edx
sar eax, 1
cdqe
movzx ecx, byte [rsp + rax + 0x38]
test dil, 1
jne 0x14030371c
and cl, 0xf
jmp 0x14030371f
shr cl, 4
xor byte [rsi], cl
lea eax, [rdi + 1]
xor edi, edi
inc rsi
cmp eax, 0x10
cmovne edi, eax
test r8d, r8d
jne 0x140303700
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdi, [rsp + 0x50]
mov ecx, 0x104
mov rbx, rax
lea r8, str.ChfklSskCorvehEile
xor eax, eax
mov edx, 0x104
rep stosb byte [rdi], al
lea rcx, [rsp + 0x160]
call fcn.140308554
movabs rax, 0x3c062ee66078300
lea rsi, [rsp + 0x160]
mov qword [rsp + 0x38], rax
mov r8d, 0x12
xor edi, edi
nop dword [rax + rax]
mov eax, edi
dec r8d
cdq
sub eax, edx
sar eax, 1
cdqe
movzx ecx, byte [rsp + rax + 0x38]
test dil, 1
jne 0x1403037ac
and cl, 0xf
jmp 0x1403037af
shr cl, 4
xor byte [rsi], cl
lea eax, [rdi + 1]
xor edi, edi
inc rsi
cmp eax, 0x10
cmovne edi, eax
test r8d, r8d
jne 0x140303790
lea rdx, [rsp + 0x160]
mov rcx, rbx
call fcn.140303a10
mov r10, rax
lea rdi, [rsp + 0x160]
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
test r10, r10
jne 0x140303832
test rbx, rbx
je 0x1403037fb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0xe0020038
mov rbx, qword [rsp + 0x290]
mov rdi, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140303d20
add rsp, 0x298
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
mov edi, dword [rbp + 4]
lea r9, [rsp + 0x30]
add edi, dword [rbp]
lea r8, [rsp + 0x40]
mov edx, dword [rsp + 0x20]
add rdi, r15
mov rsi, qword [rsp + 0x28]
mov ecx, edx
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rbp]
mov rcx, r15
add dword [rax + r15], edx
mov eax, 0x5a4d
add dword [rbp + 4], edx
movzx edi, word [r15]
mov esi, dword [r14]
add edx, dword [rsp + 0x24]
mov word [r15], ax
mov dword [r14], 0x4550
call r10
mov rdx, rax
test r12, r12
je 0x140303890
mov ecx, dword [rsp + 0x30]
mov dword [r12 + 0x58], ecx
jmp 0x14030389d
test r13, r13
je 0x14030389d
mov eax, dword [rsp + 0x30]
mov dword [r13 + 0x58], eax
mov word [r15], di
mov dword [rdx], esi
test rbx, rbx
je 0x1403038b1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x140303800
mov edi, edx
add rdi, r15
mov ecx, r9d
rep movsb byte [rdi], byte [rsi]
xor eax, eax
jmp 0x140303808
mov eax, 0x800700d8
jmp 0x140303810