Function at 0x140030650
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
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140077100]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword gs:[0x58]
movabs rsi, 0x721ab687e02b07d9
mov edi, 4
mov ebx, 1
movabs r14, 0x7d20800213009c66
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x14007a540], eax
jle 0x140030717
lea rcx, [0x14007a540]
call fcn.1400365b8
cmp dword [0x14007a540], 0xffffffff
jne 0x140030717
movabs rax, 0x1e74c4ec934473b7
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x50]
movabs rax, 0x7d2080027678f948
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x48], rax
mov r8d, ebx
movdqa xmm0, xmmword [rbp - 0x50]
xor edx, edx
xorps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x14007a540]
mov qword [0x14007a5b0], rax
call fcn.14003654c
mov eax, dword [rdi]
cmp dword [0x14007a6bc], eax
jle 0x140030750
lea rcx, [0x14007a6bc]
call fcn.1400365b8
cmp dword [0x14007a6bc], 0xffffffff
jne 0x140030750
mov rax, qword [0x14007a5b0]
lea rcx, [0x14007a6bc]
mov qword [0x14007a7e8], rax
call fcn.14003654c
mov rax, qword [0x14007a7e8]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400309e4
mov eax, dword [rdi]
cmp dword [0x14007a5bc], eax
jle 0x1400307a9
lea rcx, [0x14007a5bc]
call fcn.1400365b8
cmp dword [0x14007a5bc], 0xffffffff
jne 0x1400307a9
mov rax, qword [0x14007a7e8]
lea rcx, [0x14007a5bc]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x14007a5b0]
mov qword [0x14007a528], rdx
call fcn.14003654c
mov rax, qword [0x14007a528]
cmp dword [rax], 0x4550
jne 0x1400309e4
mov eax, dword [rdi]
cmp dword [0x14007a660], eax
jle 0x1400307fb
lea rcx, [0x14007a660]
call fcn.1400365b8
cmp dword [0x14007a660], 0xffffffff
jne 0x1400307fb
mov rax, qword [0x14007a528]
lea rcx, [0x14007a660]
add rax, 0x108
mov qword [0x14007a6f0], rax
call fcn.14003654c
mov eax, dword [rdi]
cmp dword [0x14007a618], eax
jle 0x140030834
lea rcx, [0x14007a618]
call fcn.1400365b8
cmp dword [0x14007a618], 0xffffffff
jne 0x140030834
mov rax, qword [0x14007a6f0]
lea rcx, [0x14007a618]
mov qword [0x14007a5f8], rax
call fcn.14003654c
mov eax, dword [rdi]
cmp dword [0x14007a5d0], eax
jle 0x140030871
lea rcx, [0x14007a5d0]
call fcn.1400365b8
cmp dword [0x14007a5d0], 0xffffffff
jne 0x140030871
mov rax, qword [0x14007a528]
lea rcx, [0x14007a5d0]
movzx edx, word [rax + 6]
mov word [0x14007a644], dx
call fcn.14003654c
xchg byte [0x14007a4e8], bl
mov r8, qword [0x14007a6f0]
test bl, bl
jne 0x140030907
movzx eax, word [0x14007a644]
lea rcx, [rax + rax*4]
mov rax, qword [0x14007a5f8]
lea r10, [rax + rcx*8]
cmp r8, r10
jae 0x140030907
mov qword [rbp - 0x20], rsi
movabs r11, 0x721ab687a56c4689
mov qword [rbp - 0x18], r14
movdqa xmm1, xmmword [rbp - 0x20]
nop dword [rax + rax]
mov qword [rbp - 0x40], r11
lea r9, [rbp - 0x40]
mov qword [rbp - 0x38], r14
mov rax, r8
movdqa xmm0, xmmword [rbp - 0x40]
sub r9, r8
xorps xmm0, xmm1
movdqa xmmword [rbp - 0x40], xmm0
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r9]
sub edx, ecx
jne 0x1400308f3
inc rax
test ecx, ecx
jne 0x1400308e0
test edx, edx
je 0x140030907
add r8, 0x28
mov qword [0x14007a6f0], r8
cmp r8, r10
jb 0x1400308c0
mov eax, dword [rdi]
cmp dword [0x14007a778], eax
jle 0x140030951
lea rcx, [0x14007a778]
call fcn.1400365b8
cmp dword [0x14007a778], 0xffffffff
jne 0x14003094a
mov rax, qword [0x14007a6f0]
lea rcx, [0x14007a778]
mov edx, dword [rax + 0xc]
add rdx, qword [0x14007a5b0]
mov qword [0x14007a760], rdx
call fcn.14003654c
mov r8, qword [0x14007a6f0]
mov ecx, dword [r8 + 0x10]
mov r9, qword [0x14007a760]
mov dword [rbp - 0x30], 0x78037866
mov dword [rbp - 0x2c], 0x784878d2
mov dword [rbp - 0x28], 0x780d788d
lea r10, [r9 + rcx]
mov rax, r10
cmp rcx, 6
jb 0x1400309c9
lea r11, [r10 - 6]
nop dword [rax]
nop word [rax + rax]
mov rdx, r9
lea rax, [rbp - 0x30]
nop word [rax + rax]
movzx r8d, word [rax]
movzx ecx, r8w
shr cx, 8
cmp cl, 0x3f
je 0x1400309b6
cmp byte [rdx], r8b
jne 0x1400309d7
inc rdx
lea rcx, [rbp - 0x24]
add rax, 2
cmp rax, rcx
jne 0x1400309a0
mov rax, r9
xor ecx, ecx
cmp rax, r10
cmovne rcx, rax
mov rax, rcx
jmp 0x1400309e6
mov rax, r10
cmp r9, r11
je 0x1400309c9
inc r9
jmp 0x140030990
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140036480
lea r11, [rsp + 0x70]
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