Function at 0x4013b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov edx, 0x401814
mov ebp, esp
push edi
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0xbc]
push esi
mov esi, 0x408980
push ebx
sub esp, 0xfc
mov ebx, 0x40c464
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa4], esi
mov esi, 0x7f00
mov dword [ebp - 0xa0], ebx
mov ebx, 0xffffffff
mov dword [ebp - 0x94], esp
mov dword [esp], eax
call fcn.0040b370
mov dword [ebp - 0x40], 0x40d000
mov edi, dword [ebp + 8]
mov dword [ebp - 0x60], 0x4018e0
mov dword [ebp - 0x64], 8
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x68], 0x30
mov dword [esp + 4], esi
mov dword [esp], 0
mov dword [ebp - 0xb8], ebx
call sub.USER32.dll_LoadIconA
mov dword [ebp - 0x50], eax
sub esp, 8
mov ecx, 0x7f00
mov dword [esp + 4], ecx
mov dword [esp], 0
call sub.USER32.dll_LoadIconA
mov dword [ebp - 0x3c], eax
sub esp, 8
mov edx, 0x7f00
mov dword [esp + 4], edx
mov dword [esp], 0
call sub.USER32.dll_LoadCursorA
mov dword [ebp - 0x4c], eax
sub esp, 8
lea eax, [ebp - 0x68]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 1
mov dword [esp], eax
call sub.USER32.dll_RegisterClassExA
sub esp, 4
test ax, ax
jne 0x4014f7
mov dword [esp], 0
mov edx, 0x40
mov eax, section..data
mov dword [esp + 0xc], edx
mov edi, str.Erreur_dans_la_cr
mov dword [esp + 4], edi
mov dword [esp + 8], eax
call sub.USER32.dll_MessageBoxA
xor eax, eax
sub esp, 0x10
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xbc]
mov dword [esp], eax
call fcn.0040b450
mov eax, dword [ebp - 0xc0]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp], 0xc8d0d4
mov ebx, 0xffffffff
mov dword [ebp - 0xb8], ebx
call sub.GDI32.dll_CreateSolidBrush
mov dword [0x40f010], eax
sub esp, 4
mov dword [esp], 0x6d50
call fcn.00409070
mov dword [ebp - 0xc4], eax
mov ecx, 1
mov dword [esp], eax
mov dword [ebp - 0xb8], ecx
call fcn.00407410
mov eax, dword [ebp - 0xc4]
xor edi, edi
mov esi, 0xffffffff
xor ebx, ebx
mov dword [0x40f020], eax
mov dword [esp + 4], edi
xor edi, edi
mov dword [esp], eax
mov dword [ebp - 0xb8], esi
mov esi, 0x3b6
call fcn.004062b0
mov dword [esp + 0x2c], ebx
xor edx, edx
mov eax, 0x1db
mov ecx, dword [ebp + 8]
mov ebx, 0x80000000
mov dword [esp + 0x24], edx
mov edx, 0xcf0000
mov dword [esp + 0x28], ecx
mov ecx, 0x80000000
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x1c], eax
mov eax, section..data
mov dword [esp + 0x18], esi
lea esi, [ebp - 0x78]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], edi
mov edi, dword [0x40f020]
mov dword [esp + 4], eax
mov dword [esp], 0
add edi, 0xc
mov dword [esp + 8], edi
call sub.USER32.dll_CreateWindowExA
mov dword [ebp - 0xcc], eax
sub esp, 0x30
call sub.USER32.dll_GetDesktopWindow
mov dword [esp], eax
mov dword [esp + 4], esi
call sub.USER32.dll_GetWindowRect
mov ebx, dword [ebp - 0x70]
sub esp, 8
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x78]
mov edi, dword [ebp - 0x74]
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xd4], edx
sub dword [ebp - 0xd0], ecx
sub dword [ebp - 0xd4], edi
mov dword [esp + 4], eax
mov esi, dword [ebp - 0xcc]
mov dword [esp], esi
call sub.USER32.dll_GetWindowRect
mov ecx, dword [ebp - 0x84]
sub esp, 8
mov esi, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x80]
sub esi, ecx
mov ecx, dword [ebp - 0xd0]
sub edx, ebx
mov eax, dword [ebp - 0x78]
sub ecx, edx
mov edi, ecx
mov edx, dword [ebp - 0x74]
shr edi, 0x1f
add ecx, edi
sar ecx, 1
add ecx, eax
mov eax, dword [ebp - 0xd4]
mov edi, 5
mov dword [esp + 0x18], edi
sub eax, esi
xor esi, esi
mov dword [esp + 0x14], esi
mov ebx, eax
xor edi, edi
mov dword [esp + 8], ecx
shr ebx, 0x1f
mov esi, 0x401d10
add eax, ebx
sar eax, 1
xor ebx, ebx
mov dword [esp + 0x10], ebx
add eax, edx
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 4], eax
mov edx, dword [ebp - 0xcc]
mov dword [esp], edx
call sub.USER32.dll_SetWindowPos
sub esp, 0x1c
mov ecx, 0x3ea
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov ebx, dword [ebp - 0xcc]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_CreateDialogParamA
mov dword [0x40f014], eax
sub esp, 0x14
mov edx, 1
mov dword [esp + 4], edx
xor ebx, ebx
mov dword [esp], eax
call sub.USER32.dll_ShowWindow
mov edi, dword [0x40f014]
sub esp, 8
mov ecx, 0x4034f0
mov esi, dword [0x40f020]
mov eax, 0x3e9
mov dword [esi + 0x6b00], edi
mov dword [esp + 0x10], ebx
mov ebx, 1
mov dword [esp + 0xc], ecx
mov edx, dword [ebp - 0xcc]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov edi, dword [ebp + 8]
mov dword [esp], edi
xor edi, edi
call sub.USER32.dll_CreateDialogParamA
mov dword [0x40f01c], eax
mov esi, dword [0x40f020]
sub esp, 0x14
mov dword [esi + 0x6ad4], eax
mov esi, 6
mov dword [esp + 4], ebx
mov ecx, dword [ebp - 0xcc]
mov ebx, 0x115
mov dword [esp], ecx
call sub.USER32.dll_ShowWindow
sub esp, 8
mov edx, 1
mov dword [esp + 4], edx
mov eax, dword [0x40f01c]
mov dword [esp], eax
call sub.USER32.dll_ShowWindow
sub esp, 8
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov ecx, dword [0x40f01c]
mov dword [esp], ecx
call sub.USER32.dll_SendMessageA
sub esp, 0x10
lea esi, [esi]
lea edi, [edi]
xor ecx, ecx
xor esi, esi
xor ebx, ebx
mov dword [esp + 0xc], esi
lea edx, [ebp - 0x38]
mov edi, 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [ebp - 0xb8], edi
call sub.USER32.dll_GetMessageA
sub esp, 0x10
test eax, eax
je 0x40184a
lea ebx, [ebp - 0x38]
mov edx, 0xffffffff
mov dword [esp + 4], ebx
mov ecx, dword [0x40f01c]
mov dword [esp], ecx
mov dword [ebp - 0xb8], edx
call sub.USER32.dll_IsDialogMessageA
sub esp, 8
test eax, eax
jne 0x4017a0
lea eax, [ebp - 0x38]
lea esi, [ebp - 0x38]
mov dword [esp], eax
call sub.USER32.dll_TranslateMessage
sub esp, 4
mov dword [esp], esi
call sub.USER32.dll_DispatchMessageA
sub esp, 4
jmp 0x4017a0
xor ebx, ebx
mov edx, 0xffffffff
mov dword [esp + 4], ebx
mov ecx, dword [0x40f01c]
mov dword [esp], ecx
mov dword [ebp - 0xb8], edx
call sub.USER32.dll_EndDialog
mov edi, dword [0x40f014]
sub esp, 8
mov dword [esp], edi
call sub.USER32.dll_DestroyWindow
mov eax, dword [0x40f010]
sub esp, 4
mov dword [esp], eax
call sub.GDI32.dll_DeleteObject
mov eax, dword [0x40f020]
sub esp, 4
test eax, eax
mov dword [ebp - 0xd8], eax
jne 0x4018c3
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xbc]
mov dword [esp], eax
call fcn.0040b450
mov eax, dword [ebp - 0xc0]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp], eax
call fcn.00407090
mov esi, dword [ebp - 0xd8]
mov dword [esp], esi
call fcn.00409050
mov eax, dword [ebp - 0x30]
jmp 0x40189f