Function at 0x40113b
Capabilities:
Hide graphical window

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x110
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov eax, 0x53
mov byte [rbp - 0x14], al
mov eax, 0x69
mov byte [rbp - 0x13], al
mov eax, 0x6d
mov byte [rbp - 0x12], al
mov eax, 0x70
mov byte [rbp - 0x11], al
mov eax, 0x6c
mov byte [rbp - 0x10], al
mov eax, 0x65
mov byte [rbp - 0xf], al
mov eax, 0x20
mov byte [rbp - 0xe], al
mov eax, 0x57
mov byte [rbp - 0xd], al
mov eax, 0x69
mov byte [rbp - 0xc], al
mov eax, 0x6e
mov byte [rbp - 0xb], al
mov eax, 0x64
mov byte [rbp - 0xa], al
mov eax, 0x6f
mov byte [rbp - 9], al
mov eax, 0x77
mov byte [rbp - 8], al
mov eax, 0x20
mov byte [rbp - 7], al
mov eax, 0x43
mov byte [rbp - 6], al
mov eax, 0x6c
mov byte [rbp - 5], al
mov eax, 0x61
mov byte [rbp - 4], al
mov eax, 0x73
mov byte [rbp - 3], al
mov eax, 0x73
mov byte [rbp - 2], al
mov eax, 0
mov byte [rbp - 1], al
movabs rax, 0x48
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
lea rax, [0x004014e8]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x14]
mov qword [rbp - 0x20], rax
mov eax, 0
mov r10, rax
mov rcx, r10
call sub.gdi32.dll_CreateSolidBrush
mov qword [rbp - 0x30], rax
movabs rax, 0x7f00
mov r11, rax
movabs rax, 0
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_LoadCursorA
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
call sub.user32.dll_RegisterClassA
movzx eax, ax
cmp eax, 0
je 0x40128a
jmp 0x4012c8
mov eax, 0x30
mov r9, rax
lea rax, [0x0040309c]
mov r8, rax
lea rax, str.Window_Registration_Failed_
mov r11, rax
movabs rax, 0
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_MessageBoxA
mov eax, 0
jmp 0x4014e6
mov eax, 0xeb
mov dword [rbp - 0x64], eax
mov eax, 0x7d
mov dword [rbp - 0x68], eax
mov eax, 0
mov r10, rax
mov rcx, r10
call sub.user32.dll_GetSystemMetrics
mov ecx, dword [rbp - 0x64]
sub eax, ecx
mov ecx, 2
cdq
idiv ecx
mov dword [rbp - 0x6c], eax
mov eax, 1
mov r10, rax
mov rcx, r10
call sub.user32.dll_GetSystemMetrics
mov ecx, dword [rbp - 0x68]
sub eax, ecx
mov ecx, 2
cdq
idiv ecx
mov dword [rbp - 0x70], eax
movabs rax, 0
mov qword [rsp + 0x58], rax
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x50], rax
movabs rax, 0
mov qword [rsp + 0x48], rax
movabs rax, 0
mov qword [rsp + 0x40], rax
mov eax, dword [rbp - 0x68]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp - 0x64]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp - 0x6c]
mov qword [rsp + 0x20], rax
mov eax, 0xca0000
mov r9, rax
lea rax, str.a_mimir
mov r8, rax
lea rax, [rbp - 0x14]
mov r11, rax
mov eax, 1
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_CreateWindowExA
mov qword [rbp - 0x78], rax
mov rax, qword [rbp - 0x78]
cmp rax, 0
jne 0x4013ea
mov eax, 0x30
mov r9, rax
lea rax, [0x004030c2]
mov r8, rax
lea rax, str.Window_Creation_Failed_
mov r11, rax
movabs rax, 0
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_MessageBoxA
mov eax, 0
jmp 0x4014e6
mov rax, qword [rbp - 0x78]
mov r10, rax
mov rcx, r10
call fcn.00401000
cmp eax, 0
je 0x401407
jmp 0x401411
mov eax, 0
jmp 0x4014e6
mov rax, qword [rbp - 0x78]
mov r10, rax
mov rcx, r10
call fcn.00402389
mov eax, dword [rbp + 0x28]
mov r11, rax
mov rax, qword [rbp - 0x78]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_ShowWindow
mov rax, qword [rbp - 0x78]
mov r10, rax
mov rcx, r10
call sub.user32.dll_UpdateWindow
mov rax, qword [rbp - 0x78]
mov r10, rax
mov rcx, r10
call fcn.0040196a
movabs rax, 0x30
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0xa8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov eax, 0
mov r9, rax
mov eax, 0
mov r8, rax
movabs rax, 0
mov r11, rax
lea rax, [rbp - 0xa8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_GetMessageA
cmp eax, 0
je 0x4014e1
lea rax, [rbp - 0xa8]
mov r10, rax
mov rcx, r10
call sub.user32.dll_TranslateMessage
lea rax, [rbp - 0xa8]
mov r10, rax
mov rcx, r10
call sub.user32.dll_DispatchMessageA
jmp 0x401480
mov eax, 0
leave
ret