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

Disassembly:
push 8
push 0x350
mov eax, 0x4e70cb
call fcn.004e34f5
xor eax, eax
push 0xf
pop edi
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], edi
mov byte [ebp - 0x180], al
lea ecx, [ebp - 0x290]
mov dword [ebp - 4], eax
call fcn.0042366e
xor eax, eax
lea ecx, [ebp - 0x1c8]
inc eax
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 4], al
call fcn.00418618
push 0x19
push str.cso2_global_launcher.exe
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040382e
push eax
lea ecx, [ebp - 0x138]
call fcn.004036f2
lea ecx, [ebp - 0x1c8]
mov byte [ebp - 4], 4
call fcn.00403cab
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x138]
push eax
call fcn.00408c05
call fcn.004185a8
add esp, 0x18
test al, al
je 0x419267
lea ecx, [ebp - 0x290]
call fcn.00423687
push 0x10
pop esi
cmp dword [ebp - 0x124], esi
lea eax, [ebp - 0x138]
cmovae eax, dword [ebp - 0x138]
push eax
call fcn.00424b1e
lea ecx, [ebp - 0x290]
call fcn.00424ba9
push ecx
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x290]
call fcn.00424d3b
lea eax, [ebp - 0x120]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
xor eax, eax
mov dword [ebp - 0x13c], edi
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x140], eax
lea edx, [ecx + 1]
mov byte [ebp - 0x150], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418eeb
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x150]
call fcn.00408b44
push edi
push str.global_hash.txt
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 5
call fcn.0040382e
push eax
lea ecx, [ebp - 0x1b0]
call fcn.004036f2
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x13c]
cmp eax, esi
jb 0x418f7a
mov ecx, dword [ebp - 0x150]
inc eax
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x294], ecx
cmp eax, 0x1000
jb 0x418f71
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.00403c47
mov eax, dword [ebp - 0x29c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x294]
push eax
push ecx
call fcn.00482b0d
pop ecx
pop ecx
sub esp, 0x18
mov dword [ebp - 0x13c], edi
mov ecx, esp
xor eax, eax
mov byte [ebp - 0x294], al
mov dword [ebp - 0x140], eax
push str.6_3xls_tlclbvlerq620l_8__5_
push dword [ebp - 0x294]
mov byte [ebp - 0x150], al
push 0x28
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edi
call fcn.00408ad5
lea ecx, [ebp - 0x198]
call fcn.0040eeb5
add esp, 0x18
mov byte [ebp - 4], 8
lea eax, [ebp - 0x198]
cmp dword [ebp - 0x184], esi
mov edi, dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
cmovae eax, dword [ebp - 0x198]
push eax
call edi
cmp dword [ebp - 0x19c], esi
lea ecx, [ebp - 0x1b0]
lea eax, [ebp - 0x198]
cmovae ecx, dword [ebp - 0x1b0]
cmp dword [ebp - 0x184], esi
cmovae eax, dword [ebp - 0x198]
xor edx, edx
push edx
push edx
push ecx
push eax
push edx
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
jne 0x4191d7
cmp dword [ebp - 0x19c], esi
lea eax, [ebp - 0x1b0]
lea ecx, [ebp - 0x360]
cmovae eax, dword [ebp - 0x1b0]
sub esp, 0xc
push eax
call fcn.00405add
mov byte [ebp - 4], 9
xor ecx, ecx
mov eax, dword [ebp - 0x360]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x354], ecx
jne 0x4191cc
mov eax, dword [ebp + eax - 0x328]
test eax, eax
mov word [ebp - 0x294], 1
push dword [ebp - 0x294]
mov byte [ebp - 0x29b], cl
sete byte [ebp - 0x29c]
push ecx
push dword [ebp - 0x29c]
push eax
push ecx
lea ecx, [ebp - 0x150]
call fcn.0041e71d
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0xa
call fcn.00405a62
cmp dword [ebp - 0x13c], esi
lea eax, [ebp - 0x150]
push dword [ebp - 0x140]
cmovae eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x180]
cmp dword [ebp - 0x16c], esi
mov edx, dword [ebp - 0x170]
cmovae ecx, dword [ebp - 0x180]
push eax
call fcn.00407642
pop ecx
pop ecx
test al, al
jne 0x4191c1
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov byte [ebp - 0x294], al
push str.6_3xls_tlclbvlerq620l__p_v_.__8
push dword [ebp - 0x294]
mov dword [ecx], eax
push 0x31
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
call fcn.00408ad5
lea ecx, [ebp - 0x168]
call fcn.0040eeb5
cmp dword [ebp - 0x124], esi
lea eax, [ebp - 0x138]
cmovae eax, dword [ebp - 0x138]
push eax
call fcn.004aa5d3
add esp, 0x1c
lea eax, [ebp - 0x138]
cmp dword [ebp - 0x124], esi
cmovae eax, dword [ebp - 0x138]
push eax
call edi
cmp dword [ebp - 0x124], esi
lea ecx, [ebp - 0x138]
lea eax, [ebp - 0x168]
cmovae ecx, dword [ebp - 0x138]
cmp dword [ebp - 0x154], esi
cmovae eax, dword [ebp - 0x168]
xor edx, edx
push edx
push edx
push ecx
push eax
push edx
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
lea ecx, [ebp - 0x168]
test eax, eax
jne 0x4191bc
call fcn.00403cab
lea ecx, [ebp - 0x150]
call fcn.00403cab
lea ecx, [ebp - 0x360]
call fcn.0040423a
lea ecx, [ebp - 0x198]
call fcn.00403cab
lea ecx, [ebp - 0x1b0]
call fcn.00403cab
jmp 0x4191f4
call fcn.00403cab
lea ecx, [ebp - 0x150]
call fcn.00403cab
lea ecx, [ebp - 0x360]
call fcn.0040423a
lea ecx, [ebp - 0x198]
call fcn.00403cab
lea ecx, [ebp - 0x1b0]
call fcn.00403cab
mov byte [ebp - 0x2a4], 0
lea ecx, [ebp - 0x138]
call fcn.00403cab
lea ecx, [ebp - 0x290]
call fcn.00423687
mov eax, dword [ebp - 0x16c]
cmp eax, esi
jb 0x419258
mov ecx, dword [ebp - 0x180]
inc eax
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x29c], ecx
cmp eax, 0x1000
jb 0x41924f
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x29c]
push eax
call fcn.00403c47
mov eax, dword [ebp - 0x294]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x29c]
push eax
push ecx
call fcn.00482b0d
pop ecx
pop ecx
mov al, byte [ebp - 0x2a4]
mov ecx, dword [ebp - 0x14]
call fcn.004e34d3
ret
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov byte [ebp - 0x294], al
push str.6_3xls_tlclbvlerq620l__p_v_.__8
push dword [ebp - 0x294]
mov dword [ecx], eax
push 0x31
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edi
call fcn.00408ad5
lea ecx, [ebp - 0x168]
call fcn.0040eeb5
add esp, 0x18
lea ecx, [ebp - 0x138]
lea eax, [ebp - 0x168]
push 0x10
pop esi
cmp dword [ebp - 0x124], esi
cmovae ecx, dword [ebp - 0x138]
cmp dword [ebp - 0x154], esi
cmovae eax, dword [ebp - 0x168]
xor edx, edx
push edx
push edx
push ecx
push eax
push edx
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
lea ecx, [ebp - 0x168]
test eax, eax
jne 0x4191e8
call fcn.00403cab
xor eax, eax
inc eax
mov dword [ebp - 0x2a4], eax
jmp 0x4191f4