Function at 0x405c90
Capabilities:
Check if file exists
Create directory
Delete file
Download and write a file
Download url
Encode data using xor
Read .ini file
Receive and write data from server to client
Receive data
Write file on windows

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 0x425b1e
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x5304
call fcn.00425850
mov eax, dword [0x43400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
jmp 0x405ce7
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], 0
push 7
push str.validip
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.00401960
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 0
push eax
call fcn.00406b00
push eax
lea ecx, [ebp - 0xbc]
call fcn.00406ff0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x405d65
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405d5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405d5b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0042458e
add esp, 8
push 0
push str.Client_License
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
push str..Client_LicenseMessage.txt
call edi
add esp, 4
push str..SGGuard.dll
call edi
add esp, 4
push str..wzAudio.dll
call edi
add esp, 4
mov dword [ebp - 0xa4], 0
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
push 0x1e
push str.http:__panel.mumatrix.com_Lic_
call fcn.00401960
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x5c]
call fcn.00406ff0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x48]
mov eax, edx
mov ecx, dword [ebp - 0x4c]
sub eax, ecx
push 0xc
push str._Message.txt
cmp eax, 0xc
jb 0x405e2d
cmp edx, 0x10
lea esi, [ebp - 0x5c]
lea eax, [ecx + 0xc]
cmovae esi, dword [ebp - 0x5c]
add esi, ecx
mov dword [ebp - 0x4c], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xc], 0
jmp 0x405e44
mov byte [ebp - 0x530c], 0
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x530c]
push 0xc
call fcn.00401d30
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_puts]
add esp, 4
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
push 0
cmovae eax, dword [ebp - 0x5c]
push 0
push str..Client_LicenseMessage.txt
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
push 0x1e
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x74]
push str.http:__panel.mumatrix.com_Lic_
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.00401960
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x44]
call fcn.00406ff0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x30]
mov eax, edx
mov ecx, dword [ebp - 0x34]
sub eax, ecx
push 0xc
push str._SGGuard.dll
cmp eax, 0xc
jb 0x405efb
cmp edx, 0x10
lea esi, [ebp - 0x44]
lea eax, [ecx + 0xc]
cmovae esi, dword [ebp - 0x44]
add esi, ecx
mov dword [ebp - 0x34], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xc], 0
jmp 0x405f12
mov byte [ebp - 0x530c], 0
lea ecx, [ebp - 0x44]
push dword [ebp - 0x530c]
push 0xc
call fcn.00401d30
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_puts]
add esp, 4
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push 0
cmovae eax, dword [ebp - 0x44]
push 0
push str..SGGuard.dll
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
push 0x1e
mov dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x8c]
push str.http:__panel.mumatrix.com_Lic_
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.00401960
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406ff0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
push 0xc
push str._wzAudio.dll
cmp eax, 0xc
jb 0x405fd5
cmp edx, 0x10
lea esi, [ebp - 0x2c]
lea eax, [ecx + 0xc]
cmovae esi, dword [ebp - 0x2c]
add esi, ecx
mov dword [ebp - 0x1c], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xc], 0
jmp 0x405fec
mov byte [ebp - 0x530c], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x530c]
push 0xc
call fcn.00401d30
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_puts]
add esp, 4
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push 0
push str..wzAudio.dll
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push str..Main.exe
call esi
test eax, eax
je 0x406924
push str..SGGuard.dll
call esi
test eax, eax
je 0x40691a
push str..wzAudio.dll
call esi
test eax, eax
je 0x406721
push 0x4e48
lea eax, [ebp - 0x5308]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x52e8]
add esp, 0xc
push str..Settings.ini
push 0x20
push eax
push 0x4289a0
push str.ServerName
push str.SilentGameGuardInfo
call esi
push str..Settings.ini
push 0
push str.ServerPort
push str.SilentGameGuardInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str..Settings.ini
push 0x20
mov word [ebp - 0x52a8], ax
lea eax, [ebp - 0x52a6]
push eax
push 0x4289a0
push str.ServerName
push str.SilentGameGuardInfo
call esi
cmp dword [ebp - 0xa8], 0x10
lea eax, [ebp - 0xbc]
mov esi, dword [ebp - 0xbc]
cmovae eax, esi
push ecx
mov ecx, 0x43c9f0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x52c8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x52b8], xmm0
movups xmm0, xmmword [str.wzAudio.dll]
movups xmmword [ebp - 0x5266], xmm0
movups xmm0, xmmword [0x43406c]
movups xmmword [ebp - 0x5256], xmm0
movups xmm0, xmmword [str.Main.exe]
movups xmmword [ebp - 0x5286], xmm0
movups xmm0, xmmword [0x4340d4]
movups xmmword [ebp - 0x5276], xmm0
movups xmm0, xmmword [str.SGGuard.dll]
movups xmmword [ebp - 0x5246], xmm0
movups xmm0, xmmword [0x4340a0]
movups xmmword [ebp - 0x5236], xmm0
movups xmm0, xmmword [str.Version_:_1.0.32_R6]
movups xmmword [ebp - 0x5308], xmm0
movups xmm0, xmmword [0x434038]
movups xmmword [ebp - 0x52f8], xmm0
call fcn.0040fee0
push 0x19c8
lea eax, [ebp - 0x5218]
push 0x43ca74
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x3850]
push 0x19c8
push 0x43e43c
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x1e88]
push 0x19c8
push 0x43fe04
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x4c0]
call fcn.00404d50
push ecx
lea eax, [ebp - 0x5224]
push eax
lea eax, [ebp - 0x5286]
push eax
lea ecx, [ebp - 0x4c0]
call fcn.00404e80
mov ecx, dword [ebp - 0x5224]
xor edx, edx
test al, al
lea eax, [ebp - 0x5220]
cmove ecx, edx
push ecx
push eax
lea eax, [ebp - 0x5266]
mov dword [ebp - 0x5224], ecx
push eax
lea ecx, [ebp - 0x4c0]
call fcn.00404e80
mov ecx, dword [ebp - 0x5220]
xor edx, edx
test al, al
lea eax, [ebp - 0x521c]
cmove ecx, edx
push ecx
push eax
lea eax, [ebp - 0x5246]
mov dword [ebp - 0x5220], ecx
push eax
lea ecx, [ebp - 0x4c0]
call fcn.00404e80
mov ecx, dword [ebp - 0x521c]
xor edx, edx
movaps xmm2, xmmword [0x42d5e0]
test al, al
movaps xmm3, xmmword [0x42d5a0]
cmove ecx, edx
mov dword [ebp - 0x521c], ecx
xor ecx, ecx
nop
movups xmm0, xmmword [ebp + ecx - 0x5308]
movaps xmm1, xmm2
pxor xmm1, xmm0
psubb xmm1, xmm3
movups xmmword [ebp + ecx - 0x5308], xmm1
movups xmm0, xmmword [ebp + ecx - 0x52f8]
movaps xmm1, xmm2
pxor xmm0, xmm2
psubb xmm0, xmm3
movups xmmword [ebp + ecx - 0x52f8], xmm0
movups xmm0, xmmword [ebp + ecx - 0x52e8]
pxor xmm0, xmm2
psubb xmm0, xmm3
movups xmmword [ebp + ecx - 0x52e8], xmm0
movups xmm0, xmmword [ebp + ecx - 0x52d8]
pxor xmm1, xmm0
psubb xmm1, xmm3
movups xmmword [ebp + ecx - 0x52d8], xmm1
add ecx, 0x40
cmp ecx, 0x4e40
jb 0x406270
cmp ecx, 0x4e48
jae 0x40630b
nop dword [eax]
mov al, byte [ebp + ecx - 0x5308]
xor al, 0xd8
sub al, 0x41
mov byte [ebp + ecx - 0x5308], al
inc ecx
cmp ecx, 0x4e48
jb 0x4062f0
push 0
push 0x20
push 2
push 0
push 1
push 0x40000000
push str..Client_LicenseLicense.Lic
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x530c], eax
cmp eax, 0xffffffff
je 0x40636a
push 0
lea ecx, [ebp - 0x5310]
mov dword [ebp - 0x5310], 0
push ecx
push 0x4e48
lea ecx, [ebp - 0x5308]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x530c]
test eax, eax
jne 0x40651e
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x40639e
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406394
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0x78]
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
cmp edx, 0x10
jb 0x4063e7
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4063dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x40641b
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406411
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0x60]
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
cmp edx, 0x10
jb 0x406461
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406457
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x406495
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40648b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0x90]
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
cmp edx, 0x10
jb 0x4064e1
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4064d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x406517
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40650d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push ecx
push esi
call fcn.0042458e
add esp, 8
xor eax, eax
jmp 0x4068fc
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str..Client_LicenseMessage.txt
call edi
add esp, 4
push str..SGGuard.dll
call edi
add esp, 4
push str..wzAudio.dll
call edi
add esp, 4
push str._Silent_GameGuard_____System__:_Client_License_Generate_successfully
push 2
call fcn.0041a050
add esp, 8
jmp 0x406563
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x406597
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40658d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x4065e0
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4065d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x406614
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40660a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x40665a
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406650
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x40668e
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406684
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp edx, 0x10
jb 0x4066da
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4066d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x406517
mov ecx, dword [ebp - 0xbc]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x406710
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
xor eax, eax
jmp 0x4068fc
push str._Silent_GameGuard_____System__:_Client_License_Generate_Error__wzAudio.dll_Missing_
push 1
call fcn.0041a050
push str..Client_LicenseMessage.txt
call edi
add esp, 0xc
push str..SGGuard.dll
call edi
add esp, 4
push str..wzAudio.dll
call edi
mov edx, dword [ebp - 0x18]
add esp, 4
cmp edx, 0x10
jb 0x40677f
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406775
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x4067c8
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4067be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4067fc
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4067f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x406842
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406838
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x406876
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40686c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp edx, 0x10
jb 0x4068c2
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4068b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0xa8]
cmp edx, 0x10
jb 0x4068fc
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4068f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00424550
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str._Silent_GameGuard_____System__:_Client_License_Generate_Error__SGGuard.dll_Missing_
jmp 0x406726
push str._Silent_GameGuard_____System__:_Client_License_Generate_Error__Main.exe_Missing_
push 1
call fcn.0041a050
push str..Client_LicenseMessage.txt
call edi
add esp, 0xc
push str..SGGuard.dll
call edi
add esp, 4
push str..wzAudio.dll
call edi
mov edx, dword [ebp - 0x18]
add esp, 4
cmp edx, 0x10
jb 0x406982
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406978
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x4069cb
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4069c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4069ff
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4069f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x406a45
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406a3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x406a79
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406a6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp edx, 0x10
jb 0x406ac1
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406ab7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af9
push edx
push ecx
call fcn.0042458e
add esp, 8
mov edx, dword [ebp - 0xa8]
cmp edx, 0x10
jb 0x4068fc
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4068f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4068f2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3