Function at 0x403850
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451970
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x462080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x70], esi
push 0x3eb
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
xorps xmm0, xmm0
mov dword [ebp - 0x74], eax
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
sub esp, 0x18
mov dword [ebp - 4], 0
mov edx, esp
mov ecx, 0x462bd8
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
lea edi, [ecx + 1]
mov dword [edx + 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4038d0
sub ecx, edi
push ecx
push 0x462bd8
mov ecx, edx
call fcn.00401e00
lea ecx, [ebp - 0x90]
call fcn.00401bb0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 1
cmp dword [edx + 0x14], 0xf
jbe 0x403902
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x40], 0
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403920
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.00401e00
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0xf
jbe 0x403970
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403966
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403966
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00450407
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
push 0xf
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 4
push eax
push 0x3eb
push esi
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
push dword [ebp - 0x74]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jne 0x4039c7
push 0x20
push 0x45e430
push 0x45e440
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, dword [ebp - 0x38]
jmp 0x403c6f
push 0xc8
mov byte [ebp - 0x12], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 0x18
mov byte [ebp - 0x69], 1
lea eax, [ebp - 0x50]
mov dword [ebp - 0x78], esp
mov ecx, esp
push eax
call fcn.00406350
sub esp, 0x18
mov byte [ebp - 4], 5
mov esi, esp
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
lea edx, [ecx + 1]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403a10
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.00401e00
mov dl, byte [ebp - 0x69]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 4
call fcn.00402980
add esp, 0x30
lea ecx, [ebp - 0x38]
push eax
call fcn.004062d0
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0xf
jbe 0x403a7c
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403a72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403a72
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00450407
add esp, 8
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x38]
mov esi, dword [ebp - 0x38]
cmp eax, 0xf
mov edx, dword [ebp - 0x28]
cmova ecx, esi
cmp edx, 4
jne 0x403bd2
mov edi, edx
mov esi, str.TRUE
sub edi, edx
jb 0x403ab3
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x403ab8
add ecx, 4
add esi, 4
sub edi, 4
jae 0x403aa2
cmp edi, 0xfffffffc
je 0x403aec
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x403ae5
cmp edi, 0xfffffffd
je 0x403aec
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x403ae5
cmp edi, 0xfffffffe
je 0x403aec
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x403ae5
cmp edi, 0xffffffff
je 0x403aec
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x403aec
sbb eax, eax
or eax, 1
jmp 0x403aee
xor eax, eax
test eax, eax
jne 0x403bcc
push 0x40
push 0x45e464
lea eax, [ebp - 0x20]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, dword [ebp - 0x70]
push 1
push 0x3ec
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 0x45e474
push 0x3ec
push edi
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
call edi
push 0
push 0x3f1
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
push 0
push 0x3eb
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
push 0
push 0x3ed
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
push 0
push 0x3ee
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
push 0
push 0x3ef
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
call fcn.00403220
mov esi, dword [ebp - 0x70]
push str.Please_launch_the_game.
push 0x3ec
push esi
call edi
push 0
push 0x7d0
push 0
push esi
mov dword [0x462cdc], 1
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [ebp - 0x38]
jmp 0x403c6f
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
cmp eax, 0xf
lea ecx, [ebp - 0x38]
cmova ecx, esi
cmp edx, 7
jne 0x403c5b
mov esi, str.TimeOut
sub edx, 4
jb 0x403c01
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x403c06
add ecx, 4
add esi, 4
sub edx, 4
jae 0x403bf0
cmp edx, 0xfffffffc
je 0x403c3a
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x403c33
cmp edx, 0xfffffffd
je 0x403c3a
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x403c33
cmp edx, 0xfffffffe
je 0x403c3a
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x403c33
cmp edx, 0xffffffff
je 0x403c3a
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x403c3a
sbb eax, eax
or eax, 1
jmp 0x403c3c
xor eax, eax
test eax, eax
jne 0x403c58
push 0x10
push 0x45e480
push 0x45e490
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, dword [ebp - 0x38]
jmp 0x403c6f
mov esi, dword [ebp - 0x38]
push 0x10
push 0x45e49c
push 0x45e4ac
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x24]
cmp eax, 0xf
jbe 0x403c9e
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x403c94
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403cc4
push ecx
push esi
call fcn.00450407
add esp, 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x403cd4
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403cca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403cca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00450407
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004501c9
mov esp, ebp
pop ebp
ret