Function at 0x140060ad0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x150
mov rax, qword [0x14007f010]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14007fef0], eax
jle 0x140060b76
lea rcx, [0x14007fef0]
call fcn.1400644ec
cmp dword [0x14007fef0], 0xffffffff
jne 0x140060b76
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x30]
call fcn.14005dc60
mov rcx, rax
call fcn.14005fe40
mov r8d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x140080058], rax
lea rcx, [0x14007fef0]
call fcn.14006448c
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14007fedc], eax
jle 0x140060bc3
lea rcx, [0x14007fedc]
call fcn.1400644ec
cmp dword [0x14007fedc], 0xffffffff
jne 0x140060bc3
mov rax, qword [0x140080058]
mov qword [0x140080020], rax
lea rcx, [0x14007fedc]
call fcn.14006448c
mov rax, qword [0x140080020]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140060bdb
xor eax, eax
jmp 0x1400610f8
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14007fff0], eax
jle 0x140060c39
lea rcx, [0x14007fff0]
call fcn.1400644ec
cmp dword [0x14007fff0], 0xffffffff
jne 0x140060c39
mov rax, qword [0x140080020]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [0x140080058]
add rcx, rax
mov rax, rcx
mov qword [0x140080040], rax
lea rcx, [0x14007fff0]
call fcn.14006448c
mov rax, qword [0x140080040]
cmp dword [rax], 0x4550
je 0x140060c4f
xor eax, eax
jmp 0x1400610f8
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14007ff30], eax
jle 0x140060ca2
lea rcx, [0x14007ff30]
call fcn.1400644ec
cmp dword [0x14007ff30], 0xffffffff
jne 0x140060ca2
mov rax, qword [0x140080040]
add rax, 0x108
mov qword [0x140080030], rax
lea rcx, [0x14007ff30]
call fcn.14006448c
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14007ffb8], eax
jle 0x140060cef
lea rcx, [0x14007ffb8]
call fcn.1400644ec
cmp dword [0x14007ffb8], 0xffffffff
jne 0x140060cef
mov rax, qword [0x140080030]
mov qword [0x1400800d8], rax
lea rcx, [0x14007ffb8]
call fcn.14006448c
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14007ffd8], eax
jle 0x140060d40
lea rcx, [0x14007ffd8]
call fcn.1400644ec
cmp dword [0x14007ffd8], 0xffffffff
jne 0x140060d40
mov rax, qword [0x140080040]
movzx eax, word [rax + 6]
mov word [0x1400800c4], ax
lea rcx, [0x14007ffd8]
call fcn.14006448c
mov r8d, 5
mov dl, 1
lea rcx, [0x14007fdf0]
call fcn.140050910
movzx eax, al
test eax, eax
jne 0x140060df3
jmp 0x140060d73
mov rax, qword [0x140080030]
add rax, 0x28
mov qword [0x140080030], rax
movzx eax, word [0x1400800c4]
imul rax, rax, 0x28
mov rcx, qword [0x1400800d8]
add rcx, rax
mov rax, rcx
cmp qword [0x140080030], rax
jae 0x140060df3
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x31]
call fcn.140061120
mov rcx, rax
call fcn.14005fdc0
mov rcx, qword [0x140080030]
mov rcx, qword [0x140080030]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x140060de3
inc rcx
test dl, dl
jne 0x140060dd0
xor eax, eax
jmp 0x140060de8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140060dee
jmp 0x140060df3
jmp 0x140060d61
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14007ff88], eax
jle 0x140060e50
lea rcx, [0x14007ff88]
call fcn.1400644ec
cmp dword [0x14007ff88], 0xffffffff
jne 0x140060e50
mov rax, qword [0x140080030]
mov eax, dword [rax + 0xc]
mov rcx, qword [0x140080058]
add rcx, rax
mov rax, rcx
mov qword [0x140080088], rax
lea rcx, [0x14007ff88]
call fcn.14006448c
mov edx, 0x10
lea rcx, [rsp + 0x118]
call fcn.14004cb40
mov rax, qword [0x140080030]
mov eax, dword [rax + 0x10]
mov r8d, eax
mov rdx, qword [0x140080088]
lea rcx, [rsp + 0x118]
call fcn.14004d9b0
mov edx, 0xa
lea rcx, [rsp + 0x128]
call fcn.140063210
mov qword [rsp + 0x40], 0
jmp 0x140060ead
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xa
jae 0x140060f0c
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x168]
add rdx, rcx
mov rcx, rdx
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0x37]
call fcn.140063260
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x128]
call fcn.140062bb0
lea rdx, [rsp + 0x37]
mov rcx, rax
call fcn.1400631c0
jmp 0x140060ea0
mov edx, 8
lea rcx, [rsp + 0x110]
call fcn.14004cb40
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x33], al
movzx eax, byte [rsp + 0x33]
mov byte [rsp + 0x34], al
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x35], al
movzx eax, byte [rsp + 0x35]
mov byte [rsp + 0x36], al
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x128]
call fcn.140062c30
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x128]
call fcn.140062c00
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x118]
call fcn.140062f80
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x118]
call fcn.140062fb0
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x58], rax
movzx eax, byte [rsp + 0x36]
mov byte [rsp + 0x28], al
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xc8]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x110]
call fcn.1400632a0
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x118]
call fcn.140062f80
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.1400551b0
movzx eax, al
test eax, eax
je 0x1400610e1
mov qword [rsp + 0x48], 0
jmp 0x1400610f3
lea rcx, [rsp + 0x110]
call fcn.14004d920
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140064080
add rsp, 0x150
pop rdi
ret