Function at 0x415b90
Capabilities:
Check if file exists
Download url
Get common file path
Hide graphical window
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ce9c
mov eax, dword fs:[0]
push eax
sub esp, 0xc7c
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0xc74], 0x484070
movups xmmword [ebp - 0xc70], xmm0
mov dword [ebp - 0xc60], 0
mov dword [ebp - 0xc5c], 0
mov edi, dword [0x4c24c8]
add edi, 0x10
mov dword [ebp - 4], 0
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x4c25fc]
push 4
mov dword [ebp - 0xc10], eax
mov ecx, dword [esi + 8]
inc ecx
push ecx
push dword [esi]
call fcn.004346a4
add esp, 0xc
test eax, eax
je 0x415c68
mov dword [esi], eax
mov eax, dword [esi + 8]
push 4
inc eax
push eax
push dword [esi + 4]
call fcn.004346a4
add esp, 0xc
test eax, eax
je 0x415c68
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
lea edx, [ecx*4]
mov ecx, dword [esi]
add ecx, edx
je 0x415c59
mov eax, dword [ebp - 0xc10]
mov dword [ecx], eax
mov eax, dword [esi + 4]
add eax, edx
je 0x415c65
lea ecx, [ebp - 0xc74]
mov dword [eax], ecx
inc dword [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0xc04]
call fcn.0041d1b0
push dword [ebp - 0xc1c]
lea eax, [ebp - 0xbe4]
mov byte [ebp - 4], 1
push eax
push 0x4be1f0
push 0x4be028
push 0x4c2648
call fcn.00403910
add esp, 0x14
movzx eax, ax
lea ecx, [ebp - 0xc04]
push 0
push eax
push 0
push 0
push SysReAllocString
push 0
push 0
push 0
call fcn.004078c0
test eax, eax
jne 0x415ccd
xor esi, esi
jmp 0x416280
mov ecx, dword [0x4c2550]
test ecx, ecx
je 0x415d26
push dword [ebp + 0xc]
push dword [ebp - 0xc00]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0xc00]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0xc00]
call esi
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [ebp - 0xc00]
call esi
mov ecx, dword [0x4c2550]
test ecx, ecx
mov edx, str.Create_Main_Wnd_and_show
mov eax, str.Silent_mode
cmovne eax, edx
push eax
call fcn.0044e890
mov eax, dword [ebp - 0xc00]
push 0x208
mov dword [0x4c24d8], eax
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00432c40
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x420]
add esp, 0x10
push 0
push 0x10
push eax
push 0
call esi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00432c40
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x420]
push 0x485910
push dword [0x4c25a8]
push eax
lea eax, [ebp - 0x218]
push str._s_s._s
push eax
call edi
add esp, 0x20
mov byte [ebp - 0xc05], 1
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415de1
push str.cancel_repeat
push 0x485234
call fcn.0040b360
push eax
call fcn.00450840
add esp, 0xc
xor al, al
jmp 0x415de7
mov al, byte [ebp - 0xc05]
xor ecx, ecx
movzx eax, al
cmp dword [0x4c24d4], 4
cmove ecx, eax
cmp dword [0x4c2598], 0
sete al
and cl, al
je 0x416174
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00432c40
add esp, 0xc
lea eax, [ebp - 0x628]
push 0
push 0x10
push eax
push 0
call esi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00432c40
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x628]
add esp, 0xc
push eax
lea eax, [ebp - 0x218]
push eax
call esi
push dword [0x4c25a8]
lea eax, [ebp - 0x218]
push eax
call esi
push 0x485910
push dword [0x4c25a8]
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push str._s_s._s
push eax
call edi
add esp, 0x14
call fcn.0040b4c0
mov ecx, eax
test ecx, ecx
je 0x4162ec
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
mov dword [ebp - 0xc1c], esi
lea ecx, [esi + 0x10]
mov dword [ebp - 0xc88], ecx
push 0x208
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00432c40
push dword [0x4c25a8]
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push str._s_s
push eax
call edi
add esp, 0x1c
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push dword [0x4c25a4]
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
or edi, 0xffffffff
test eax, eax
jne 0x41615e
mov eax, dword [0x4c25a0]
mov dword [ebp - 0xc0c], eax
lea eax, [ebp - 0xc14]
push eax
push 0x492b80
push 1
push 0
push 0x492b70
mov dword [ebp - 0xc14], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41615e
mov eax, dword [ebp - 0xc14]
push 1
push dword [ebp - 0xc0c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x41615e
mov eax, dword [ebp - 0xc14]
lea edx, [ebp - 0xc18]
push edx
mov dword [ebp - 0xc18], 0
push 0x492bd0
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
js 0x4160aa
mov eax, dword [ebp - 0xc18]
lea edx, [ebp - 0xc0c]
push edx
push 1
mov dword [ebp - 0xc0c], 0
mov ecx, dword [eax]
push 0x492b60
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x41609e
mov eax, 0x1f
mov dword [ebp - 0xc84], 1
mov word [ebp - 0xc3c], ax
xorps xmm0, xmm0
lea eax, [ebp - 0xc34]
mov dword [ebp - 0xc80], 9
push eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0xc7c], 1
push eax
mov dword [ebp - 0xc78], 8
movups xmmword [ebp - 0xc3a], xmm0
mov dword [ebp - 0xc22], 0
movq qword [ebp - 0xc2a], xmm0
mov word [ebp - 0xc1e], 0
call dword [sym.imp.SHLWAPI.dll_SHStrDupW]
test eax, eax
jns 0x416033
xorps xmm0, xmm0
movups xmmword [ebp - 0xc3c], xmm0
mov eax, 2
lea edx, [ebp - 0xc3c]
mov word [ebp - 0xc2c], ax
xor eax, eax
push 0
mov word [ebp - 0xc24], ax
mov eax, dword [ebp - 0xc0c]
push edx
lea edx, [ebp - 0xc84]
push edx
mov ecx, dword [eax]
push 2
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0xc0c]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0xc0c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [sym.imp.ole32.dll_PropVariantClear]
lea eax, [ebp - 0xc3c]
push eax
call esi
lea eax, [ebp - 0xc2c]
push eax
call esi
mov esi, dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc14]
lea edx, [ebp - 0xc10]
push edx
mov dword [ebp - 0xc10], 0
push 0x492bc0
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
js 0x4160f0
mov eax, dword [ebp - 0xc10]
lea edx, [ebp - 0x218]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0xc10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push str.create_dsk_
lea ecx, [ebp - 0xc10]
call fcn.00403f50
mov eax, dword [0x4c259c]
lea ecx, [ebp - 0xc10]
mov byte [ebp - 4], 3
push dword [eax - 0xc]
push eax
call fcn.00405f70
push dword [ebp - 0xc10]
push 0x485234
call fcn.0040b360
push eax
call fcn.00450840
mov edx, dword [ebp - 0xc10]
add esp, 0xc
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41615e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x416174
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov edx, 1
mov dword [ebp - 0xc0c], edx
xor esi, esi
test edx, edx
je 0x4161c2
nop dword [eax + eax]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc58]
push eax
call edi
test eax, eax
jne 0x4161c2
mov eax, dword [ebp - 0xc74]
lea ecx, [ebp - 0xc74]
push esi
mov eax, dword [eax + 4]
call eax
inc esi
test eax, eax
jne 0x416190
mov dword [ebp - 0xc0c], eax
push 0
push 0
push 0
lea eax, [ebp - 0xc58]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
mov edx, dword [ebp - 0xc0c]
cmp eax, 0xffffffff
je 0x416187
test eax, eax
je 0x416270
lea eax, [ebp - 0xc58]
push eax
mov eax, dword [ebp - 0xc74]
lea ecx, [ebp - 0xc74]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x41621d
lea eax, [ebp - 0xc58]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0xc58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0xc54]
cmp eax, 0x118
ja 0x416238
je 0x41625a
cmp eax, 0xf
je 0x41625a
cmp eax, 0xa0
jmp 0x41623d
cmp eax, 0x200
je 0x41625a
mov ecx, 1
xor eax, eax
test ecx, ecx
mov edx, ecx
mov dword [ebp - 0xc0c], edx
cmove eax, esi
mov esi, eax
jmp 0x416187
mov edx, dword [ebp - 0xc0c]
xor ecx, ecx
xor eax, eax
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x416187
mov esi, dword [ebp - 0xc50]
mov ecx, 0x4c25c8
call fcn.00415670
lea ecx, [ebp - 0xc04]
call fcn.0041d5f0
mov eax, dword [ebp - 0xc64]
test eax, eax
je 0x4162a8
push eax
call fcn.0043442e
add esp, 4
mov dword [ebp - 0xc64], 0
mov ecx, dword [ebp - 0xc70]
mov dword [ebp - 0xc60], 0
mov dword [ebp - 0xc5c], 0
test ecx, ecx
je 0x4162cf
push ecx
call fcn.0043442e
add esp, 4
mov eax, esi
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.0042c75e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004068b0
int3