Function at 0x404e3b
Capabilities:
64-bit execution via heavens gate

Disassembly:
mov edi, edi
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [0x449058]
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], ecx
push edi
push 0x440a70
mov dword [ebp - 4], edi
mov dword [ebp - 8], 0xc0000001
mov dword [0x436708], eax
call fcn.00417fb1
pop ecx
pop ecx
test eax, eax
jne 0x4191a7
mov ecx, dword [0x448df8]
test ecx, ecx
je 0x4191b2
mov edx, dword [0x448e00]
push edi
call fcn.00408e9e
xor eax, eax
mov dword [0x436714], edi
inc eax
mov dword [0x436770], edi
push 0x24
mov dword [0x43670c], eax
mov dword [0x436704], eax
mov dword [0x42e0d4], eax
mov eax, dword [0x4367bc]
pop ecx
mov dword [0x43676c], edi
mov dword [0x436768], edi
mov dword [0x436710], eax
call fcn.0040dcd0
mov esi, eax
test esi, esi
je 0x4191bc
mov dword [esi], edi
push 0x24
mov dword [esi + 0x1c], edi
pop ecx
mov dword [ebp - 0x18], esi
mov dword [esi + 0x20], edi
call fcn.0040dcd0
mov edi, eax
test edi, edi
je 0x4191bc
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword [edi], eax
mov edx, esi
mov dword [edi + 0x1c], eax
push edi
mov dword [ebp - 0x1c], edi
mov dword [edi + 0x20], eax
call fcn.00405b93
push 0
push 4
lea eax, [ebp - 0x14]
push eax
push 0x27
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov dword [ebp - 8], eax
test eax, eax
js 0x404f4c
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 2
push eax
push 0x27
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtSetInformationProcess]
cmp dword [0x436704], 4
mov edx, edi
mov ecx, esi
je 0x4191ce
call fcn.00413eb3
mov esi, eax
mov dword [ebp - 4], esi
push dword [0x436714]
mov edi, 0x448e30
push 0x401f94
push 0x104
push edi
call fcn.00409abf
push edi
push 1
push 0x2336
call fcn.004063bd
movzx eax, byte [0x449058]
add esp, 0x1c
mov dword [0x436708], eax
cmp dword [ebp - 8], 0
jl 0x404fb4
push 4
lea eax, [ebp - 0x14]
push eax
push 0x27
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtSetInformationProcess]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx - 8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ecx - 4]
in al, 0x8b
inc ecx
cld
mov dword [ebp - 0x18], eax
jmp 0x4191c9
inc ebp
in al, 0
add byte [eax], al
add bh, al
inc ebp
call 0x4191c9
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], ecx
movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x58], edx
cmp dword [ebp + 0xc], 0
jle 0x4191fe
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 8]
add ecx, 8
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx - 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [edx - 4]
mov dword [ebp - 0x20], ecx
jmp 0x41920c
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x60], eax
cmp dword [ebp + 0xc], 0
jle 0x419241
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 8]
add edx, 8
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [eax - 4]
mov dword [ebp - 0x28], edx
jmp 0x41924f
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov edx, dword [ebp - 8]
add edx, 8
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
sub eax, 8
xor ecx, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp + 0xc]
cdq
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + eax - 0x3c]
xor edx, edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0xc], 0
xor eax, eax
mov word [ebp - 4], ax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 0xc], esp
and esp, 0xfffffff0
push 0x33
call 0x4192d2
add dword [esp], 5
retf