Function at 0x1400494c0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x140120140]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov r15, rdx
mov r13, rcx
test rdx, rdx
je 0x140049826
mov ebx, 0xffff
mov word [rsp + 0x20], bx
movzx r10d, bx
cmp rdx, rbx
jae 0x140049516
movzx r10d, dx
mov word [rsp + 0x20], dx
jmp 0x140049542
cmp byte [rdx], 0x23
jne 0x140049542
lea rcx, [rdx + 1]
call fcn.1400c0c28
lea ecx, [rax - 1]
cmp ecx, 0xfffd
ja 0x14004953e
movzx r10d, ax
mov word [rsp + 0x20], r10w
mov r15d, r10d
jmp 0x140049542
movzx r10d, bx
test r13, r13
je 0x140049826
mov eax, 0x5a4d
cmp word [r13], ax
jne 0x140049826
movsxd rcx, dword [r13 + 0x3c]
mov rax, rcx
cmp dword [rcx + r13], 0x4550
jne 0x140049826
test ecx, ecx
jle 0x14004958c
cmp ecx, 0x10000000
jae 0x14004958c
lea r8, [r13 + 4]
add r8, rcx
lea rcx, [r13 + 0x18]
add rcx, rax
jmp 0x140049593
lea rcx, [r13 + 0x14]
mov r8, r13
movzx edx, word [rcx]
sub edx, 0x107
je 0x140049826
sub edx, 4
je 0x1400495ca
cmp edx, 0x100
jne 0x140049826
xor ebp, ebp
mov r14d, ebp
cmp dword [rcx + 0x6c], ebp
jbe 0x1400495fd
mov eax, dword [rcx + 0x70]
test eax, eax
je 0x1400495fd
mov r8d, dword [rcx + 0x74]
jmp 0x1400495df
xor ebp, ebp
mov r14d, ebp
cmp dword [rcx + 0x5c], ebp
jbe 0x1400495fd
mov eax, dword [rcx + 0x60]
test eax, eax
je 0x1400495fd
mov r8d, dword [rcx + 0x64]
test r8d, r8d
je 0x1400495fd
mov edx, dword [rcx + 0x3c]
lea rsi, [rax + r13]
test edx, edx
jne 0x1400495f2
mov rsi, rbp
test edx, edx
mov r14d, r8d
cmove r14d, ebp
jmp 0x140049600
mov rsi, rbp
test rsi, rsi
je 0x140049826
test r14d, r14d
je 0x140049826
mov edx, dword [rsi + 0x14]
test edx, edx
je 0x140049826
cmp r14d, 0x28
ja 0x14004963d
cmp edx, dword [rsi + 0x18]
mov eax, edx
cmovbe eax, dword [rsi + 0x18]
imul r14d, eax, 0xff
sub r14d, esi
add r14d, r13d
add r14d, dword [rsi + 0x24]
mov r11d, dword [rsi + 0x20]
mov r12d, ebp
mov r8d, dword [rsi + 0x1c]
add r11, r13
mov eax, dword [rsi + 0x24]
add r8, r13
add rax, r13
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x38], rax
test edx, edx
je 0x140049826
nop dword [rax + rax]
mov ecx, r12d
movzx r9d, word [rax + rcx*2]
mov edx, dword [r8 + r9*4]
test edx, edx
je 0x140049703
mov r8d, dword [r11 + rcx*4]
lea rdi, [rdx + r13]
add r8, r13
cmp rdi, rsi
jbe 0x1400497da
mov eax, r14d
add rax, rsi
cmp rdi, rax
jae 0x1400497da
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1400496b0
inc ebx
cmp ebx, 0x100
jae 0x1400496f9
mov r8d, ebx
lea rcx, [rsp + 0x40]
mov rdx, rdi
call fcn.1400afac0
mov ecx, ebp
test ebx, ebx
je 0x1400496ee
lea rax, [rsp + 0x40]
nop
cmp byte [rax], 0x2e
je 0x14004971a
inc ecx
inc rax
cmp ecx, ebx
jb 0x1400496e0
movzx r10d, word [rsp + 0x20]
mov r11, qword [rsp + 0x30]
mov ebx, 0xffff
mov r8, qword [rsp + 0x28]
inc r12d
cmp r12d, dword [rsi + 0x14]
jae 0x140049826
mov rax, qword [rsp + 0x38]
jmp 0x140049670
mov eax, ecx
cmp rax, 0x100
jae 0x140049853
lea ebx, [rcx + 1]
mov byte [rsp + rax + 0x40], 0
add rbx, rdi
je 0x1400496ee
cmp byte [rbx], 0x23
jne 0x14004979b
movzx r10d, word [rsp + 0x20]
lea rcx, [rbx + 1]
mov ebx, 0xffff
test rcx, rcx
je 0x14004981c
cmp r10w, bx
jae 0x14004981c
call fcn.1400c0c28
mov ebx, eax
lea ecx, [rbx - 1]
cmp ecx, 0xfffe
ja 0x1400496ee
movzx r10d, word [rsp + 0x20]
cmp ebx, r10d
jne 0x1400496f4
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
movzx edx, bx
mov r8b, 1
mov rcx, rax
call fcn.1400494c0
jmp 0x140049828
mov r8, rbx
mov rax, r15
sub r8, r15
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400497b7
inc rax
test ecx, ecx
jne 0x1400497a4
test edx, edx
jne 0x1400496ee
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r8b, 1
mov rdx, rbx
mov rcx, rax
call fcn.1400494c0
jmp 0x140049828
cmp r15, rbx
jbe 0x140049807
mov rax, r15
sub r8, r15
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140049803
inc rax
test ecx, ecx
jne 0x1400497f0
test edx, edx
je 0x140049817
lea ecx, [r9 + 1]
movzx eax, r10w
cmp ecx, eax
jne 0x1400496fe
mov rax, rdi
jmp 0x140049828
mov r11, qword [rsp + 0x30]
jmp 0x1400496fe
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400aad70
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400ab130
int3