Function at 0x492c14
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push 0x34
mov eax, 0x5d223f
call fcn.00506dc7
mov edi, ecx
lea ecx, [ebp - 0x40]
call fcn.0042ca82
lea esi, [edi + 0x30]
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x54]
mov byte [edi + 0x2c], 1
push eax
lea eax, [ebp - 0x20]
push str.users_
push eax
call fcn.0042e01c
add esp, 8
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.config
push eax
push ecx
call fcn.0042dfbd
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
push esp
call fcn.0043944c
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x40]
call fcn.00434114
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 4
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push esi
mov byte [edi + 0x2c], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x14]
push eax
call fcn.00467006
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.avatar_80.jpg
call fcn.00413f09
push ecx
mov esi, esp
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00412393
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x10]
pop ecx
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00434114
push ecx
mov esi, esp
mov byte [ebp - 4], 6
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00412393
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x1c]
pop ecx
push eax
mov ecx, edi
call fcn.0047f7e6
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
cmp dword [eax - 0xc], ebx
je 0x492e1b
call fcn.0041279d
push eax
lea ecx, [ebp - 0x18]
call fcn.00411d94
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x18]
push str._r_d
push eax
call fcn.00412690
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0043910d
add esp, 0xc
push ebx
push ebx
push dword [ebp - 0x10]
push dword [eax]
push ebx
call sub.urlmon.dll_URLDownloadToFileW
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push dword [ebp - 0x10]
call fcn.00495be8
mov ebx, dword [ebp - 0x20]
pop ecx
pop ecx
test ebx, ebx
je 0x492e0d
push 0x44
push 0x44
push ebx
call fcn.004cf756
add esp, 0xc
mov edi, eax
push 0x64
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.avatar.jpg
call fcn.00413f09
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 9
mov esi, esp
push eax
mov dword [ebp - 0x28], esi
call fcn.00412393
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x20]
pop ecx
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.00434114
push dword [eax]
mov byte [ebp - 4], 0xa
push edi
call fcn.004cea8d
mov ecx, dword [ebp - 0x20]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
test edi, edi
je 0x492e0d
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov eax, dword [ebp - 0x1c]
lea ecx, [eax - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea ecx, [ebp - 0x40]
call fcn.0042e60b
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
call fcn.00506d90
ret