Function at 0x414040
Capabilities:
Hide graphical window
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0xf8
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov edi, r9d
mov rsi, rcx
mov ebx, 0x64
mov r9d, ebx
lea r8, [0x0042b220]
lea edx, [rbx + 3]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, ebx
lea rbx, [0x0042b310]
mov r8, rbx
lea edx, [r9 + 9]
mov rcx, rsi
call qword [sym.imp.USER32.dll_LoadStringW]
mov dword [rsp + 0x60], 0x50
mov dword [rsp + 0x64], 3
lea rax, [0x004147c8]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
mov qword [rsp + 0x78], rsi
mov edx, 0x6b
mov rcx, rsi
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x80], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 6
mov qword [rsp + 0x98], 0x6d
mov qword [rsp + 0xa0], rbx
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_RegisterClassExW]
lea rcx, [rsp + 0x60]
call fcn.00401044
mov ebp, 0x10
cmp qword [rax + 0x20], rbp
jb 0x414132
mov rcx, qword [rax + 8]
jmp 0x414136
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x0042b210], rax
cmp qword [rsp + 0x80], rbp
jb 0x414157
mov rcx, qword [rsp + 0x68]
call fcn.00415a70
lea rcx, [rsp + 0x60]
call fcn.00408840
cmp qword [rax + 0x20], rbp
jb 0x41416d
mov rcx, qword [rax + 8]
jmp 0x414171
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x0042b308], rax
cmp qword [rsp + 0x80], rbp
jb 0x414192
mov rcx, qword [rsp + 0x68]
call fcn.00415a70
mov qword [0x0042b218], rsi
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000080
lea r8, [0x0042b220]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rbx, rax
mov edx, edi
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.00413c58
lea rcx, [rsp + 0x60]
call fcn.004090d8
nop
cmp qword [rax + 0x20], rbp
jb 0x414224
mov rdx, qword [rax + 8]
jmp 0x414228
lea rdx, [rax + 8]
mov rcx, qword [0x0042b308]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
mov rdx, qword [0x0042b300]
xor ecx, ecx
call rax
nop
cmp qword [rsp + 0x80], rbp
jb 0x414258
mov rcx, qword [rsp + 0x68]
call fcn.00415a70
lea rcx, [rsp + 0x60]
call fcn.00409ea0
nop
cmp qword [rax + 0x20], rbp
jb 0x41426f
mov rdx, qword [rax + 8]
jmp 0x414273
lea rdx, [rax + 8]
mov rcx, qword [0x0042b210]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
mov edx, 0x800
mov rcx, qword [0x0042b300]
call rax
nop
cmp qword [rsp + 0x80], rbp
jb 0x4142a6
mov rcx, qword [rsp + 0x68]
call fcn.00415a70
lea rcx, [rsp + 0x60]
call fcn.0040ac68
nop
cmp qword [rax + 0x20], rbp
jb 0x4142bd
mov rdi, qword [rax + 8]
jmp 0x4142c1
lea rdi, [rax + 8]
call qword [sym.imp.USER32.dll_GetProcessWindowStation]
mov rbx, rax
mov rdx, rdi
mov rcx, qword [0x0042b308]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
mov rdx, qword [0x0042b300]
mov rcx, rbx
call rax
nop
cmp qword [rsp + 0x80], rbp
jb 0x4142fe
mov rcx, qword [rsp + 0x68]
call fcn.00415a70
lea rcx, [rsp + 0x60]
call fcn.0040b790
nop
cmp qword [rax + 0x20], rbp
jb 0x414315
mov rdi, qword [rax + 8]
jmp 0x414319
lea rdi, [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetThreadDesktop]
mov rbx, rax
mov rdx, rdi
mov rcx, qword [0x0042b308]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
mov rdx, qword [0x0042b300]
mov rcx, rbx
call rax
nop
cmp qword [rsp + 0x80], rbp
jb 0x41435e
mov rcx, qword [rsp + 0x68]
call fcn.00415a70
lea rcx, [rsp + 0x60]
call fcn.0040c6c8
nop
cmp qword [rax + 0x20], rbp
jb 0x414375
mov rdx, qword [rax + 8]
jmp 0x414379
lea rdx, [rax + 8]
mov rcx, qword [0x0042b210]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
mov rcx, qword [0x0042b300]
call rax
nop
cmp qword [rsp + 0x80], rbp
jb 0x4143a6
mov rcx, qword [rsp + 0x68]
call fcn.00415a70
lea rcx, [rsp + 0x60]
call fcn.0040d700
nop
cmp qword [rax + 0x20], rbp
jb 0x4143bd
mov rdx, qword [rax + 8]
jmp 0x4143c1
lea rdx, [rax + 8]
mov rcx, qword [0x0042b210]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 1
mov rcx, qword [0x0042b300]
call rax
nop
cmp qword [rsp + 0x80], rbp
jb 0x4143f1
mov rcx, qword [rsp + 0x68]
call fcn.00415a70
lea rcx, [rsp + 0x60]
call fcn.0040e738
nop
cmp qword [rax + 0x20], rbp
jb 0x414408
mov rdx, qword [rax + 8]
jmp 0x41440c
lea rdx, [rax + 8]
mov rcx, qword [0x0042b210]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8, qword [0x0042b300]
xor edx, edx
mov ecx, ebp
call rax
nop
cmp qword [rsp + 0x80], rbp
jb 0x41443b
mov rcx, qword [rsp + 0x68]
call fcn.00415a70
lea rcx, [rsp + 0x60]
call fcn.0040f420
nop
cmp qword [rax + 0x20], rbp
jb 0x414452
mov rdx, qword [rax + 8]
jmp 0x414456
lea rdx, [rax + 8]
mov rcx, qword [0x0042b210]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
lea edx, [r8 + 2]
mov rcx, qword [0x0042b300]
call rax
nop
cmp qword [rsp + 0x80], rbp
jb 0x414488
mov rcx, qword [rsp + 0x68]
call fcn.00415a70
lea rcx, [rsp + 0x60]
call fcn.00410748
nop
cmp qword [rax + 0x20], rbp
jb 0x41449f
mov rdx, qword [rax + 8]
jmp 0x4144a3
lea rdx, [rax + 8]
mov rcx, qword [0x0042b210]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
mov rcx, qword [0x0042b300]
call rax
nop
cmp qword [rsp + 0x80], rbp
jb 0x4144d0
mov rcx, qword [rsp + 0x68]
call fcn.00415a70
lea rcx, [rsp + 0x60]
call fcn.00411680
nop
cmp qword [rax + 0x20], rbp
jb 0x4144e7
mov rdx, qword [rax + 8]
jmp 0x4144eb
lea rdx, [rax + 8]
mov rcx, qword [0x0042b308]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
mov rdx, qword [0x0042b300]
xor ecx, ecx
call rax
nop
cmp qword [rsp + 0x80], rbp
jb 0x41451b
mov rcx, qword [rsp + 0x68]
call fcn.00415a70
lea rcx, [rsp + 0x60]
call fcn.00412528
nop
cmp qword [rax + 0x20], rbp
jb 0x414532
mov rdx, qword [rax + 8]
jmp 0x414536
lea rdx, [rax + 8]
mov rcx, qword [0x0042b210]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
lea edx, [r8 + 4]
mov rcx, qword [0x0042b300]
call rax
nop
cmp qword [rsp + 0x80], rbp
jb 0x414568
mov rcx, qword [rsp + 0x68]
call fcn.00415a70
lea rcx, [rsp + 0x60]
call fcn.004132f0
nop
cmp qword [rax + 0x20], rbp
jb 0x41457f
mov rdx, qword [rax + 8]
jmp 0x414583
lea rdx, [rax + 8]
mov rcx, qword [0x0042b308]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
mov rcx, qword [0x0042b300]
call rax
nop
cmp qword [rsp + 0x80], rbp
jb 0x4145b0
mov rcx, qword [rsp + 0x68]
call fcn.00415a70
mov edx, 0x6d
mov rcx, rsi
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rbx, rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x41462e
lea r8, [rsp + 0xb0]
mov rdx, rbx
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x414614
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x4145db
mov eax, dword [rsp + 0xc0]
add rsp, 0xf8
pop rdi
pop rsi
pop rbp
pop rbx
ret