Function at 0x140030140
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140076100]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rax, qword gs:[0x58]
movabs rsi, 0x5e040c551311fe05
mov edi, 4
mov ebx, 1
movabs r14, 0x79b1f4acaf7c2bea
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x140079528], eax
jle 0x14003020c
lea rcx, [0x140079528]
call fcn.140035688
cmp dword [0x140079528], 0xffffffff
jne 0x14003020c
movabs rax, 0x326a7e3e607e8a6b
mov qword [rbp + 0x37], rsi
mov qword [rbp - 0x19], rax
lea rcx, [rbp - 0x19]
movabs rax, 0x79b1f4acca044ec4
mov qword [rbp + 0x3f], r14
mov qword [rbp - 0x11], rax
mov r8d, ebx
movdqa xmm0, xmmword [rbp - 0x19]
xor edx, edx
xorps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp - 0x19], xmm0
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x140079528]
mov qword [0x1400796b0], rax
call fcn.14003561c
mov eax, dword [rdi]
cmp dword [0x1400795c8], eax
jle 0x140030245
lea rcx, [0x1400795c8]
call fcn.140035688
cmp dword [0x1400795c8], 0xffffffff
jne 0x140030245
mov rax, qword [0x1400796b0]
lea rcx, [0x1400795c8]
mov qword [0x1400794c0], rax
call fcn.14003561c
mov rax, qword [0x1400794c0]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400304f4
mov eax, dword [rdi]
cmp dword [0x140079670], eax
jle 0x14003029e
lea rcx, [0x140079670]
call fcn.140035688
cmp dword [0x140079670], 0xffffffff
jne 0x14003029e
mov rax, qword [0x1400794c0]
lea rcx, [0x140079670]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1400796b0]
mov qword [0x1400795e0], rdx
call fcn.14003561c
mov rax, qword [0x1400795e0]
cmp dword [rax], 0x4550
jne 0x1400304f4
mov eax, dword [rdi]
cmp dword [0x140079660], eax
jle 0x1400302f0
lea rcx, [0x140079660]
call fcn.140035688
cmp dword [0x140079660], 0xffffffff
jne 0x1400302f0
mov rax, qword [0x1400795e0]
lea rcx, [0x140079660]
add rax, 0x108
mov qword [0x1400795b0], rax
call fcn.14003561c
mov eax, dword [rdi]
cmp dword [0x1400796a4], eax
jle 0x140030329
lea rcx, [0x1400796a4]
call fcn.140035688
cmp dword [0x1400796a4], 0xffffffff
jne 0x140030329
mov rax, qword [0x1400795b0]
lea rcx, [0x1400796a4]
mov qword [0x1400795f0], rax
call fcn.14003561c
mov eax, dword [rdi]
cmp dword [0x1400796d8], eax
jle 0x140030366
lea rcx, [0x1400796d8]
call fcn.140035688
cmp dword [0x1400796d8], 0xffffffff
jne 0x140030366
mov rax, qword [0x1400795e0]
lea rcx, [0x1400796d8]
movzx edx, word [rax + 6]
mov word [0x14007952c], dx
call fcn.14003561c
xchg byte [0x140079440], bl
mov r8, qword [0x1400795b0]
test bl, bl
jne 0x1400303f7
movzx eax, word [0x14007952c]
lea rcx, [rax + rax*4]
mov rax, qword [0x1400795f0]
lea r10, [rax + rcx*8]
cmp r8, r10
jae 0x1400303f7
mov qword [rbp + 0x37], rsi
movabs r11, 0x5e040c555656bf55
mov qword [rbp + 0x3f], r14
movdqa xmm1, xmmword [rbp + 0x37]
nop dword [rax]
mov qword [rbp - 9], r11
lea r9, [rbp - 9]
mov qword [rbp - 1], r14
mov rax, r8
movdqa xmm0, xmmword [rbp - 9]
sub r9, r8
xorps xmm0, xmm1
movdqa xmmword [rbp - 9], xmm0
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r9]
sub edx, ecx
jne 0x1400303e3
inc rax
test ecx, ecx
jne 0x1400303d0
test edx, edx
je 0x1400303f7
add r8, 0x28
mov qword [0x1400795b0], r8
cmp r8, r10
jb 0x1400303b0
mov eax, dword [rdi]
cmp dword [0x140079568], eax
jle 0x140030441
lea rcx, [0x140079568]
call fcn.140035688
cmp dword [0x140079568], 0xffffffff
jne 0x14003043a
mov rax, qword [0x1400795b0]
lea rcx, [0x140079568]
mov edx, dword [rax + 0xc]
add rdx, qword [0x1400796b0]
mov qword [0x1400794f8], rdx
call fcn.14003561c
mov r8, qword [0x1400795b0]
mov ecx, dword [r8 + 0x10]
mov r9, qword [0x1400794f8]
movdqa xmm0, xmmword [0x14006dde0]
movdqa xmm1, xmmword [0x14006ddb0]
mov dword [rbp + 0x27], 0x3f003f00
mov dword [rbp + 0x2b], 0x78483f00
lea r10, [r9 + rcx]
mov dword [rbp + 0x2f], 0x78c07885
mov rax, r10
mov word [rbp + 0x33], 0x780f
movdqu xmmword [rbp + 7], xmm0
movdqu xmmword [rbp + 0x17], xmm1
cmp rcx, 0x17
jb 0x1400304d9
lea r11, [r10 - 0x17]
nop dword [rax]
nop word [rax + rax]
mov rdx, r9
lea rax, [rbp + 7]
nop word [rax + rax]
movzx r8d, word [rax]
movzx ecx, r8w
shr cx, 8
cmp cl, 0x3f
je 0x1400304c6
cmp byte [rdx], r8b
jne 0x1400304e7
inc rdx
lea rcx, [rbp + 0x35]
add rax, 2
cmp rax, rcx
jne 0x1400304b0
mov rax, r9
xor ecx, ecx
cmp rax, r10
cmovne rcx, rax
mov rax, rcx
jmp 0x1400304f6
mov rax, r10
cmp r9, r11
je 0x1400304d9
inc r9
jmp 0x1400304a0
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140035550
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret