Function at 0x414be0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435fee
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x446414]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], eax
push str.YSUpdate.xml
lea eax, [ebp - 0x20]
push eax
mov ebx, 0xc
call fcn.00401f90
mov eax, 1
test byte [0x449000], al
jne 0x414c91
or dword [0x449000], eax
mov byte [ebp - 4], al
call fcn.00401000
push 0x437470
call fcn.004204a6
add esp, 4
xor ebx, ebx
mov byte [ebp - 4], bl
jmp 0x414c93
xor ebx, ebx
push 0x449004
mov ecx, 0x440278
lea edx, [ebp - 0x14]
call fcn.00401ad0
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x44900c]
jne 0x414cb4
xor ecx, ecx
jmp 0x414cb7
mov ecx, dword [eax + 0x10]
lea edx, [ebp - 0x10]
push edx
call fcn.00401bd0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
push 0x2f
push eax
call fcn.00421fd4
mov ecx, dword [ebp - 0x10]
add esp, 8
cmp eax, ebx
jne 0x414cde
or eax, 0xffffffff
jmp 0x414ce2
sub eax, ecx
sar eax, 1
mov edx, dword [ecx - 0xc]
dec edx
cmp eax, edx
jne 0x414d2d
mov eax, dword [ecx - 0xc]
lea eax, [eax - 1]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0040eaf0
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00401c70
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414d2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push str.YSUpdate.xml
push ecx
push 0x440280
lea edi, [ebp - 0x18]
call fcn.00404180
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, section..data
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], vtable.CFileDownloader.0
call eax
mov edx, dword [section..data]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
mov edx, dword [section..data]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x24]
push ecx
lea edi, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00412ff0
push ebx
push ebx
lea edx, [ebp - 0x40]
push edx
push 0x404220
push ebx
push ebx
call fcn.00420924
add esp, 0x18
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x3c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
lea esi, [ebp - 0x38]
mov dword [ebp - 0x3c], ebx
call fcn.00412140
mov ecx, dword [ebp - 0x3c]
push ecx
mov dword [ebp - 0x40], vtable.CThreadTask.0
call edi
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414e06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x24]
call fcn.00412140
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret