Function at 0x4054a0
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x00415400]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x60], 0
mov byte [rsp + 0x88], 0
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x31], 3
mov byte [rsp + 0x32], 5
mov byte [rsp + 0x33], 8
mov byte [rsp + 0x34], 6
mov byte [rsp + 0x35], 9
mov byte [rsp + 0x36], 0xc
mov byte [rsp + 0x37], 7
mov byte [rsp + 0x38], 0xd
mov byte [rsp + 0x39], 0xa
mov byte [rsp + 0x3a], 0xe
mov byte [rsp + 0x3b], 4
mov byte [rsp + 0x3c], 1
mov byte [rsp + 0x3d], 0xf
mov byte [rsp + 0x3e], 0xb
mov byte [rsp + 0x3f], 2
mov byte [rsp + 0x40], 0
mov byte [rsp + 0x41], 0xc
mov byte [rsp + 0x42], 0xf
mov byte [rsp + 0x43], 1
mov byte [rsp + 0x44], 0xb
mov byte [rsp + 0x45], 2
mov byte [rsp + 0x46], 4
mov byte [rsp + 0x47], 7
mov byte [rsp + 0x48], 3
mov byte [rsp + 0x49], 5
mov byte [rsp + 0x4a], 9
mov byte [rsp + 0x4b], 0xe
mov byte [rsp + 0x4c], 6
mov byte [rsp + 0x4d], 8
mov byte [rsp + 0x4e], 0xa
mov byte [rsp + 0x4f], 0xd
mov qword [rsp + 0x58], 0x19
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
and rax, 0x3f
movzx edx, al
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x118]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x40]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xc8]
mov rdx, qword [rax + 0x40]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x138]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x140]
mov rcx, qword [rsp + 0x50]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x20], 0
jne 0x4056a1
mov rax, qword [rsp + 0x68]
not rax
mov qword [rsp + 0x90], rax
jmp 0x4056c0
mov rax, qword [rsp + 0xc0]
movsxd rax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x68]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
and rax, 0x3f
movzx edx, al
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x120]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x40]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x70], 0
jmp 0x40571b
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0x10
jae 0x405789
mov dl, 4
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x120]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
and rax, 0xf
movzx eax, byte [rsp + rax + 0x30]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x78]
and rax, 0xfffffffffffffff0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
movzx eax, byte [rsp + 0x88]
test eax, eax
je 0x405787
jmp 0x405789
jmp 0x40570e
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x40]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x78]
mov qword [rax + rcx*8], rdx
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0x19
jne 0x405855
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x58]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x60]
mov rcx, qword [rcx + 8]
mov rax, qword [rax + 8]
xor rax, rcx
mov rcx, qword [rsp + 0xc8]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x38]
mov rcx, qword [rsp + 0x78]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
shr rax, 0x20
mov qword [rsp + 0x58], rax
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x58]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
add rax, 0x19
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
shl rax, 3
mov rcx, qword [rsp + 0xc8]
mov qword [rcx + 0x48], rax
mov byte [rsp + 0x88], 1
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x20], rax
jb 0x4055f1
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x40]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rax + 0x10]
xor rax, rcx
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 0x40]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x40]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rax + 0x18]
xor rax, rcx
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 0x40]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x40]
add rax, 0x10
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xc8]
add rax, 0x68
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.00409450
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x40]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rax + 0x10]
xor rax, rcx
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 0x40]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x40]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rax + 0x18]
xor rax, rcx
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 0x40]
mov qword [rcx + 0x18], rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [0x0040f420]
call sub.ntoskrnl.exe_DbgPrint
mov qword [rsp + 0x20], 0
mov byte [rsp + 0x88], 0
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
and rax, 0x3f
movzx edx, al
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x118]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x40]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], 0
jmp 0x4059db
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0x10
jae 0x405a49
mov rax, qword [rsp + 0x78]
and rax, 0xf
movzx eax, byte [rsp + rax + 0x40]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x78]
and rax, 0xfffffffffffffff0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov dl, 4
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x118]
mov qword [rsp + 0x78], rax
movzx eax, byte [rsp + 0x88]
test eax, eax
je 0x405a47
jmp 0x405a49
jmp 0x4059ce
mov rax, qword [rsp + 0xc8]
mov rdx, qword [rax + 0x40]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x138]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x78]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x140]
mov rcx, qword [rsp + 0x50]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x20], 0
jne 0x405ad5
mov rax, qword [rsp + 0x78]
not rax
mov qword [rsp + 0x98], rax
jmp 0x405af4
mov rax, qword [rsp + 0xc0]
movsxd rax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x78]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
and rax, 0x3f
movzx edx, al
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x120]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x40]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x40]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x78]
mov qword [rax + rcx*8], rdx
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0x19
jne 0x405b6e
mov byte [rsp + 0x88], 1
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x20], rax
jb 0x4059a9
mov rcx, qword [rsp + 0xa0]
call fcn.0040d430
add rsp, 0xb8
ret