Function at 0x4065b0
Capabilities:
Enumerate processes
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40af9b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x3f8
mov eax, dword [0x40f00c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x3e4], edi
mov eax, dword [0x477dec]
xor edx, edx
movss xmm0, dword [0x477984]
mov ecx, str.Loader
movss dword [eax + 0x28], xmm0
movss xmm0, dword [0x477988]
movss dword [eax + 0x2c], xmm0
mov byte [eax + 0x31], 1
call fcn.004034f0
mov eax, dword [edi + 8]
test eax, eax
jne 0x406d60
mov dword [ebp - 0x150], eax
push 0x36
push str.http:__a0915835.xsph.ru_forums_check_loader_status.php
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], al
mov dword [ebp - 4], 0xffffffff
call fcn.00405b80
lea edx, [ebp - 0x150]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x180]
call fcn.004062c0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x170]
test edx, edx
jne 0x4066a0
push 0x10
push str.Error
push str.Server_closed
jmp 0x4066dc
cmp dword [ebp - 0x16c], 0x10
lea ecx, [ebp - 0x180]
mov esi, dword [ebp - 0x180]
push 0xc
cmovae ecx, esi
setae byte [ebp - 0x3c1]
push str.loader__0
call fcn.00406170
add esp, 8
test al, al
je 0x4066ee
push 0x10
push str.Error__0xD0001235_
push str.Client_failed_to_respond
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x406734
cmp byte [ebp - 0x3c1], 0
lea ecx, [ebp - 0x180]
mov edx, dword [ebp - 0x170]
push 0xc
cmovne ecx, esi
push str.loader__1
call fcn.00406170
add esp, 8
test al, al
je 0x406734
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.No_error_detected.
call fcn.004085b0
push 0x4087e0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [0x477dec]
mov dword [ebp - 0x3c0], 0x42f60000
mov dword [ebp - 0x3bc], 0x41a00000
mov dword [ebp - 0x138], 0
mov eax, dword [eax + 0x1c]
movss xmm1, dword [eax + 0x1c]
movss xmm0, dword [eax + 0x20]
addss xmm1, dword [0x40c904]
addss xmm0, dword [0x40c8f8]
movss dword [eax + 0x2c], xmm1
movss dword [eax + 0x30], xmm0
push 8
push str.username
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
mov byte [ebp - 4], 2
call fcn.00405b80
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x3f0]
push eax
call fcn.00408810
lea ecx, [ebp - 0x3c0]
push ecx
push 0
mov edx, dword [eax]
mov ecx, str.Username
add edx, 0x20
call fcn.00404f20
mov byte [ebp - 4], 2
add esp, 8
mov edx, dword [ebp - 0x124]
cmp edx, 0x10
jb 0x406821
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406817
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406817
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040a09a
add esp, 8
mov dword [ebp - 0x3c0], 0x42f60000
mov dword [ebp - 0x3bc], 0x41a00000
mov dword [ebp - 0x138], 0
push 8
push str.password
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
mov byte [ebp - 4], 2
call fcn.00405b80
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x3f0]
push eax
call fcn.00408810
lea ecx, [ebp - 0x3c0]
push ecx
push 1
mov edx, dword [eax]
mov ecx, str.Password
add edx, 0x20
call fcn.00404f20
mov byte [ebp - 4], 2
add esp, 8
mov edx, dword [ebp - 0x124]
cmp edx, 0x10
jb 0x4068e2
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4068d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4068d8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040a09a
add esp, 8
mov eax, dword [0x477dec]
lea edx, [ebp - 0x3c0]
mov dword [ebp - 0x128], 0
mov ecx, str.Login
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x3c0], 0x42f60000
mov dword [ebp - 0x3bc], 0x41b80000
movss xmm1, dword [eax + 0x1c]
movss xmm0, dword [eax + 0x20]
addss xmm1, dword [0x40c904]
addss xmm0, dword [0x40c910]
movss dword [eax + 0x2c], xmm1
movss dword [eax + 0x30], xmm0
call fcn.00404660
test al, al
je 0x406c9c
cvttss2si eax, dword [0x477988]
push 0
cvttss2si esi, dword [0x477984]
push eax
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x477dfc]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push esi
push eax
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x477df8]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push eax
push 0
push dword [edi]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
call edi
cvttss2si eax, dword [0x477988]
push 0
cvttss2si esi, dword [0x477984]
push eax
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x477dfc]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push esi
push eax
mov eax, esi
mov esi, dword [ebp - 0x3e4]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x477df8]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push eax
push 0
push dword [esi]
call edi
mov dword [esi + 8], 0xa
mov dword [ebp - 0x138], 0
push 8
push str.username
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
mov byte [ebp - 4], 2
call fcn.00405b80
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x3c0]
push eax
call fcn.00408810
mov dword [ebp - 0x168], 0
mov edx, dword [eax]
add edx, 0x20
mov ecx, edx
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 0x168], 0
mov byte [ebp - 4], 8
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406a75
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x168]
call fcn.00405b80
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x124]
cmp edx, 0x10
jb 0x406acb
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406ac1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406ac1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040a09a
add esp, 8
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
mov dword [ebp - 0x3e0], 0
push 8
push str.password
lea ecx, [ebp - 0x3e0]
mov dword [ebp - 0x3d0], 0
mov dword [ebp - 0x3cc], 0xf
mov byte [ebp - 0x3e0], 0
mov byte [ebp - 4], 0xb
call fcn.00405b80
lea eax, [ebp - 0x3e0]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x3c0]
push eax
call fcn.00408810
mov dword [ebp - 0x138], 0
mov edx, dword [eax]
add edx, 0x20
mov ecx, edx
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 4], 0xd
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406b64
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x138]
call fcn.00405b80
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x3cc]
cmp edx, 0x10
jb 0x406bba
mov ecx, dword [ebp - 0x3e0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406bb0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406bb0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040a09a
add esp, 8
cmp dword [ebp - 0x154], 0x10
lea ecx, [ebp - 0x168]
mov edx, dword [ebp - 0x158]
cmovae ecx, dword [ebp - 0x168]
setae byte [ebp - 0x3c1]
push 4
push str.wish
call fcn.00406170
mov edi, dword [ebp - 0x138]
add esp, 8
test al, al
je 0x406c1d
cmp dword [ebp - 0x124], 0x10
lea ecx, [ebp - 0x138]
mov edx, dword [ebp - 0x128]
push 0
cmovae ecx, edi
push 0x40c3d0
call fcn.00406170
add esp, 8
test al, al
jne 0x406c24
mov dword [esi + 8], 0xa
mov eax, dword [ebp - 0x124]
cmp eax, 0x10
jb 0x406c5a
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x406c50
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406d30
push ecx
push edi
call fcn.0040a09a
add esp, 8
cmp byte [ebp - 0x3c1], 0
mov byte [ebp - 4], 2
je 0x406c9c
mov edx, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x168]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406c92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406d30
push edx
push ecx
call fcn.0040a09a
add esp, 8
lea edx, [ebp - 0x3c0]
mov dword [ebp - 0x3c0], 0x42f60000
mov ecx, str.Exit
mov dword [ebp - 0x3bc], 0x41b80000
call fcn.00404660
test al, al
je 0x406ccc
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0x16c]
cmp eax, 0x10
jb 0x406d04
mov ecx, dword [ebp - 0x180]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x406cfa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406d30
push edx
push ecx
call fcn.0040a09a
add esp, 8
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x406d40
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406d36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406d36
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040a09a
add esp, 8
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
jmp 0x408261
cmp eax, 1
je 0x407cae
cmp eax, 3
je 0x407ca4
cmp eax, 7
je 0x407cae
cmp eax, 4
je 0x407ca4
cmp eax, 5
je 0x407cae
cmp eax, 6
je 0x407cae
cmp eax, 0xa
je 0x407cae
cmp eax, 2
jne 0x408261
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0xa
push dword [edi]
call esi
mov eax, dword [0x477dec]
sub esp, 0x10
xorps xmm0, xmm0
mov ecx, str.Options
mov dword [eax + 0x20], 0x43990000
mov dword [eax + 0x24], 0x41c80000
mov word [eax + 0x30], 0x101
mov dword [eax + 0x28], 0x43400000
mov dword [eax + 0x2c], 0x430b0000
mov eax, esp
movss dword [eax], xmm0
movss dword [eax + 4], xmm0
movss xmm0, dword [0x40c8b4]
movss dword [eax + 8], xmm0
movss xmm0, dword [0x40c8d0]
movss dword [eax + 0xc], xmm0
call fcn.00404250
mov ecx, dword [0x477dec]
lea edx, [ebp - 0x3c0]
add esp, 0x10
mov dword [ebp - 0x3c0], 0x43220000
mov dword [ebp - 0x3bc], 0x42200000
mov eax, dword [ecx + 0x1c]
movss xmm1, dword [eax + 0x1c]
movss xmm0, dword [eax + 0x20]
addss xmm1, dword [0x40c8e4]
addss xmm0, dword [0x40c8f0]
movss dword [eax + 0x2c], xmm1
movss dword [eax + 0x30], xmm0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0x41200000
mov ecx, str.Load
call fcn.00404660
test al, al
je 0x406f24
push 0
mov dword [0x477984], 0x43c80000
mov dword [0x477988], 0x43520000
push dword [edi]
call esi
cvttss2si eax, dword [0x477988]
push 0
cvttss2si esi, dword [0x477984]
push eax
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x477dfc]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push esi
push eax
mov eax, esi
cdq
sub eax, edx
mov esi, eax
mov eax, dword [0x477df8]
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub eax, esi
push eax
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, str.Loader
call fcn.004031b0
test eax, eax
je 0x406f04
movss xmm0, dword [0x477984]
movss dword [eax + 0x24], xmm0
movss xmm0, dword [0x477988]
movss dword [eax + 0x28], xmm0
push 0x10
push str.Error__0xD00014521_
push str.FATAL_ERROR__Server_refused_to_connect.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call esi
jmp 0x406f2a
mov esi, dword [sym.imp.USER32.dll_PostQuitMessage]
lea edx, [ebp - 0x3c0]
mov dword [ebp - 0x3c0], 0x43220000
mov ecx, str.Exit
mov dword [ebp - 0x3bc], 0x42200000
call fcn.00404660
test al, al
je 0x406f56
push 0
call esi
call fcn.004043e0
mov edx, dword [0x477dec]
mov eax, dword [edx + 0x1c]
movss xmm1, dword [eax + 0x1c]
movss xmm0, dword [eax + 0x20]
addss xmm1, dword [0x40c8e8]
addss xmm0, dword [0x40c8ec]
movss dword [eax + 0x2c], xmm1
movss dword [eax + 0x30], xmm0
mov esi, dword [edx + 0x1c]
movss xmm2, dword [esi + 0x2c]
movss xmm3, dword [esi + 0x30]
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x38], ecx
mov ecx, str.Game
mov dword [esi + 0x34], eax
movss xmm1, dword [edx + 0x38]
movss xmm0, dword [esi + 0x2c]
addss xmm1, dword [0x40c914]
addss xmm0, dword [0x40c8a4]
addss xmm1, dword [esi + 0x30]
movss dword [esi + 0x2c], xmm0
movss dword [esi + 0x30], xmm1
movss dword [edx + 0x20], xmm2
movss dword [edx + 0x24], xmm3
mov word [edx + 0x30], 0x101
mov dword [edx + 0x28], 0x43888000
mov dword [edx + 0x2c], 0x430c0000
mov edx, 0x40006
call fcn.004034f0
mov eax, dword [0x477dec]
mov dword [ebp - 0x3c8], 1
mov eax, dword [eax + 0x1c]
movss xmm0, dword [eax + 0x2c]
addss xmm0, dword [0x40c8b0]
mov dword [eax + 0x44], esi
movss dword [eax + 0x2c], xmm0
movss xmm0, dword [eax + 0x30]
addss xmm0, dword [0x40c8b0]
movss dword [eax + 0x30], xmm0
lea eax, [ebp - 0x3c8]
push eax
lea eax, [ebp - 0x3f0]
push eax
call fcn.004022b0
push str.Updated_2_5_2024_6:33_PM
lea edx, [ebp - 0x3c0]
mov dword [ebp - 0x3c0], 0x43868000
mov ecx, str.Counter_Strike:_Global_Offensive
mov dword [ebp - 0x3bc], 0x42200000
mov eax, dword [eax]
push dword [eax + 0xc]
call fcn.00404ab0
add esp, 8
mov dword [ebp - 0x3c8], 2
lea eax, [ebp - 0x3c8]
push eax
lea eax, [ebp - 0x3f0]
push eax
call fcn.004022b0
push str.Updated_2_5_2024_10:24_PM
lea edx, [ebp - 0x3c0]
mov dword [ebp - 0x3c0], 0x43868000
mov ecx, str.Counter_Strike:_2
mov dword [ebp - 0x3bc], 0x42200000
mov eax, dword [eax]
push dword [eax + 0xc]
call fcn.00404ab0
mov ecx, dword [0x477dec]
sub esp, 8
xorps xmm0, xmm0
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x44]
mov dword [ecx + 0x1c], eax
mov eax, esp
mov dword [ecx + 0x20], 0x41b80000
mov dword [ecx + 0x24], 0x432f0000
mov word [ecx + 0x30], 0x101
mov dword [ecx + 0x28], 0x43ee0000
mov dword [ecx + 0x2c], 0x43490000
movss dword [eax], xmm0
mov ecx, str.Status
movss dword [eax + 4], xmm0
movss xmm0, dword [0x40c8b4]
movss dword [eax + 8], xmm0
movss xmm0, dword [0x40c8d0]
movss dword [eax + 0xc], xmm0
call fcn.00404250
mov edi, dword [0x477dec]
mov edx, 0x40006
mov eax, dword [edi + 0x1c]
movss xmm2, dword [eax + 0x1c]
movss xmm1, dword [eax + 0x20]
addss xmm1, dword [0x40c8e0]
addss xmm2, dword [0x40c8e0]
movss dword [eax + 0x30], xmm1
movss dword [eax + 0x2c], xmm2
mov esi, dword [edi + 0x1c]
movss xmm2, dword [esi + 0x2c]
movss xmm3, dword [esi + 0x30]
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x38], ecx
mov ecx, str.Info
mov dword [esi + 0x34], eax
movss xmm1, dword [edi + 0x38]
movss xmm0, dword [esi + 0x2c]
addss xmm1, dword [0x40c918]
addss xmm0, dword [0x40c8a4]
addss xmm1, dword [esi + 0x30]
movss dword [esi + 0x2c], xmm0
movss dword [esi + 0x30], xmm1
movss dword [edi + 0x20], xmm2
movss dword [edi + 0x24], xmm3
mov word [edi + 0x30], 0x101
mov dword [edi + 0x28], 0x43df0000
mov dword [edi + 0x2c], 0x432b0000
call fcn.004034f0
mov eax, dword [0x477dec]
lea edx, [ebp - 0x3c0]
push 0
push 0
mov ecx, str.Connected
mov dword [ebp - 0x3bc], 0
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x3c0], 0
movss xmm0, dword [eax + 0x2c]
addss xmm0, dword [0x40c8b0]
mov dword [eax + 0x44], esi
movss dword [eax + 0x2c], xmm0
movss xmm0, dword [eax + 0x30]
addss xmm0, dword [0x40c8b0]
movss dword [eax + 0x30], xmm0
call fcn.00404ab0
mov eax, dword [0x40c740]
movq xmm0, qword [str.Welcome_back_]
mov dword [ebp - 0x118], eax
mov ax, word [0x40c744]
mov word [ebp - 0x114], ax
mov al, byte [0x40c746]
push 0xf1
mov byte [ebp - 0x112], al
lea eax, [ebp - 0x111]
push 0
push eax
movq qword [ebp - 0x120], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0x24
mov dword [ebp - 0x3e0], 0
push 8
push str.username
lea ecx, [ebp - 0x3e0]
mov dword [ebp - 0x3d0], 0
mov dword [ebp - 0x3cc], 0xf
mov byte [ebp - 0x3e0], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00405b80
mov dword [ebp - 4], 0x10
lea eax, [ebp - 0x3e0]
push eax
lea eax, [ebp - 0x3c0]
push eax
call fcn.00408810
mov eax, dword [eax]
add eax, 0x20
push eax
lea eax, [ebp - 0x120]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov edx, dword [ebp - 0x3cc]
cmp edx, 0x10
jb 0x407317
mov ecx, dword [ebp - 0x3e0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40730d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40730d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040a09a
add esp, 8
push 0
push 0
lea edx, [ebp - 0x3c0]
mov dword [ebp - 0x3c0], 0x43dd0000
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x3bc], 0x41700000
call fcn.00404ab0
add esp, 8
mov dword [ebp - 0x150], 0
push 8
push str.username
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00405b80
lea eax, [ebp - 0x150]
mov dword [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x3c0]
push eax
call fcn.00408810
mov dword [ebp - 0x138], 0
mov edx, dword [eax]
add edx, 0x20
mov ecx, edx
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
mov byte [ebp - 4], 0x12
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4073d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x138]
call fcn.00405b80
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x407426
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40741c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40741c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040a09a
add esp, 8
mov ecx, dword [ebp - 0x128]
mov eax, 0x7fffffff
sub eax, ecx
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
cmp eax, 0x32
jb 0x40833c
cmp dword [ebp - 0x124], 0x10
lea edx, [ebp - 0x138]
mov edi, 0xf
mov dword [ebp - 0x168], 0
cmovae edx, dword [ebp - 0x138]
lea esi, [ebp - 0x168]
mov dword [ebp - 0x3b4], edx
lea edx, [ecx + 0x32]
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x3c8], edx
cmp edx, edi
jbe 0x407531
mov edi, edx
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x4074bf
mov edi, 0x7fffffff
jmp 0x4074c9
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
xor ecx, ecx
mov eax, edi
add eax, 1
setb cl
neg ecx
or ecx, eax
cmp ecx, 0x1000
jb 0x40750c
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x408341
push eax
call fcn.00409e14
add esp, 4
test eax, eax
je 0x407c7b
mov edx, dword [ebp - 0x3c8]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x407525
test ecx, ecx
je 0x407523
push ecx
call fcn.00409e14
mov edx, dword [ebp - 0x3c8]
add esp, 4
mov esi, eax
jmp 0x407525
xor esi, esi
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x168], esi
movups xmm0, xmmword [str.http:__a0915835.xsph.ru_forums_queue.php_username]
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x154], edi
movups xmmword [esi], xmm0
push ecx
movups xmm0, xmmword [0x40c758]
push dword [ebp - 0x3b4]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [0x40c768]
movups xmmword [esi + 0x20], xmm0
mov ax, word [0x40c778]
mov word [esi + 0x30], ax
lea eax, [esi + 0x32]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x128]
add esp, 0xc
mov byte [esi + eax + 0x32], 0
lea edx, [ebp - 0x168]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x180]
call fcn.004062c0
cmp dword [ebp - 0x170], 0
jne 0x407650
mov esi, dword [ebp - 0x3e4]
mov dword [ebp - 0x150], 0
mov dword [esi + 8], 6
push 0xd
push 0x40c782
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 4], 0x17
call fcn.00405b80
cmp dword [ebp - 0x13c], 0x10
lea eax, [ebp - 0x150]
push 0x10
cmovae eax, dword [ebp - 0x150]
push str.Error__00xD00001_
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x407650
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407646
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407646
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040a09a
add esp, 8
mov byte [ebp - 4], 0x19
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0x16c], 0x10
lea esi, [ebp - 0x180]
mov dword [ebp - 0x3c8], eax
cmovae esi, dword [ebp - 0x180]
mov dword [eax], 0
lea eax, [ebp - 0x3b4]
push 0xa
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov edi, eax
cmp esi, dword [ebp - 0x3b4]
jne 0x4076a2
push str.invalid_stoi_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
mov eax, dword [ebp - 0x3c8]
cmp dword [eax], 0x22
je 0x407976
mov dword [ebp - 4], 0x17
test edi, edi
jle 0x4079b0
mov edx, edi
mov dword [ebp - 0x3bc], 0
lea ecx, [ebp - 0x408]
mov dword [ebp - 0x3c0], 0
call fcn.004061e0
push eax
mov edx, str.Added_Counter_Strike:_Global_Offensive__
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x150]
call fcn.00408470
mov edx, eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x3e0]
call fcn.004083a0
add esp, 4
mov byte [ebp - 4], 0x1d
cmp dword [eax + 0x14], 0x10
jb 0x407716
mov eax, dword [eax]
push 0
push 0
lea edx, [ebp - 0x3c0]
mov ecx, eax
call fcn.00404ab0
mov byte [ebp - 4], 0x1c
add esp, 8
mov edx, dword [ebp - 0x3cc]
cmp edx, 0x10
jb 0x407768
mov ecx, dword [ebp - 0x3e0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40775e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407808
push edx
push ecx
call fcn.0040a09a
add esp, 8
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x3d0], 0
mov dword [ebp - 0x3cc], 0xf
mov byte [ebp - 0x3e0], 0
cmp edx, 0x10
jb 0x4077bd
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4077b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407808
push edx
push ecx
call fcn.0040a09a
add esp, 8
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x3f4]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
cmp edx, 0x10
jb 0x407818
mov ecx, dword [ebp - 0x408]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40780e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40780e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040a09a
add esp, 8
mov edx, edi
mov dword [ebp - 0x3bc], 0
lea ecx, [ebp - 0x408]
mov dword [ebp - 0x3c0], 0
call fcn.004061e0
push eax
mov edx, str.Added_Counter_Strike:_2__
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x150]
call fcn.00408470
mov edx, eax
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x3e0]
call fcn.004083a0
add esp, 4
mov byte [ebp - 4], 0x20
cmp dword [eax + 0x14], 0x10
jb 0x40786e
mov eax, dword [eax]
push 0
push 0
lea edx, [ebp - 0x3c0]
mov ecx, eax
call fcn.00404ab0
mov byte [ebp - 4], 0x1f
add esp, 8
mov edx, dword [ebp - 0x3cc]
cmp edx, 0x10
jb 0x4078c0
mov ecx, dword [ebp - 0x3e0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4078b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407964
push edx
push ecx
call fcn.0040a09a
add esp, 8
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x3d0], 0
mov dword [ebp - 0x3cc], 0xf
mov byte [ebp - 0x3e0], 0
cmp edx, 0x10
jb 0x407915
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40790b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407964
push edx
push ecx
call fcn.0040a09a
add esp, 8
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x3f4]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
cmp edx, 0x10
jb 0x4079cd
mov ecx, dword [ebp - 0x408]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40796a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40796a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040a09a
add esp, 8
jmp 0x4079cd
push str.stoi_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov ebx, dword [ebp - 0x14]
push 0x10
push str.Error__0xD0001225_
push str.No_active_hack_subscription
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, 0x4079a6
ret
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.No_error_detected.
call fcn.004085b0
push 0x4087e0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
push 0
lea edx, [ebp - 0x3c0]
mov dword [ebp - 0x3bc], 0
mov ecx, str.Your_session_expires_in_3_minutes
mov dword [ebp - 0x3c0], 0
call fcn.00404ab0
add esp, 8
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x407a2c
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0x3b0], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x407a73
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_Process32NextW]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x407b98
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0x3b0], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x407b10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x407b98
mov esi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax]
mov ecx, str.steam.exe
lea eax, [ebp - 0x38c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407ab6
test dx, dx
je 0x407ab2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407ab6
add eax, 4
add ecx, 4
test dx, dx
jne 0x407a90
xor eax, eax
jmp 0x407abb
sbb eax, eax
or eax, 1
test eax, eax
je 0x407ad9
lea eax, [ebp - 0x3b0]
push eax
push edi
call esi
test eax, eax
jne 0x407a80
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x407a32
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
lea edx, [ebp - 0x3c0]
mov dword [ebp - 0x3bc], 0
mov ecx, str.Warning:_Steam_opened_before_client
mov dword [ebp - 0x3c0], 0
call fcn.00404ab0
add esp, 8
jmp 0x407a32
mov ecx, str.faceit.exe
lea eax, [ebp - 0x38c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407b46
test dx, dx
je 0x407b42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407b46
add eax, 4
add ecx, 4
test dx, dx
jne 0x407b20
xor eax, eax
jmp 0x407b4b
sbb eax, eax
or eax, 1
test eax, eax
je 0x407b66
lea eax, [ebp - 0x3b0]
push eax
push edi
call esi
test eax, eax
jne 0x407b10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x407b98
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
lea edx, [ebp - 0x3c0]
mov dword [ebp - 0x3bc], 0
mov ecx, str.Warning:_FACEIT_is_opened
mov dword [ebp - 0x3c0], 0
call fcn.00404ab0
add esp, 8
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x16c]
cmp edx, 0x10
jb 0x407bd6
mov ecx, dword [ebp - 0x180]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407bcc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c7b
push edx
push ecx
call fcn.0040a09a
add esp, 8
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0xf
mov byte [ebp - 0x180], 0
cmp edx, 0x10
jb 0x407c2b
mov ecx, dword [ebp - 0x168]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407c21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c7b
push edx
push ecx
call fcn.0040a09a
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 0x168], 0
cmp eax, 0x10
jb 0x407c8b
mov ecx, dword [ebp - 0x138]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x407c81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407c81
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040a09a
add esp, 8
mov ecx, dword [0x477dec]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x44]
mov dword [ecx + 0x1c], eax
call fcn.004043e0
jmp 0x408261
push 0xa
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x477eb8]
cmp eax, dword [ecx + 4]
jle 0x407cf3
push 0x477eb8
call fcn.00409d3e
add esp, 4
cmp dword [0x477eb8], 0xffffffff
jne 0x407cf3
cvttss2si eax, dword [0x40f028]
push 0x477eb8
mov dword [0x477eb4], eax
call fcn.00409cf4
add esp, 4
mov eax, dword [edi + 8]
mov esi, 0x40c3d0
dec eax
cmp eax, 0xa
ja case.0x407d01.2
jmp dword [eax*4 + 0x408348]
mov esi, str.Preparing...
jmp case.0x407d01.2
mov esi, str.Waiting_for_game...
jmp case.0x407d01.2
mov esi, str.Password_or_login_incorrect
jmp case.0x407d01.2
mov esi, str.Logging_in...
jmp case.0x407d01.2
mov esi, str.Initializing...
jmp case.0x407d01.2
mov esi, str.Loading...
jmp case.0x407d01.2
mov esi, str.Connecting...
lea eax, [ebp - 0x3b4]
mov dword [ebp - 0x3b4], 0
push eax
lea eax, [ebp - 0x3c0]
push eax
call fcn.00402520
mov edx, esi
xorps xmm0, xmm0
movups xmmword [ebp - 0x160], xmm0
mov ecx, dword [eax]
lea eax, [edx + 1]
mov dword [ebp - 0x3c8], eax
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x407d70
mov eax, dword [ecx + 0xc]
lea edi, [ebp - 0x160]
sub edx, dword [ebp - 0x3c8]
push 0
push 0x400
mov eax, dword [eax]
push edi
push edx
push esi
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x38]
mov eax, dword [0x477dec]
movss xmm1, dword [0x40c8a8]
mov dword [ebp - 0x3ec], 0
mov dword [ebp - 0x3f0], 0
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x158]
sub eax, dword [ebp - 0x160]
mov dword [ebp - 0x3e8], 1
movss xmm2, dword [ecx + 0x24]
movss xmm3, dword [ecx + 0x28]
movd xmm0, eax
mov eax, dword [ebp - 0x154]
sub eax, dword [ebp - 0x15c]
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm1
mulss xmm0, xmm1
mulss xmm3, xmm1
subss xmm2, xmm0
movd xmm0, eax
mov eax, dword [0x477eb4]
cvtdq2ps xmm0, xmm0
shl eax, 0x18
or eax, 0xcdcdcd
mov dword [ebp - 0x3c8], eax
lea eax, [ebp - 0x3b4]
push eax
addss xmm2, dword [ecx + 0x1c]
mulss xmm0, xmm1
lea eax, [ebp - 0x158]
push eax
subss xmm3, xmm0
movss dword [ebp - 0x3c0], xmm2
addss xmm3, dword [ecx + 0x20]
mov dword [ebp - 0x3b4], 0
movss dword [ebp - 0x3bc], xmm3
call fcn.00402520
push dword [ebp - 0x3ec]
lea ecx, [ebp - 0x3c8]
push dword [ebp - 0x3f0]
mov eax, dword [eax]
push dword [ebp - 0x3bc]
push dword [ebp - 0x3c0]
mov edx, dword [eax + 0xc]
push ecx
lea ecx, [ebp - 0x3e8]
push ecx
mov ecx, esi
call fcn.00401e20
movss xmm0, dword [0x40f028]
add esp, 0x18
cmp byte [0x40f02c], 0
mov ecx, dword [0x477e78]
je 0x407ecf
addss xmm0, dword [0x40c8b0]
comiss xmm0, dword [0x40c920]
movss dword [0x40f028], xmm0
jb 0x407ef3
inc ecx
mov byte [0x40f02c], 0
mov dword [0x477e78], ecx
jmp 0x407ef3
subss xmm0, dword [0x40c8b0]
movss xmm1, dword [0x40c908]
comiss xmm1, xmm0
movss dword [0x40f028], xmm0
jb 0x407ef3
mov byte [0x40f02c], 1
mov edi, dword [ebp - 0x3e4]
cvttss2si eax, xmm0
mov dword [0x477eb4], eax
mov eax, dword [edi + 8]
cmp eax, 1
jne 0x407fb6
cmp ecx, eax
jl 0x407fb6
push 0
mov dword [0x477984], 0x44020000
mov dword [0x477988], 0x43c70000
push dword [edi]
mov dword [0x477e78], 0
mov byte [0x40f02c], 1
mov dword [0x40f028], 0x42c80000
call dword [sym.imp.USER32.dll_ShowWindow]
cvttss2si eax, dword [0x477988]
push 0
cvttss2si esi, dword [0x477984]
push eax
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x477dfc]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push esi
push eax
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x477df8]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push eax
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x477dec]
mov ecx, dword [0x477984]
mov edx, dword [0x477988]
mov eax, dword [eax + 0x1c]
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], edx
jmp 0x40825a
cmp eax, 3
jne 0x407fe8
test ecx, ecx
js 0x408261
push 0x10
push str.Error__Mx125b73e7_
push str.Out_of_memory
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [edi + 8]
mov ecx, dword [0x477e78]
cmp eax, 7
jne 0x407ffb
cmp ecx, 1
jl 0x408261
jmp 0x407f16
cmp eax, 0xa
jne 0x408078
cmp ecx, 2
jl 0x408261
cvttss2si eax, dword [0x477988]
push 0
mov dword [0x477e78], 0
mov byte [0x40f02c], 1
mov dword [0x40f028], 0x42c80000
cvttss2si esi, dword [0x477984]
push eax
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x477dfc]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push esi
push eax
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x477df8]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push eax
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [edi + 8], 7
jmp 0x408261
cmp eax, 5
jne 0x4080f5
cmp ecx, 1
jl 0x408261
cvttss2si eax, dword [0x477988]
push 0
mov dword [0x477e78], 0
mov byte [0x40f02c], 1
mov dword [0x40f028], 0x42c80000
cvttss2si esi, dword [0x477984]
push eax
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x477dfc]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push esi
push eax
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x477df8]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push eax
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [edi + 8], 0
jmp 0x408261
cmp eax, 6
jne 0x408123
cmp ecx, 1
jl 0x408261
mov dword [0x477e78], 0
mov byte [0x40f02c], 1
mov dword [0x40f028], 0x42c80000
jmp 0x408212
cmp eax, 4
jne 0x4081c1
cmp ecx, 0xa
jl 0x408261
mov eax, dword [0x477dec]
mov ecx, dword [0x477984]
mov edx, dword [0x477988]
push 0
mov eax, dword [eax + 0x1c]
mov dword [0x477e78], 0
mov byte [0x40f02c], 1
mov dword [0x40f028], 0x42c80000
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], edx
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
cvttss2si eax, dword [0x477988]
push 0
cvttss2si esi, dword [0x477984]
push eax
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x477dfc]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push esi
push eax
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x477df8]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push eax
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x408261
cmp eax, 0xb
jne 0x408261
cmp ecx, 2
jl 0x408261
mov eax, dword [0x477dec]
mov ecx, dword [0x477984]
mov edx, dword [0x477988]
push 0
mov eax, dword [eax + 0x1c]
mov dword [0x477e78], 0
mov byte [0x40f02c], 1
mov dword [0x40f028], 0x42c80000
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], edx
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
cvttss2si eax, dword [0x477988]
push 0
cvttss2si esi, dword [0x477984]
push eax
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x477dfc]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push esi
push eax
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x477df8]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push eax
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [edi + 8], 2
mov esi, dword [0x477dec]
lea eax, [ebp - 0x130]
push eax
push dword [esi + 0x274]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [0x477dec]
cmp byte [eax + 0x48], 0
je 0x40831e
cmp dword [esi + 0x28c], 0x10
lea ecx, [esi + 0x278]
mov edx, dword [ecx + 0x10]
jb 0x40829d
mov ecx, dword [ecx]
push 0
push 0x40c3d0
call fcn.00406170
add esp, 8
test al, al
je 0x40831e
cvttss2si eax, dword [0x477988]
push 0
movd xmm0, dword [ebp - 0x12c]
push eax
cvttss2si eax, dword [0x477984]
cvtdq2ps xmm0, xmm0
push eax
mov eax, dword [0x477e04]
sub eax, dword [0x477e0c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm0
movd xmm0, dword [ebp - 0x130]
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm1
push eax
mov eax, dword [0x477e00]
sub eax, dword [0x477e08]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm0
cvttss2si eax, xmm1
push eax
push 0
push dword [esi + 0x274]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00409c21
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00402a40
call fcn.00401330
nop
xor bh, byte [ebp + 0x40]
add byte [edi], dh
jge 0x40838f
add byte [eax], cl
jge 0x408393
add byte [edi], cl
jge 0x408397
add byte [esi], dl
jge 0x40839b
add byte [0x2400407d], bl
jge 0x4083a3
add byte [edi], dh
jge 0x4083a7
add byte [edi], dh
jge 0x4083ab
add byte [ebx], ch
jge 0x4083af
add byte [edx], dh
jge 0x4083b3
add ah, cl
int3
push dword [esi]
call fcn.0040a09a
add esp, 8
sbb eax, 0xc4830000
or byte [esi - 0x3d], bl
les ecx, [eax]
pop esi
ret
int3
scasd eax, dword es:[edi]
inc eax
add byte [ecx], ah
add byte [eax], al
mov eax, dword [pe_dos_header]
add byte [eax - 0x7d], dl
in al, dx
or byte [esi + 0x57], dl