Function at 0x1400611a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x160
mov rax, qword [0x14007f010]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x1400800a8], eax
jle 0x140061246
lea rcx, [0x1400800a8]
call fcn.1400644ec
cmp dword [0x1400800a8], 0xffffffff
jne 0x140061246
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 [0x1400800b8], rax
lea rcx, [0x1400800a8]
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 [0x14008007c], eax
jle 0x140061293
lea rcx, [0x14008007c]
call fcn.1400644ec
cmp dword [0x14008007c], 0xffffffff
jne 0x140061293
mov rax, qword [0x1400800b8]
mov qword [0x14007ffb0], rax
lea rcx, [0x14008007c]
call fcn.14006448c
mov rax, qword [0x14007ffb0]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400612ab
xor eax, eax
jmp 0x1400617c8
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14007fff4], eax
jle 0x140061309
lea rcx, [0x14007fff4]
call fcn.1400644ec
cmp dword [0x14007fff4], 0xffffffff
jne 0x140061309
mov rax, qword [0x14007ffb0]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [0x1400800b8]
add rcx, rax
mov rax, rcx
mov qword [0x14007ff58], rax
lea rcx, [0x14007fff4]
call fcn.14006448c
mov rax, qword [0x14007ff58]
cmp dword [rax], 0x4550
je 0x14006131f
xor eax, eax
jmp 0x1400617c8
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140080078], eax
jle 0x140061372
lea rcx, [0x140080078]
call fcn.1400644ec
cmp dword [0x140080078], 0xffffffff
jne 0x140061372
mov rax, qword [0x14007ff58]
add rax, 0x108
mov qword [0x14007fee0], rax
lea rcx, [0x140080078]
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 [0x14007ff08], eax
jle 0x1400613bf
lea rcx, [0x14007ff08]
call fcn.1400644ec
cmp dword [0x14007ff08], 0xffffffff
jne 0x1400613bf
mov rax, qword [0x14007fee0]
mov qword [0x1400800c8], rax
lea rcx, [0x14007ff08]
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 [0x14007fef8], eax
jle 0x140061410
lea rcx, [0x14007fef8]
call fcn.1400644ec
cmp dword [0x14007fef8], 0xffffffff
jne 0x140061410
mov rax, qword [0x14007ff58]
movzx eax, word [rax + 6]
mov word [0x1400800c0], ax
lea rcx, [0x14007fef8]
call fcn.14006448c
mov r8d, 5
mov dl, 1
lea rcx, [0x14007fdf1]
call fcn.140050910
movzx eax, al
test eax, eax
jne 0x1400614c3
jmp 0x140061443
mov rax, qword [0x14007fee0]
add rax, 0x28
mov qword [0x14007fee0], rax
movzx eax, word [0x1400800c0]
imul rax, rax, 0x28
mov rcx, qword [0x1400800c8]
add rcx, rax
mov rax, rcx
cmp qword [0x14007fee0], rax
jae 0x1400614c3
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 [0x14007fee0]
mov rcx, qword [0x14007fee0]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x1400614b3
inc rcx
test dl, dl
jne 0x1400614a0
xor eax, eax
jmp 0x1400614b8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400614be
jmp 0x1400614c3
jmp 0x140061431
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x1400800e0], eax
jle 0x140061520
lea rcx, [0x1400800e0]
call fcn.1400644ec
cmp dword [0x1400800e0], 0xffffffff
jne 0x140061520
mov rax, qword [0x14007fee0]
mov eax, dword [rax + 0xc]
mov rcx, qword [0x1400800b8]
add rcx, rax
mov rax, rcx
mov qword [0x14007ff28], rax
lea rcx, [0x1400800e0]
call fcn.14006448c
mov edx, 0x10
lea rcx, [rsp + 0x118]
call fcn.14004cb40
mov rax, qword [0x14007fee0]
mov eax, dword [rax + 0x10]
mov r8d, eax
mov rdx, qword [0x14007ff28]
lea rcx, [rsp + 0x118]
call fcn.14004d9b0
mov edx, 0x17
lea rcx, [rsp + 0x128]
call fcn.140063210
mov qword [rsp + 0x40], 0
jmp 0x14006157d
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0x17
jae 0x1400615dc
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x178]
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 0x140061570
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.140062bd0
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 0x1400617b1
mov qword [rsp + 0x48], 0
jmp 0x1400617c3
lea rcx, [rsp + 0x110]
call fcn.14004d920
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.140064080
add rsp, 0x160
pop rdi
ret