Function at 0x40fe60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4360af
mov eax, dword fs:[0]
push eax
mov eax, 0x1014
call fcn.0042eb10
mov eax, dword [0x446414]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test byte [0x448ff8], 1
mov ebx, ecx
mov dword [ebp - 0x1014], ebx
jne 0x40fece
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
or dword [0x448ff8], 1
mov ecx, section..data
call edx
add eax, 0x10
push 0x437440
mov dword [0x448ffc], eax
call fcn.004204a6
add esp, 4
lea esi, [ebp - 0x101c]
mov ecx, 0x448ffc
call fcn.004049b0
mov dword [ebp - 4], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x1018], eax
mov byte [ebp - 4], 1
test byte [0x449000], 1
jne 0x40ff2b
or dword [0x449000], 1
mov byte [ebp - 4], 2
call fcn.00401000
push 0x437470
call fcn.004204a6
add esp, 4
mov byte [ebp - 4], 1
push 0x449004
mov ecx, str.path
lea edx, [ebp - 0x1020]
call fcn.00401ad0
mov eax, dword [ebp - 0x1020]
cmp eax, dword [0x44900c]
jne 0x40ff52
xor eax, eax
jmp 0x40ff55
mov eax, dword [eax + 0x10]
push str.GUID.db
push eax
push 0x43b32c
lea edi, [ebp - 0x1018]
call fcn.00404180
mov eax, dword [ebp - 0x1018]
add esp, 0xc
push 0x440454
push eax
call fcn.00420aa2
mov edi, eax
add esp, 8
test edi, edi
je 0x410011
push 0xfff
lea ecx, [ebp - 0x100f]
push 0
push ecx
mov byte [ebp - 0x1010], 0
call fcn.004224d0
add esp, 0xc
push edi
push 0x1000
lea edx, [ebp - 0x1010]
push 1
push edx
call fcn.004212fb
lea eax, [ebp - 0x1010]
push eax
call fcn.00411620
mov esi, eax
add esp, 0x14
test esi, esi
je 0x40ffe6
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ffd7
sub eax, edx
sar eax, 1
push esi
lea ecx, [ebp - 0x101c]
push ecx
mov ebx, eax
call fcn.00401f90
test esi, esi
je 0x410002
push esi
call fcn.00420378
add esp, 4
push edi
call fcn.00420b6d
mov ebx, dword [ebp - 0x1014]
add esp, 4
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
push str.client.updatefeedback
push str.action
call edx
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebp - 0x101c]
mov eax, dword [ecx]
mov edx, dword [eax]
push 0
push esi
push str.updateNumber
call edx
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 0
push 1
push str.state
call edx
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax]
push 0
push str.update_successful
push str.message
call edx
lea edi, [ebp - 0x1014]
call fcn.004104a0
push 0
push 0x1e
mov byte [ebp - 4], 3
mov eax, dword [eax]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
push 1
push eax
mov eax, dword [edx + 0xc]
push 2
push ebx
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1014]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4100ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 8]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1018]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4100ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41010f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041fcea
mov esp, ebp
pop ebp
ret