Function at 0x1400255a9
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push r15
push r14
mov rax, 0x5d
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x1400255c9
sub rsp, 0x28
call fcn.1400487c0
mov rdx, qword [rsp + 0x338]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.140048830
add rsp, 0x10
mov rdx, qword [rsp + 0x340]
lea rcx, [rsp + 0x30]
sub rsp, 0x10
call fcn.140048830
add rsp, 0x10
mov dword [0x1400ff001], 0x40000ac
mov dword [0x1400ff001], 0x40000ad
mov qword [rsp + 0x48], 0
mov dword [0x1400ff001], 0x40000b7
sub rsp, 0x18
mov rdx, 1
lea rax, [rsp + 0x2f0]
push rax
xor r9, r9
mov r8, 5
mov rcx, 4
sub rsp, 0x20
call fcn.14003f424
add rsp, 0x40
mov qword [rsp + 0x2d8], rax
mov dword [0x1400ff001], 0x40000b8
sub rsp, 0x18
mov rdx, 1
lea rax, [rsp + 0x300]
push rax
xor r9, r9
mov r8, 5
mov rcx, 4
sub rsp, 0x20
call fcn.14003f424
add rsp, 0x40
mov qword [rsp + 0x2e8], rax
mov dword [0x1400ff001], 0x40000b9
sub rsp, 0x18
mov rdx, 1
lea rax, [rsp + 0x310]
push rax
xor r9, r9
mov r8, 3
mov rcx, 2
sub rsp, 0x20
call fcn.14003f424
add rsp, 0x40
mov qword [rsp + 0x2f8], rax
mov dword [0x1400ff001], 0x40000bb
push qword [rsp + 0x330]
push 0
push 0x10
pop rcx
pop rdx
pop r8
call sub.KERNEL32.dll_OpenProcess
mov qword [rsp + 0x38], rax
mov dword [0x1400ff001], 0x40000bc
cmp qword [rsp + 0x38], 0
je 0x14002620e
mov dword [0x1400ff001], 0x40000bd
cmp qword [rsp + 0x348], 0
je 0x140025777
mov dword [0x1400ff001], 0x40000be
push qword [rsp + 0x348]
pop rax
mov qword [rsp + 0x40], rax
mov dword [0x1400ff001], 0x40000bf
jmp 0x1400257a2
mov dword [0x1400ff001], 0x40000bf
mov dword [0x1400ff001], 0x40000c0
push qword [rsp + 0x28]
push qword [rsp + 0x338]
pop rcx
pop rdx
call fcn.140025359
mov qword [rsp + 0x40], rax
mov dword [0x1400ff001], 0x40000c1
mov dword [0x1400ff001], 0x40000c3
cmp qword [rsp + 0x40], 0
je 0x1400257c3
xor rax, rax
jmp 0x1400257ca
mov rax, 1
and rax, rax
je 0x1400257de
mov dword [0x1400ff001], 0x40000c4
jmp 0x1400261b5
mov dword [0x1400ff001], 0x40000c5
mov dword [0x1400ff001], 0x40000c7
sub rsp, 8
push 0
push 0x40
lea rax, [rsp + 0x88]
mov rax, rax
push rax
push qword [rsp + 0x60]
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.KERNEL32.dll_ReadProcessMemory
add rsp, 0x30
and rax, rax
je 0x140025848
lea rbp, [rsp + 0x70]
movsx r15, word [rbp]
cmp r15, 0x5a4d
je 0x140025848
mov rax, 1
jmp 0x14002584b
xor rax, rax
and rax, rax
je 0x14002585f
mov dword [0x1400ff001], 0x40000c8
jmp 0x1400261b5
mov dword [0x1400ff001], 0x40000c9
mov dword [0x1400ff001], 0x40000cb
sub rsp, 8
push 0
push 4
lea rax, [rsp + 0xc8]
mov rax, rax
push rax
mov r15, qword [rsp + 0x60]
lea rbp, [rsp + 0x90]
movsxd rax, dword [rbp + 0x3c]
add r15, rax
mov rax, r15
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.KERNEL32.dll_ReadProcessMemory
add rsp, 0x30
and rax, rax
je 0x1400258db
movsxd r15, dword [rsp + 0xb0]
cmp r15, 0x4550
je 0x1400258db
mov rax, 1
jmp 0x1400258de
xor rax, rax
and rax, rax
je 0x1400258f2
mov dword [0x1400ff001], 0x40000cc
jmp 0x1400261b5
mov dword [0x1400ff001], 0x40000cd
mov dword [0x1400ff001], 0x40000cf
sub rsp, 8
push 0
push 0x14
lea rax, [rsp + 0xd0]
mov rax, rax
push rax
mov r15, qword [rsp + 0x60]
lea rbp, [rsp + 0x90]
movsxd rax, dword [rbp + 0x3c]
add r15, rax
add r15, 4
mov rax, r15
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.KERNEL32.dll_ReadProcessMemory
add rsp, 0x30
and rax, rax
je 0x14002595d
xor rax, rax
jmp 0x140025964
mov rax, 1
and rax, rax
je 0x140025978
mov dword [0x1400ff001], 0x40000d0
jmp 0x1400261b5
mov dword [0x1400ff001], 0x40000d1
mov dword [0x1400ff001], 0x40000d3
lea rbp, [rsp + 0xb8]
movsx r15, word [rbp + 0x10]
cmp r15, 0xf0
jne 0x1400259c0
mov dword [0x1400ff001], 0x40000d4
mov byte [rsp + 0xd0], 1
mov dword [0x1400ff001], 0x40000d5
jmp 0x140025a17
mov dword [0x1400ff001], 0x40000d5
lea rbp, [rsp + 0xb8]
movsx r15, word [rbp + 0x10]
cmp r15, 0xe0
jne 0x1400259fe
mov dword [0x1400ff001], 0x40000d6
mov byte [rsp + 0xd0], 0
mov dword [0x1400ff001], 0x40000d7
jmp 0x140025a17
mov dword [0x1400ff001], 0x40000d7
mov dword [0x1400ff001], 0x40000d8
jmp 0x1400261b5
mov dword [0x1400ff001], 0x40000d9
mov dword [0x1400ff001], 0x40000db
cmp byte [rsp + 0xd0], 0
je 0x140025af0
mov dword [0x1400ff001], 0x40000dc
sub rsp, 8
push 0
lea rbp, [rsp + 0xc8]
movsx rax, word [rbp + 0x10]
mov rax, rax
push rax
lea rax, [rsp + 0xf0]
mov rax, rax
push rax
mov r15, qword [rsp + 0x60]
lea rbp, [rsp + 0x90]
movsxd rax, dword [rbp + 0x3c]
add r15, rax
add r15, 0x18
mov rax, r15
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.KERNEL32.dll_ReadProcessMemory
add rsp, 0x30
and rax, rax
je 0x140025ac0
lea rbp, [rsp + 0xd8]
movsx r15, word [rbp]
cmp r15, 0x20b
je 0x140025ac0
mov rax, 1
jmp 0x140025ac3
xor rax, rax
and rax, rax
je 0x140025ad7
mov dword [0x1400ff001], 0x40000dd
jmp 0x1400261b5
mov dword [0x1400ff001], 0x40000de
mov dword [0x1400ff001], 0x40000df
jmp 0x140025ba2
mov dword [0x1400ff001], 0x40000df
mov dword [0x1400ff001], 0x40000e0
sub rsp, 8
push 0
lea rbp, [rsp + 0xc8]
movsx rax, word [rbp + 0x10]
mov rax, rax
push rax
lea rax, [rsp + 0x1e0]
mov rax, rax
push rax
mov r15, qword [rsp + 0x60]
lea rbp, [rsp + 0x90]
movsxd rax, dword [rbp + 0x3c]
add r15, rax
add r15, 0x18
mov rax, r15
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.KERNEL32.dll_ReadProcessMemory
add rsp, 0x30
and rax, rax
je 0x140025b81
lea rbp, [rsp + 0x1c8]
movsx r15, word [rbp]
cmp r15, 0x10b
je 0x140025b81
mov rax, 1
jmp 0x140025b84
xor rax, rax
and rax, rax
je 0x140025b98
mov dword [0x1400ff001], 0x40000e1
jmp 0x1400261b5
mov dword [0x1400ff001], 0x40000e2
mov dword [0x1400ff001], 0x40000e3
mov dword [0x1400ff001], 0x40000e5
cmp byte [rsp + 0xd0], 0
je 0x140025bdb
lea rbp, [rsp + 0xd8]
movsxd r15, dword [rbp + 0x6c]
cmp r15, 1
jl 0x140025bdb
mov rax, 1
jmp 0x140025bde
xor rax, rax
and rax, rax
je 0x140025c3c
mov dword [0x1400ff001], 0x40000e6
lea rbp, [rsp + 0xd8]
push rbp
pop rbp
movsxd rax, dword [rbp + 0x70]
push rax
lea rbp, [rsp + 0x2b0]
pop rax
mov dword [rbp], eax
mov dword [0x1400ff001], 0x40000e7
lea rbp, [rsp + 0xd8]
push rbp
pop rbp
movsxd rax, dword [rbp + 0x74]
push rax
lea rbp, [rsp + 0x2b0]
pop rax
mov dword [rbp + 4], eax
mov dword [0x1400ff001], 0x40000e8
jmp 0x140025cc7
mov dword [0x1400ff001], 0x40000e8
lea rbp, [rsp + 0x1c8]
movsxd r15, dword [rbp + 0x5c]
cmp r15, 1
jl 0x140025cae
mov dword [0x1400ff001], 0x40000e9
lea rbp, [rsp + 0x1c8]
push rbp
pop rbp
movsxd rax, dword [rbp + 0x60]
push rax
lea rbp, [rsp + 0x2b0]
pop rax
mov dword [rbp], eax
mov dword [0x1400ff001], 0x40000ea
lea rbp, [rsp + 0x1c8]
push rbp
pop rbp
movsxd rax, dword [rbp + 0x64]
push rax
lea rbp, [rsp + 0x2b0]
pop rax
mov dword [rbp + 4], eax
mov dword [0x1400ff001], 0x40000eb
jmp 0x140025cc7
mov dword [0x1400ff001], 0x40000eb
mov dword [0x1400ff001], 0x40000ec
jmp 0x1400261b5
mov dword [0x1400ff001], 0x40000ed
mov dword [0x1400ff001], 0x40000ef
sub rsp, 8
push 0
push 0x28
lea rax, [rsp + 0x2c8]
mov rax, rax
push rax
mov r15, qword [rsp + 0x60]
lea rbp, [rsp + 0x2c8]
movsxd rax, dword [rbp]
add r15, rax
mov rax, r15
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.KERNEL32.dll_ReadProcessMemory
add rsp, 0x30
and rax, rax
je 0x140025d2e
xor rax, rax
jmp 0x140025d35
mov rax, 1
and rax, rax
je 0x140025d49
mov dword [0x1400ff001], 0x40000f0
jmp 0x1400261b5
mov dword [0x1400ff001], 0x40000f1
mov dword [0x1400ff001], 0x40000f3
lea rbp, [rsp + 0x2b0]
movsxd rax, dword [rbp + 0x14]
inc rax
lea rdx, [rsp + 0x2d8]
mov rcx, rax
call fcn.14003f5bc
mov dword [0x1400ff001], 0x40000f4
lea rbp, [rsp + 0x2b0]
movsxd rax, dword [rbp + 0x18]
inc rax
lea rdx, [rsp + 0x2e8]
mov rcx, rax
call fcn.14003f5bc
mov dword [0x1400ff001], 0x40000f5
lea rbp, [rsp + 0x2b0]
movsxd rax, dword [rbp + 0x18]
inc rax
lea rdx, [rsp + 0x2f8]
mov rcx, rax
call fcn.14003f5bc
mov dword [0x1400ff001], 0x40000f7
sub rsp, 8
push 0
movsxd r15, dword [rbp + 0x14]
shl r15, 2
mov rax, r15
push rax
push qword [rsp + 0x2f0]
mov r15, qword [rsp + 0x60]
movsxd rax, dword [rbp + 0x1c]
add r15, rax
mov rax, r15
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.KERNEL32.dll_ReadProcessMemory
add rsp, 0x30
and rax, rax
je 0x140025e25
xor rax, rax
jmp 0x140025e2c
mov rax, 1
and rax, rax
je 0x140025e40
mov dword [0x1400ff001], 0x40000f8
jmp 0x1400261b5
mov dword [0x1400ff001], 0x40000f9
mov dword [0x1400ff001], 0x40000fb
sub rsp, 8
push 0
lea rbp, [rsp + 0x2c0]
movsxd r15, dword [rbp + 0x18]
shl r15, 2
mov rax, r15
push rax
push qword [rsp + 0x300]
mov r15, qword [rsp + 0x60]
movsxd rax, dword [rbp + 0x20]
add r15, rax
mov rax, r15
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.KERNEL32.dll_ReadProcessMemory
add rsp, 0x30
and rax, rax
je 0x140025ea9
xor rax, rax
jmp 0x140025eb0
mov rax, 1
and rax, rax
je 0x140025ec4
mov dword [0x1400ff001], 0x40000fc
jmp 0x1400261b5
mov dword [0x1400ff001], 0x40000fd
mov dword [0x1400ff001], 0x40000ff
sub rsp, 8
push 0
lea rbp, [rsp + 0x2c0]
movsxd r15, dword [rbp + 0x18]
add r15, r15
mov rax, r15
push rax
push qword [rsp + 0x310]
mov r15, qword [rsp + 0x60]
movsxd rax, dword [rbp + 0x24]
add r15, rax
mov rax, r15
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.KERNEL32.dll_ReadProcessMemory
add rsp, 0x30
and rax, rax
je 0x140025f2c
xor rax, rax
jmp 0x140025f33
mov rax, 1
and rax, rax
je 0x140025f47
mov dword [0x1400ff001], 0x4000100
jmp 0x1400261b5
mov dword [0x1400ff001], 0x4000101
mov dword [0x1400ff001], 0x4000103
mov qword [rsp + 0x50], 0
jmp 0x140025f70
mov dword [0x1400ff001], 0x4000103
lea rbp, [rsp + 0x2b0]
movsxd r15, dword [rbp + 0x18]
dec r15
cmp r15, qword [rsp + 0x50]
jl 0x1400261b5
mov dword [0x1400ff001], 0x4000104
movabs rdx, 0x1400ff276
lea rcx, [rsp + 0x68]
call fcn.140048600
mov dword [0x1400ff001], 0x4000105
mov qword [rsp + 0x58], 0
mov dword [0x1400ff001], 0x4000107
mov dword [0x1400ff001], 0x4000108
sub rsp, 8
push 0
push 1
lea rax, [rsp + 0x78]
mov rax, rax
push rax
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x308]
shl r14, 2
movsxd rax, dword [r14 + rbp]
add r15, rax
add r15, qword [rsp + 0x78]
mov rax, r15
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.KERNEL32.dll_ReadProcessMemory
add rsp, 0x30
and rax, rax
je 0x14002602d
xor rax, rax
jmp 0x140026034
mov rax, 1
and rax, rax
je 0x140026048
mov dword [0x1400ff001], 0x4000109
jmp 0x1400261b5
mov dword [0x1400ff001], 0x400010a
mov dword [0x1400ff001], 0x400010c
movzx r15, byte [rsp + 0x60]
xor rax, rax
cmp r15, rax
jne 0x140026085
mov dword [0x1400ff001], 0x400010d
jmp 0x140026130
mov dword [0x1400ff001], 0x400010e
mov dword [0x1400ff001], 0x400010f
mov rcx, qword [rsp + 0x68]
push rcx
sub rsp, 0x28
call fcn.1400483a0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400483f0
add rsp, 0x28
push rcx
sub rsp, 0x20
call fcn.1400483a0
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.1400483a0
add rsp, 0x28
pop rcx
push rax
movzx rax, byte [rsp + 0x78]
mov rax, rax
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140046330
add rsp, 0x20
pop rax
lea rcx, [rsp + 0x70]
pop rdx
call fcn.140048460
mov dword [0x1400ff001], 0x4000110
mov dword [0x1400ff001], 0x4000112
mov r15, qword [rsp + 0x58]
inc r15
mov qword [rsp + 0x58], r15
mov dword [0x1400ff001], 0x4000113
jmp 0x140025fbb
mov dword [0x1400ff001], 0x4000115
push qword [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
pop rdx
call fcn.140048540
or rax, rax
je 0x140026196
mov dword [0x1400ff001], 0x4000116
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x2f8]
add r14, r14
movsx r14, word [r14 + rbp]
mov rbp, qword [rsp + 0x2d8]
shl r14, 2
movsxd rax, dword [r14 + rbp]
add r15, rax
mov qword [rsp + 0x48], r15
mov dword [0x1400ff001], 0x4000117
jmp 0x1400261b5
mov dword [0x1400ff001], 0x4000118
mov dword [0x1400ff001], 0x4000119
inc qword [rsp + 0x50]
jno 0x140025f66
mov dword [0x1400ff001], 0x400011c
push qword [rsp + 0x38]
pop rcx
call sub.KERNEL32.dll_CloseHandle
mov dword [0x1400ff001], 0x400011d
push qword [rsp + 0x2d8]
pop rcx
call fcn.14003f6dc
mov dword [0x1400ff001], 0x400011e
push qword [rsp + 0x2e8]
pop rcx
call fcn.14003f6dc
mov dword [0x1400ff001], 0x400011f
push qword [rsp + 0x2f8]
pop rcx
call fcn.14003f6dc
mov dword [0x1400ff001], 0x4000120
mov dword [0x1400ff001], 0x4000122
mov rax, qword [rsp + 0x48]
jmp 0x140026236
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400488a0
add rsp, 0x28
mov rcx, qword [rsp + 0x70]
sub rsp, 0x28
call fcn.1400488a0
add rsp, 0x28
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.1400488a0
add rsp, 0x28
mov rcx, qword [rsp + 0x2e0]
sub rsp, 0x28
call fcn.14003f6e4
add rsp, 0x28
mov rcx, qword [rsp + 0x2f0]
sub rsp, 0x28
call fcn.14003f6e4
add rsp, 0x28
mov rcx, qword [rsp + 0x300]
sub rsp, 0x28
call fcn.14003f6e4
add rsp, 0x28
pop rax
add rsp, 0x310
pop r14
pop r15
pop rbp
ret