Function at 0x140030d60
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140075100]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword gs:[0x58]
movabs rsi, 0xe2fe1ebe4d8024b3
mov edi, 4
movabs rbp, 0xa7cef4eb5823ef28
mov ebx, 1
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x14007866c], eax
jle 0x140030e28
lea rcx, [0x14007866c]
call fcn.140036b28
cmp dword [0x14007866c], 0xffffffff
jne 0x140030e28
movabs rax, 0x8e906cd53eef50dd
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
movabs rax, 0xa7cef4eb3d5b8a06
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x28], rax
mov r8d, ebx
movdqa xmm0, xmmword [rsp + 0x20]
xor edx, edx
xorps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x14007866c]
mov qword [0x140078740], rax
call fcn.140036abc
mov eax, dword [rdi]
cmp dword [0x140078748], eax
jle 0x140030e61
lea rcx, [0x140078748]
call fcn.140036b28
cmp dword [0x140078748], 0xffffffff
jne 0x140030e61
mov rax, qword [0x140078740]
lea rcx, [0x140078748]
mov qword [0x1400786e0], rax
call fcn.140036abc
mov rax, qword [0x1400786e0]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400310e5
mov eax, dword [rdi]
cmp dword [0x1400785a0], eax
jle 0x140030eba
lea rcx, [0x1400785a0]
call fcn.140036b28
cmp dword [0x1400785a0], 0xffffffff
jne 0x140030eba
mov rax, qword [0x1400786e0]
lea rcx, [0x1400785a0]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x140078740]
mov qword [0x140078590], rdx
call fcn.140036abc
mov rax, qword [0x140078590]
cmp dword [rax], 0x4550
jne 0x1400310e5
mov eax, dword [rdi]
cmp dword [0x1400785e0], eax
jle 0x140030f0c
lea rcx, [0x1400785e0]
call fcn.140036b28
cmp dword [0x1400785e0], 0xffffffff
jne 0x140030f0c
mov rax, qword [0x140078590]
lea rcx, [0x1400785e0]
add rax, 0x108
mov qword [0x1400785e8], rax
call fcn.140036abc
mov eax, dword [rdi]
cmp dword [0x1400787a8], eax
jle 0x140030f45
lea rcx, [0x1400787a8]
call fcn.140036b28
cmp dword [0x1400787a8], 0xffffffff
jne 0x140030f45
mov rax, qword [0x1400785e8]
lea rcx, [0x1400787a8]
mov qword [0x1400786a0], rax
call fcn.140036abc
mov eax, dword [rdi]
cmp dword [0x1400785dc], eax
jle 0x140030f82
lea rcx, [0x1400785dc]
call fcn.140036b28
cmp dword [0x1400785dc], 0xffffffff
jne 0x140030f82
mov rax, qword [0x140078590]
lea rcx, [0x1400785dc]
movzx edx, word [rax + 6]
mov word [0x140078630], dx
call fcn.140036abc
xchg byte [0x1400784f1], bl
mov r8, qword [0x1400785e8]
test bl, bl
jne 0x14003101b
movzx eax, word [0x140078630]
lea rcx, [rax + rax*4]
mov rax, qword [0x1400786a0]
lea r10, [rax + rcx*8]
cmp r8, r10
jae 0x14003101b
mov qword [rsp + 0x50], rsi
movabs r11, 0xe2fe1ebe08c765e3
mov qword [rsp + 0x58], rbp
movdqa xmm1, xmmword [rsp + 0x50]
nop dword [rax]
mov qword [rsp + 0x30], r11
lea r9, [rsp + 0x30]
mov qword [rsp + 0x38], rbp
mov rax, r8
movdqa xmm0, xmmword [rsp + 0x30]
sub r9, r8
xorps xmm0, xmm1
movdqa xmmword [rsp + 0x30], xmm0
movzx edx, byte [rax]
movzx ecx, byte [rax + r9]
sub edx, ecx
jne 0x140031007
inc rax
test ecx, ecx
jne 0x140030ff4
test edx, edx
je 0x14003101b
add r8, 0x28
mov qword [0x1400785e8], r8
cmp r8, r10
jb 0x140030fd0
mov eax, dword [rdi]
cmp dword [0x14007879c], eax
jle 0x140031065
lea rcx, [0x14007879c]
call fcn.140036b28
cmp dword [0x14007879c], 0xffffffff
jne 0x14003105e
mov rax, qword [0x1400785e8]
lea rcx, [0x14007879c]
mov edx, dword [rax + 0xc]
add rdx, qword [0x140078740]
mov qword [0x140078790], rdx
call fcn.140036abc
mov r8, qword [0x1400785e8]
mov ecx, dword [r8 + 0x10]
mov r9, qword [0x140078790]
movdqa xmm0, xmmword [0x14006d2d0]
movdqu xmmword [rsp + 0x40], xmm0
lea r10, [r9 + rcx]
mov rax, r10
cmp rcx, 8
jb 0x1400310ca
lea r11, [r10 - 8]
nop
mov rdx, r9
lea rax, [rsp + 0x40]
nop dword [rax + rax]
movzx r8d, word [rax]
movzx ecx, r8w
shr cx, 8
cmp cl, 0x3f
je 0x1400310b6
cmp byte [rdx], r8b
jne 0x1400310d8
inc rdx
lea rcx, [rsp + 0x50]
add rax, 2
cmp rax, rcx
jne 0x1400310a0
mov rax, r9
xor ecx, ecx
cmp rax, r10
cmovne rcx, rax
mov rax, rcx
jmp 0x1400310e7
mov rax, r10
cmp r9, r11
je 0x1400310ca
inc r9
jmp 0x140031090
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400369f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret