Function at 0x42a5a0
Capabilities:
Download url
Get common file path
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a0dd
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x4fa140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4faf40]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4faf10]
cmp eax, dword [ecx + 4]
jg 0x42a9e0
lea eax, [ebp - 0x458]
mov dword [ebp - 0x458], 0x425c0000
push eax
mov dword [ebp - 0x454], 0x42d40000
call fcn.00410ac0
call fcn.00405ec0
push 0x4faef4
push 0
push str.GayHack
call fcn.004273c0
push 0x4faef4
push 1
push str.Enigma_BETA
call fcn.004273c0
push 0x4faef4
push 2
push str.MAS_v1
call fcn.004273c0
push 0x4faef4
push 3
push str.MAS_v2
call fcn.004273c0
add esp, 0x34
call fcn.00408060
call fcn.0042a0e0
mov eax, dword [0x4faef4]
cmp eax, 3
ja case.default.0x42a66d
jmp dword [eax*4 + 0x42aa38]
push 0x56
push 0x450508
mov ecx, 0x4faef8
call fcn.00429c40
mov dword [0x4fa100], 0x4505b8
jmp case.default.0x42a66d
push 0x55
push str.https:__cdn.discordapp.com_attachments_1184191133341991112_1188282010096123934_en.exe
mov ecx, 0x4faef8
call fcn.00429c40
mov dword [0x4fa100], 0x45067c
jmp case.default.0x42a66d
push 0x58
push str.https:__cdn.discordapp.com_attachments_1184191133341991112_1188282031004717138_mas_2.exe
mov ecx, 0x4faef8
call fcn.00429c40
mov dword [0x4fa100], 0x45074c
jmp case.default.0x42a66d
push 0x59
push str.https:__cdn.discordapp.com_attachments_1184191133341991112_1188282021039063120_mas2_2.exe
mov ecx, 0x4faef8
call fcn.00429c40
mov dword [0x4fa100], 0x45081c
lea eax, [ebp - 0x458]
mov dword [ebp - 0x458], 0x42480000
push eax
mov dword [ebp - 0x454], 0x43a78000
call fcn.00410ac0
lea eax, [ebp - 0x458]
mov dword [ebp - 0x458], 0x42700000
push eax
push 0x450834
mov dword [ebp - 0x454], 0x41f00000
call fcn.004254d0
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
add esp, 0xc
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
test al, al
je 0x42a870
lea eax, [ebp - 0x218]
push eax
push 0x104
call esi
test eax, eax
je 0x42a860
mov esi, dword [0x4fa100]
lea ecx, [ebp - 0x218]
xorps xmm0, xmm0
mov dword [ebp - 0x460], 0
movups xmmword [ebp - 0x470], xmm0
mov dword [ebp - 0x45c], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a785
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x470]
call fcn.004277a0
push esi
lea eax, [ebp - 0x470]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00427600
add esp, 0xc
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 3
call fcn.00428340
cmp dword [ebp - 0x424], 7
lea edi, [ebp - 0x438]
mov esi, 0x4faef8
cmova edi, dword [ebp - 0x438]
cmp dword [0x4faf0c], 7
cmova esi, dword [0x4faef8]
push esi
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push 0
push 0
push edi
push esi
push 0
call sub.urlmon.dll_URLDownloadToFileW
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
test eax, eax
jns 0x42a829
push 0x10
push str.Fatal_error
push str.Failed_to_download_file.
push 0
call edi
cmp dword [ebp - 0x424], 7
lea eax, [ebp - 0x438]
cmova eax, dword [ebp - 0x438]
push eax
call fcn.00428910
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.00428340
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x42a870
push 0x10
push str.Fatal_error
push str.Failed_to_get_temp_path.
push 0
call edi
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.004104e0
lea eax, [ebp - 0x458]
mov dword [ebp - 0x458], 0x42700000
push eax
push str.Launcher
mov dword [ebp - 0x454], 0x41f00000
call fcn.004254d0
add esp, 0x10
test al, al
je 0x42a9c5
lea eax, [ebp - 0x420]
push eax
push 0x104
call esi
test eax, eax
je 0x42a9b5
xorps xmm0, xmm0
mov dword [ebp - 0x478], 0
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x474], 0
movups xmmword [ebp - 0x488], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a8f4
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x488]
call fcn.004277a0
push str.launcher.exe
lea eax, [ebp - 0x488]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.00427600
add esp, 0xc
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 6
call fcn.00428340
cmp dword [ebp - 0x43c], 7
lea esi, [ebp - 0x450]
push str.https:__webdata.c7x.dev_sworroo_CristalixLauncher.exe
cmova esi, dword [ebp - 0x450]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push 0
push 0
push esi
push str.https:__webdata.c7x.dev_sworroo_CristalixLauncher.exe
push 0
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
jns 0x42a98b
push 0x10
push str.Fatal_error
push str.Failed_to_download_file.
push 0
call edi
cmp dword [ebp - 0x43c], 7
lea eax, [ebp - 0x450]
cmova eax, dword [ebp - 0x450]
push eax
call fcn.00428910
add esp, 4
lea ecx, [ebp - 0x450]
call fcn.00428340
jmp 0x42a9c5
push 0x10
push str.Fatal_error
push str.Failed_to_get_temp_path.
push 0
call edi
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.0042badc
mov esp, ebp
pop ebp
ret
push 0x4faf10
call fcn.0042be6f
add esp, 4
cmp dword [0x4faf10], 0xffffffff
jne 0x42a5ed
push 0
push 0x4500d0
mov ecx, 0x4faef8
mov dword [ebp - 4], 0
call fcn.004277a0
push 0x44a1b0
call fcn.0042bdde
push 0x4faf10
mov dword [ebp - 4], 0xffffffff
call fcn.0042be1e
add esp, 8
jmp 0x42a5ed