Function at 0x404ce0
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 0x424b3e
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x5304
call fcn.00424870
mov eax, dword [0x43300c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
jmp 0x404d37
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.00405b50
push eax
lea ecx, [ebp - 0xbc]
call fcn.00406070
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x404db5
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404dab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404dab
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004235ae
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 0x23
push str.http:__downloads.panel.mumatrix.com
call fcn.00401960
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x5c]
call fcn.00406070
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 0x404e7d
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 0x404e94
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 0x23
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x74]
push str.http:__downloads.panel.mumatrix.com
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.00406070
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 0x404f4b
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 0x404f62
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 0x23
mov dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x8c]
push str.http:__downloads.panel.mumatrix.com
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.00406070
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 0x405025
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 0x40503c
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 0x405974
push str..SGGuard.dll
call esi
test eax, eax
je 0x40596a
push str..wzAudio.dll
call esi
test eax, eax
je 0x405771
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 0x427990
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 0x427990
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, 0x43b9d8
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 [0x43306c]
movups xmmword [ebp - 0x5256], xmm0
movups xmm0, xmmword [str.Main.exe]
movups xmmword [ebp - 0x5286], xmm0
movups xmm0, xmmword [0x4330d4]
movups xmmword [ebp - 0x5276], xmm0
movups xmm0, xmmword [str.SGGuard.dll]
movups xmmword [ebp - 0x5246], xmm0
movups xmm0, xmmword [0x4330a0]
movups xmmword [ebp - 0x5236], xmm0
movups xmm0, xmmword [str.Version_:_1.0.32_R6]
movups xmmword [ebp - 0x5308], xmm0
movups xmm0, xmmword [0x433038]
movups xmmword [ebp - 0x52f8], xmm0
call fcn.0040e6c0
push 0x19c8
lea eax, [ebp - 0x5218]
push 0x43ba5c
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x3850]
push 0x19c8
push 0x43d424
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x1e88]
push 0x19c8
push 0x43edec
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x4c0]
call fcn.00403da0
push ecx
lea eax, [ebp - 0x5224]
push eax
lea eax, [ebp - 0x5286]
push eax
lea ecx, [ebp - 0x4c0]
call fcn.00403ed0
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.00403ed0
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.00403ed0
mov ecx, dword [ebp - 0x521c]
xor edx, edx
movaps xmm2, xmmword [0x42c600]
test al, al
movaps xmm3, xmmword [0x42c5d0]
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 0x4052c0
cmp ecx, 0x4e48
jae 0x40535b
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 0x405340
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 0x4053ba
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 0x40556e
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4053ee
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4053e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
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 0x405437
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40542d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
add esp, 8
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x40546b
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405461
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
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 0x4054b1
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4054a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
add esp, 8
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x4054e5
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4054db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
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 0x405531
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405527
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
add esp, 8
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x405567
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40555d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push ecx
push esi
call fcn.004235ae
add esp, 8
xor eax, eax
jmp 0x40594c
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_Generated_successfully
push 2
call fcn.00419440
add esp, 8
jmp 0x4055b3
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4055e7
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4055dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
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 0x405630
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405626
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
add esp, 8
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x405664
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40565a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
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 0x4056aa
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4056a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
add esp, 8
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x4056de
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4056d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
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 0x40572a
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405720
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
add esp, 8
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x405567
mov ecx, dword [ebp - 0xbc]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x405760
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
add esp, 8
xor eax, eax
jmp 0x40594c
push str._Silent_GameGuard_____System__:_Client_License_Generated_Error__wzAudio.dll_Missing_
push 1
call fcn.00419440
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 0x4057cf
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4057c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
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 0x405818
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40580e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
add esp, 8
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x40584c
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405842
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
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 0x405892
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405888
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
add esp, 8
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x4058c6
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4058bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
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 0x405912
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405908
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
add esp, 8
mov edx, dword [ebp - 0xa8]
cmp edx, 0x10
jb 0x40594c
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405942
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
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.00423570
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str._Silent_GameGuard_____System__:_Client_License_Generated_Error__SGGuard.dll_Missing_
jmp 0x405776
push str._Silent_GameGuard_____System__:_Client_License_Generated_Error__Main.exe_Missing_
push 1
call fcn.00419440
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 0x4059d2
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4059c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
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 0x405a1b
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405a11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
add esp, 8
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x405a4f
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405a45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
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 0x405a95
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405a8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
add esp, 8
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x405ac9
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405abf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
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 0x405b11
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405b07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b49
push edx
push ecx
call fcn.004235ae
add esp, 8
mov edx, dword [ebp - 0xa8]
cmp edx, 0x10
jb 0x40594c
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405942
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405942
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3