Function at 0x401cd0
Capabilities:
Link many functions at runtime
Map section object

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x448
mov rax, qword [0x004408f0]
mov qword [rsp + 0x438], rax
mov dword [rsp + 0x2f0], 0
mov qword [rsp + 0x128], 0
mov qword [rsp + 0x428], 0
mov dword [rsp + 0x2c0], 0
lea rax, [rsp + 0x2c8]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov dword [rsp + 0x1f8], 0
lea rax, [rsp + 0x1fc]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
lea rax, [rsp + 0x200]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov qword [rsp + 0x240], 0
mov qword [rsp + 0x320], 0
mov qword [rsp + 0x2a8], 0
mov qword [rsp + 0x1f0], 0
mov dword [rsp + 0x180], 0
mov qword [rsp + 0x178], 0
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x420], 0
mov qword [rsp + 0x2a0], 0
mov qword [rsp + 0x170], 0
mov word [rsp + 0x308], 0
lea rax, [rsp + 0x30a]
mov rdi, rax
xor eax, eax
mov ecx, 0xe
rep stosb byte [rdi], al
mov qword [rsp + 0x238], 0
mov qword [rsp + 0x300], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x318], 0
mov qword [rsp + 0x418], 0
lea rax, [rsp + 0x208]
lea rcx, [0x00433ba0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x30
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2b0]
lea rcx, [0x00433b90]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xc0]
lea rcx, [0x00433b50]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x3f
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x140]
lea rcx, [0x00433b20]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x2a
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x3e0]
lea rcx, [0x00433ae0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x36
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x110]
lea rcx, [0x00433ac0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1c0]
lea rcx, [0x00433a90]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x2a
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x130]
lea rcx, [0x00433a80]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x380]
lea rcx, [0x00433a20]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x51
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x250]
lea rcx, [0x004339d0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x42
rep movsb byte [rdi], byte [rsi]
movabs rax, 0x7c8b483024748b48
mov qword [rsp + 0x330], rax
movabs rax, 0x333824548b4c2824
mov qword [rsp + 0x338], rax
movabs rax, 0x8ea8349028949c0
mov qword [rsp + 0x340], rax
movabs rax, 0x7c8948f473d43b4c
mov qword [rsp + 0x348], rax
movabs rax, 0xe88bf88bd88b2824
mov qword [rsp + 0x350], rax
movabs rax, 0x8b4cd88b4cd08b4c
mov qword [rsp + 0x358], rax
movabs rax, 0x4cf08b4ce88b4ce0
mov qword [rsp + 0x360], rax
movabs rax, 0xcccccccce6fff88b
mov qword [rsp + 0x368], rax
lea rax, [rsp + 0x60]
lea rcx, [0x00433970]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x5d
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x188]
lea rcx, [0x00433930]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x33
rep movsb byte [rdi], byte [rsi]
movabs rax, 0xc3c18b48d1bb0f48
mov qword [rsp + 0x2f8], rax
lea rax, [0x00433900]
mov qword [rsp + 0x370], rax
lea rax, [0x004338d0]
mov qword [rsp + 0x378], rax
mov rax, qword [rsp + 0x460]
add rax, 0xf0
mov rcx, rax
call fcn.00403440
mov rax, qword [rsp + 0x460]
add rax, 0x100
mov rcx, rax
call fcn.00403470
mov dword [rsp + 0x2c0], 0x30
mov qword [rsp + 0x2c8], 0
mov dword [rsp + 0x2d8], 0x240
mov rax, qword [rsp + 0x460]
mov rax, qword [rax - 0x6f8]
add rax, 0x48
mov qword [rsp + 0x2d0], rax
mov qword [rsp + 0x2e0], 0
mov qword [rsp + 0x2e8], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 5
lea r9, [rsp + 0x1f8]
lea r8, [rsp + 0x2c0]
mov edx, 0x20
lea rcx, [rsp + 0x128]
call sub.ntoskrnl.exe_ZwOpenFile
mov dword [rsp + 0x2f0], eax
cmp dword [rsp + 0x2f0], 0
jl 0x402b80
mov dword [rsp + 0x2c0], 0x30
mov qword [rsp + 0x2c8], 0
mov dword [rsp + 0x2d8], 0x240
mov qword [rsp + 0x2d0], 0
mov qword [rsp + 0x2e0], 0
mov qword [rsp + 0x2e8], 0
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1000000
mov dword [rsp + 0x20], 0x10
xor r9d, r9d
lea r8, [rsp + 0x2c0]
mov edx, 0xc
lea rcx, [rsp + 0x428]
call sub.ntoskrnl.exe_ZwCreateSection
mov dword [rsp + 0x2f0], eax
cmp dword [rsp + 0x2f0], 0
jl 0x402b73
mov dword [rsp + 0x48], 0x10
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x320]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x240]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x428]
call sub.ntoskrnl.exe_ZwMapViewOfSection
mov dword [rsp + 0x2f0], eax
cmp dword [rsp + 0x2f0], 0
jl 0x402b66
mov rax, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x240]
mov rax, qword [rax - 0x570]
sub rax, rcx
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x240]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0x208]
mov rdx, rax
mov rcx, qword [rsp + 0x240]
call fcn.00423210
mov qword [rsp + 0x2a8], rax
cmp qword [rsp + 0x2a8], 0
je 0x402483
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x1f0], rax
mov dl, 0x41
mov rax, qword [rsp + 0x1f0]
movzx ecx, byte [rax]
call fcn.004323b0
movzx eax, al
test eax, eax
je 0x402483
mov dl, 0xff
mov rax, qword [rsp + 0x1f0]
movzx ecx, byte [rax + 1]
call fcn.004323b0
movzx eax, al
test eax, eax
je 0x402483
mov dl, 0xe0
mov rax, qword [rsp + 0x1f0]
movzx ecx, byte [rax + 2]
call fcn.004323b0
movzx eax, al
test eax, eax
je 0x402483
mov rcx, qword [rsp + 0x1f0]
call fcn.004322a0
mov dword [rsp + 0x180], eax
mov rax, qword [rsp + 0x460]
cmp dword [rax + 8], 0
jne 0x40240c
cmp dword [rsp + 0x180], 8
jne 0x40240c
mov dl, 0x48
mov rax, qword [rsp + 0x1f0]
movzx ecx, byte [rax]
call fcn.004323b0
movzx eax, al
test eax, eax
jne 0x40240c
mov dl, 0x31
mov rax, qword [rsp + 0x1f0]
movzx ecx, byte [rax + 1]
call fcn.004323b0
movzx eax, al
test eax, eax
jne 0x40240c
mov dl, 0x84
mov rax, qword [rsp + 0x1f0]
movzx ecx, byte [rax + 2]
call fcn.004323b0
movzx eax, al
test eax, eax
jne 0x40240c
mov dl, 0xca
mov rax, qword [rsp + 0x1f0]
movzx ecx, byte [rax + 3]
call fcn.004323b0
movzx eax, al
test eax, eax
jne 0x40240c
mov rax, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x1f0]
mov ecx, dword [rcx + 4]
mov dword [rax + 8], ecx
mov dl, 0x48
mov rax, qword [rsp + 0x1f0]
movzx ecx, byte [rax + 0xb]
call fcn.004323b0
movzx eax, al
test eax, eax
je 0x402401
mov dl, 0xf
mov rax, qword [rsp + 0x1f0]
movzx ecx, byte [rax + 0xc]
call fcn.004323b0
movzx eax, al
test eax, eax
je 0x402401
mov dl, 0xbb
mov rax, qword [rsp + 0x1f0]
movzx ecx, byte [rax + 0xd]
call fcn.004323b0
movzx eax, al
test eax, eax
je 0x402401
mov dl, 0xc0
mov rax, qword [rsp + 0x1f0]
movzx ecx, byte [rax + 0xe]
call fcn.004323b0
movzx eax, al
test eax, eax
jne 0x40240c
mov rax, qword [rsp + 0x460]
mov byte [rax], 1
cmp dword [rsp + 0x180], 6
jne 0x402461
mov dl, 0x8b
mov rax, qword [rsp + 0x1f0]
movzx ecx, byte [rax]
call fcn.004323b0
movzx eax, al
test eax, eax
jne 0x402461
mov dl, 0x82
mov rax, qword [rsp + 0x1f0]
movzx ecx, byte [rax + 1]
call fcn.004323b0
movzx eax, al
test eax, eax
jne 0x402461
mov rax, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x1f0]
mov ecx, dword [rcx + 2]
mov dword [rax + 4], ecx
jmp 0x402483
mov eax, dword [rsp + 0x180]
mov rcx, qword [rsp + 0x1f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1f0], rax
jmp 0x40227f
mov rax, qword [rsp + 0x460]
cmp dword [rax - 0x69c], 0x47ba
jl 0x4024cf
mov rax, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x240]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0x250]
mov rdx, rax
mov rcx, qword [rsp + 0x240]
call fcn.00423210
mov qword [rsp + 0x2a8], rax
jmp 0x402505
mov rax, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x240]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0x380]
mov rdx, rax
mov rcx, qword [rsp + 0x240]
call fcn.00423210
mov qword [rsp + 0x2a8], rax
cmp qword [rsp + 0x2a8], 0
je 0x40262f
mov rax, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x2a8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x460]
sub rax, 0x570
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x1f0]
call sub.ntoskrnl.exe_RtlLookupFunctionEntry
mov qword [rsp + 0x2a0], rax
cmp qword [rsp + 0x2a0], 0
je 0x4025b7
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x460]
mov rcx, qword [rcx - 0x570]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x170]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x460]
add rax, 0x38
mov r8d, 0x18
mov rdx, qword [rsp + 0x1f0]
mov rcx, rax
call fcn.004319d0
mov rdx, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x240]
call fcn.004223c0
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x108], 0
je 0x40262f
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x108]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0x10], ecx
jbe 0x40260b
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x430], eax
jmp 0x40261d
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 8]
mov dword [rsp + 0x430], eax
mov rax, qword [rsp + 0x460]
mov ecx, dword [rsp + 0x430]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x2a8], rax
cmp qword [rsp + 0x2a8], 0
je 0x402a21
mov rax, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x240]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0x2b0]
mov rdx, rax
mov rcx, qword [rsp + 0x2a8]
call fcn.00423210
mov qword [rsp + 0x2a8], rax
cmp qword [rsp + 0x2a8], 0
je 0x402a1a
mov rax, qword [rsp + 0x460]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x2a8]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0xc0]
mov rdx, rax
mov rcx, qword [rsp + 0x2a8]
call fcn.00423210
mov qword [rsp + 0x1f0], rax
cmp qword [rsp + 0x1f0], 0
je 0x402a05
mov rax, qword [rsp + 0x1f0]
movsxd rax, dword [rax - 4]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x1f0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x460]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x1f0]
movsxd rax, dword [rax + 0xa]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x1f0]
lea rax, [rcx + rax + 0xe]
mov rcx, qword [rsp + 0x460]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x1f0]
movsxd rax, dword [rax + 0x18]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x1f0]
lea rax, [rcx + rax + 0x1c]
mov rcx, qword [rsp + 0x460]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x1f0]
movsxd rax, dword [rax + 0x26]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x1f0]
lea rax, [rcx + rax + 0x2a]
mov rcx, qword [rsp + 0x460]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x460]
cmp dword [rax - 0x69c], 0x23f0
jl 0x40290d
xor eax, eax
cmp eax, 1
je 0x40290d
mov rax, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x240]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0x140]
mov rdx, rax
mov rcx, qword [rsp + 0x1f0]
call fcn.00423210
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
movsxd rax, dword [rax + 3]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x1f0]
lea rax, [rcx + rax + 7]
mov qword [rsp + 0x418], rax
mov rax, qword [rsp + 0x460]
mov rax, qword [rax - 0x5d0]
cmp qword [rsp + 0x418], rax
jne 0x4028f5
mov rax, qword [rsp + 0x1f0]
movsxd rax, dword [rax + 0x1f]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x1f0]
lea rax, [rcx + rax + 0x23]
mov qword [rsp + 0x418], rax
mov rax, qword [rsp + 0x460]
add rax, 0xa8
mov r8d, 8
lea rdx, [rsp + 0x418]
mov rcx, rax
call fcn.004319d0
mov rax, qword [rsp + 0x1f0]
movsxd rax, dword [rax + 0x2d]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x1f0]
lea rax, [rcx + rax + 0x31]
mov qword [rsp + 0x418], rax
mov rax, qword [rsp + 0x460]
add rax, 0xb0
mov r8d, 8
lea rdx, [rsp + 0x418]
mov rcx, rax
call fcn.004319d0
jmp 0x40290d
mov rax, qword [rsp + 0x1f0]
inc rax
mov qword [rsp + 0x1f0], rax
jmp 0x4027c0
xor eax, eax
cmp eax, 1
je 0x402a03
mov rax, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x240]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0x140]
mov rdx, rax
mov rcx, qword [rsp + 0x1f0]
call fcn.00423210
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
movsxd rax, dword [rax + 3]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x1f0]
lea rax, [rcx + rax + 7]
mov qword [rsp + 0x418], rax
mov rax, qword [rsp + 0x460]
mov rax, qword [rax - 0x728]
cmp qword [rsp + 0x418], rax
jne 0x4029eb
mov rax, qword [rsp + 0x1f0]
movsxd rax, dword [rax - 0xb]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x1f0]
lea rax, [rcx + rax - 7]
mov qword [rsp + 0x418], rax
mov rax, qword [rsp + 0x460]
sub rax, 0x710
mov r8d, 8
lea rdx, [rsp + 0x418]
mov rcx, rax
call fcn.004319d0
jmp 0x402a03
mov rax, qword [rsp + 0x1f0]
inc rax
mov qword [rsp + 0x1f0], rax
jmp 0x40290d
jmp 0x402a21
mov rax, qword [rsp + 0x2a8]
inc rax
mov qword [rsp + 0x2a8], rax
jmp 0x402a1c
jmp 0x402a21
jmp 0x40263f
mov rax, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x240]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0x3e0]
mov rdx, rax
mov rcx, qword [rsp + 0x240]
call fcn.00423210
mov qword [rsp + 0x2a8], rax
cmp qword [rsp + 0x2a8], 0
je 0x402a97
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x1f0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x460]
mov qword [rcx + 0x98], rax
mov rax, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x240]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0x110]
mov rdx, rax
mov rcx, qword [rsp + 0x240]
call fcn.00423210
mov qword [rsp + 0x2a8], rax
cmp qword [rsp + 0x2a8], 0
je 0x402b52
mov rax, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x2a8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x460]
sub rax, 0x570
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x1f0]
call sub.ntoskrnl.exe_RtlLookupFunctionEntry
mov qword [rsp + 0x2a0], rax
cmp qword [rsp + 0x2a0], 0
je 0x402b52
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x460]
add rax, qword [rcx - 0x570]
mov rcx, qword [rsp + 0x460]
mov qword [rcx + 0x90], rax
mov rdx, qword [rsp + 0x240]
mov rcx, 0xffffffffffffffff
call sub.ntoskrnl.exe_ZwUnmapViewOfSection
mov rcx, qword [rsp + 0x428]
call sub.ntoskrnl.exe_ZwClose
mov rcx, qword [rsp + 0x128]
call sub.ntoskrnl.exe_ZwClose
lea rdx, [0x004338c0]
mov rax, qword [rsp + 0x460]
mov rcx, qword [rax - 0x570]
call fcn.00422530
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x108], 0
je 0x402fff
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x460]
add rax, qword [rcx - 0x570]
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x108]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0x10], ecx
jbe 0x402c00
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x434], eax
jmp 0x402c12
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 8]
mov dword [rsp + 0x434], eax
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x460]
mov rcx, qword [rcx - 0x570]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x434]
add rax, rcx
mov qword [rsp + 0x420], rax
xor eax, eax
cmp eax, 1
je 0x402fff
lea r8, [rsp + 0x1c0]
mov rdx, qword [rsp + 0x420]
mov rcx, qword [rsp + 0x2a8]
call fcn.00423210
mov qword [rsp + 0x2a8], rax
cmp qword [rsp + 0x2a8], 0
je 0x402fe5
mov rax, qword [rsp + 0x2a8]
add rax, 0x40
lea r8, [rsp + 0x130]
mov rdx, rax
mov rcx, qword [rsp + 0x2a8]
call fcn.00423210
test rax, rax
je 0x402fe3
mov rax, qword [rsp + 0x2a8]
movsxd rax, dword [rax + 0xe]
mov rcx, qword [rsp + 0x2a8]
lea rax, [rcx + rax + 0x12]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x460]
add rax, 0x68
mov r8d, 8
lea rdx, [rsp + 0x1f0]
mov rcx, rax
call fcn.004319d0
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x1f0], rax
xor eax, eax
cmp eax, 1
je 0x402fe1
mov rcx, qword [rsp + 0x1f0]
call fcn.004322a0
mov dword [rsp + 0x180], eax
cmp dword [rsp + 0x180], 1
jne 0x402d4a
mov dl, 0xc3
mov rax, qword [rsp + 0x1f0]
movzx ecx, byte [rax]
call fcn.004323b0
movzx eax, al
test eax, eax
jne 0x402d4a
jmp 0x402fe1
cmp dword [rsp + 0x180], 7
jne 0x402f1a
mov rax, qword [rsp + 0x1f0]
movsx eax, byte [rax]
and eax, 0xf0
cmp eax, 0x40
jne 0x402e99
mov dl, 0x8b
mov rax, qword [rsp + 0x1f0]
movzx ecx, byte [rax + 1]
call fcn.004323b0
movzx eax, al
test eax, eax
jne 0x402e4b
cmp qword [rsp + 0x300], 0
jne 0x402ded
mov rax, qword [rsp + 0x1f0]
movsxd rax, dword [rax + 3]
mov rcx, qword [rsp + 0x1f0]
lea rax, [rcx + rax + 7]
mov qword [rsp + 0x300], rax
mov rax, qword [rsp + 0x300]
cmp qword [rax], 0
je 0x402ddf
mov rax, qword [rsp + 0x300]
mov rax, qword [rax]
and rax, 0xfff
test rax, rax
je 0x402deb
mov qword [rsp + 0x300], 0
jmp 0x402e49
cmp qword [rsp + 0x100], 0
jne 0x402e49
mov rax, qword [rsp + 0x1f0]
movsxd rax, dword [rax + 3]
mov rcx, qword [rsp + 0x1f0]
lea rax, [rcx + rax + 7]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
cmp qword [rax], 0
je 0x402e3d
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
and rax, 0xfff
test rax, rax
je 0x402e49
mov qword [rsp + 0x100], 0
jmp 0x402e99
mov dl, 0x8d
mov rax, qword [rsp + 0x1f0]
movzx ecx, byte [rax + 1]
call fcn.004323b0
movzx eax, al
test eax, eax
jne 0x402e99
mov rax, qword [rsp + 0x460]
cmp qword [rax + 0x60], 0
jne 0x402e99
mov rax, qword [rsp + 0x1f0]
movsxd rax, dword [rax + 3]
mov rcx, qword [rsp + 0x1f0]
lea rax, [rcx + rax + 7]
mov rcx, qword [rsp + 0x460]
mov qword [rcx + 0x60], rax
mov dl, 0xf
mov rax, qword [rsp + 0x1f0]
movzx ecx, byte [rax]
call fcn.004323b0
movzx eax, al
test eax, eax
jne 0x402f1a
mov dl, 0xd
mov rax, qword [rsp + 0x1f0]
movzx ecx, byte [rax + 1]
call fcn.004323b0
movzx eax, al
test eax, eax
jne 0x402f1a
mov dl, 0xd
mov rax, qword [rsp + 0x1f0]
movzx ecx, byte [rax + 2]
call fcn.004323b0
movzx eax, al
test eax, eax
jne 0x402f1a
mov rax, qword [rsp + 0x460]
cmp qword [rax + 0x60], 0
jne 0x402f1a
mov rax, qword [rsp + 0x1f0]
movsxd rax, dword [rax + 3]
mov rcx, qword [rsp + 0x1f0]
lea rax, [rcx + rax + 7]
mov rcx, qword [rsp + 0x460]
mov qword [rcx + 0x60], rax
cmp qword [rsp + 0x300], 0
je 0x402fbf
cmp qword [rsp + 0x100], 0
je 0x402fbf
mov rax, qword [rsp + 0x460]
cmp qword [rax + 0x60], 0
je 0x402fbf
mov rax, qword [rsp + 0x300]
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx]
cmp qword [rax], rcx
jbe 0x402f8f
mov rax, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x300]
mov rcx, qword [rcx]
mov qword [rax + 0x50], rcx
mov rax, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx]
mov qword [rax + 0x58], rcx
jmp 0x402fbd
mov rax, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx]
mov qword [rax + 0x50], rcx
mov rax, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x300]
mov rcx, qword [rcx]
mov qword [rax + 0x58], rcx
jmp 0x402fe1
mov eax, dword [rsp + 0x180]
mov rcx, qword [rsp + 0x1f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1f0], rax
jmp 0x402d03
jmp 0x402fff
jmp 0x402fe7
jmp 0x402fff
mov rax, qword [rsp + 0x2a8]
inc rax
mov qword [rsp + 0x2a8], rax
jmp 0x402c44
lea rdx, [0x00433880]
lea rcx, [rsp + 0x308]
call sub.ntoskrnl.exe_RtlInitUnicodeString
lea rcx, [rsp + 0x308]
call sub.ntoskrnl.exe_MmGetSystemRoutineAddress
mov qword [rsp + 0x238], rax
cmp qword [rsp + 0x238], 0
jne 0x40305c
lea rdx, [0x00433840]
lea rcx, [rsp + 0x308]
call sub.ntoskrnl.exe_RtlInitUnicodeString
lea rcx, [rsp + 0x308]
call sub.ntoskrnl.exe_MmGetSystemRoutineAddress
mov qword [rsp + 0x238], rax
cmp qword [rsp + 0x238], 0
je 0x4031df
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0x2a8], rax
xor eax, eax
cmp eax, 1
je 0x4031df
mov rcx, qword [rsp + 0x2a8]
call fcn.004322a0
mov dword [rsp + 0x180], eax
cmp dword [rsp + 0x180], 1
jne 0x4030c2
mov dl, 0xc3
mov rax, qword [rsp + 0x2a8]
movzx ecx, byte [rax]
call fcn.004323b0
movzx eax, al
test eax, eax
jne 0x4030c2
jmp 0x4031df
cmp dword [rsp + 0x180], 7
jne 0x4031bd
mov dl, 0x48
mov rax, qword [rsp + 0x2a8]
movzx ecx, byte [rax]
call fcn.004323b0
movzx eax, al
test eax, eax
jne 0x4031bd
mov dl, 0x8d
mov rax, qword [rsp + 0x2a8]
movzx ecx, byte [rax + 1]
call fcn.004323b0
movzx eax, al
test eax, eax
jne 0x4031bd
mov dl, 0xd
mov rax, qword [rsp + 0x2a8]
movzx ecx, byte [rax + 2]
call fcn.004323b0
movzx eax, al
test eax, eax
jne 0x4031bd
mov rax, qword [rsp + 0x2a8]
movsxd rax, dword [rax + 3]
mov rcx, qword [rsp + 0x2a8]
lea rax, [rcx + rax + 7]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x318], rax
mov rax, qword [rsp + 0x318]
mov eax, dword [rax]
shl eax, 3
mov eax, eax
mov rcx, qword [rsp + 0x460]
mov qword [rcx + 0x70], rax
mov rax, qword [rsp + 0x460]
cmp dword [rax - 0x69c], 0x2580
jge 0x4031a3
mov rax, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x318]
mov rcx, qword [rcx + 0x18]
mov qword [rax + 0x78], rcx
jmp 0x4031bb
mov rax, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x318]
mov rcx, qword [rcx + 0x10]
mov qword [rax + 0x78], rcx
jmp 0x4031df
mov eax, dword [rsp + 0x180]
mov rcx, qword [rsp + 0x2a8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2a8], rax
jmp 0x40307b
lea rdx, [0x00433810]
lea rcx, [rsp + 0x308]
call sub.ntoskrnl.exe_RtlInitUnicodeString
lea rcx, [rsp + 0x308]
call sub.ntoskrnl.exe_MmGetSystemRoutineAddress
mov rcx, qword [rsp + 0x460]
mov qword [rcx + 0xc0], rax
lea rdx, [0x004337e0]
lea rcx, [rsp + 0x308]
call sub.ntoskrnl.exe_RtlInitUnicodeString
lea rcx, [rsp + 0x308]
call sub.ntoskrnl.exe_MmGetSystemRoutineAddress
mov rcx, qword [rsp + 0x460]
mov qword [rcx + 0xc8], rax
lea rdx, [0x004337c0]
lea rcx, [rsp + 0x308]
call sub.ntoskrnl.exe_RtlInitUnicodeString
lea rcx, [rsp + 0x308]
call sub.ntoskrnl.exe_MmGetSystemRoutineAddress
mov rcx, qword [rsp + 0x460]
mov qword [rcx + 0xd0], rax
mov rax, qword [rsp + 0x460]
mov qword [rax + 0x10], 0x40
mov rax, qword [rsp + 0x460]
add rax, 0x118
mov rcx, qword [rsp + 0x460]
mov qword [rcx + 0xb8], rax
mov r8d, 0x40
lea rdx, [rsp + 0x330]
mov rax, qword [rsp + 0x460]
mov rcx, qword [rax + 0xb8]
call fcn.004319d0
mov rax, qword [rsp + 0x460]
add rax, 0x158
mov rcx, qword [rsp + 0x460]
mov qword [rcx + 0xd8], rax
mov rax, qword [rsp + 0x460]
add rax, 0x158
mov r8d, 8
lea rdx, [rsp + 0x2f8]
mov rcx, rax
call fcn.004319d0
mov rax, qword [rsp + 0x460]
add rax, 0x1e0
mov rcx, qword [rsp + 0x460]
mov qword [rcx + 0xe8], rax
mov rax, qword [rsp + 0x460]
add rax, 0x1e0
mov r8d, pe_nt_image_headers64
lea rdx, section..text
mov rcx, rax
call fcn.004319d0
mov rax, qword [rsp + 0x460]
add rax, 0x2e0
mov rcx, qword [rsp + 0x460]
mov qword [rcx + 0xe0], rax
mov rax, qword [rsp + 0x460]
add rax, 0x2e0
mov r8d, 0x1000
lea rdx, [0x004010b0]
mov rcx, rax
call fcn.004319d0
mov rax, qword [rsp + 0x460]
add rax, 0x160
mov rcx, qword [rsp + 0x460]
mov qword [rcx + 0x108], rax
mov rcx, qword [rsp + 0x370]
call sub.ntoskrnl.exe_strlen
mov r8, rax
mov rdx, qword [rsp + 0x370]
mov rax, qword [rsp + 0x460]
mov rcx, qword [rax + 0x108]
call fcn.004319d0
mov rcx, qword [rsp + 0x370]
call sub.ntoskrnl.exe_strlen
mov rcx, qword [rsp + 0x460]
lea rax, [rcx + rax + 0x161]
mov rcx, qword [rsp + 0x460]
mov qword [rcx + 0x110], rax
mov rcx, qword [rsp + 0x378]
call sub.ntoskrnl.exe_strlen
mov r8, rax
mov rdx, qword [rsp + 0x378]
mov rax, qword [rsp + 0x460]
mov rcx, qword [rax + 0x110]
call fcn.004319d0
mov rcx, qword [rsp + 0x438]
call fcn.00432250
add rsp, 0x448
pop rdi
pop rsi
ret