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

Disassembly:
push 0xffffffffffffffff
push 0x432006
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x43fcc0]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43fcc0]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], 0
push 0
push 0x15
lea eax, [esp + 0x48]
push eax
mov ebp, 1
push 0
mov dword [esp + 0x160], ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
call fcn.0041185d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406180
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x20]
push str._sls.txt
push edx
mov byte [esp + 0x15c], 2
call fcn.004020b0
mov ebx, dword [esp + 0x164]
add esp, 0xc
push ebx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov edi, dword [esp + 0x1c]
push 0
push 0
push edi
push ebx
push 0
call sub.urlmon.dll_URLDownloadToFileA
call fcn.0041185d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4061e8
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], ebp
call fcn.00418144
push 0
push 0
push edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x15c], 3
call fcn.0041815a
test eax, eax
je 0x406380
call fcn.0041185d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40623b
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x154], 4
call fcn.00418673
test eax, eax
je 0x40634f
lea esp, [esp]
push 0x437df4
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00408d80
add esp, 0xc
mov byte [esp + 0x150], 5
mov eax, dword [eax]
mov ebp, dword [eax - 0xc]
mov edi, eax
mov eax, dword [esi]
mov ebx, dword [eax - 0xc]
mov ecx, 1
sub ecx, dword [eax - 4]
mov dword [esp + 0x20], edi
sub edi, eax
mov eax, dword [eax - 8]
lea esi, [ebx + ebp]
sub eax, esi
or eax, ecx
jge 0x4062bf
mov ecx, dword [esp + 0x14]
push esi
call fcn.00401d80
cmp edi, ebx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
ja 0x4062d0
lea edx, [eax + edi]
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x20]
push ebp
push ecx
add eax, ebx
push ebp
push eax
call fcn.0041cb70
add esp, 0x10
test esi, esi
jl 0x406405
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
cmp esi, dword [eax - 8]
jg 0x406405
mov dword [eax - 0xc], esi
mov edx, dword [ecx]
mov byte [esi + edx], 0
mov byte [esp + 0x150], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40632a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x30]
call fcn.00418673
test eax, eax
mov esi, dword [esp + 0x14]
jne 0x406270
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x158]
lea ecx, [esp + 0x2c]
call fcn.00418504
mov byte [esp + 0x150], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406380
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x150], 2
call fcn.00418540
lea eax, [edi - 0x10]
mov byte [esp + 0x150], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4063b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x150], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4063d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0041c1f8
add esp, 0x140
ret 4
push 0x80070057
call fcn.00401090
int3