Function at 0x4061c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bba7b
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x4f4214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [esi + 0x12c]
lea edx, [ebp - 0x120]
mov dword [ebp - 0x120], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
push edx
push 0x4d4074
call eax
cmp dword [ebp - 0x120], 0
je 0x406449
mov ecx, dword [esi + 0x12c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x4c]
push edi
push 0
call eax
mov edi, eax
test edi, edi
je 0x406449
lea edx, [esi + 0x28]
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406241
sub eax, ebx
test eax, eax
jle 0x40643b
mov ecx, dword [ebp - 0x120]
push ecx
push edx
push str._s_s.plist
lea edx, [ebp - 0x114]
push 0x104
push edx
call fcn.0049cd3e
mov ecx, dword [esi + 0x12c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x60]
add esp, 0x14
push 3
push str._Documents_duoduo.cfg
push edi
call edx
mov ebx, eax
test ebx, ebx
je 0x4062e8
mov ecx, dword [esi + 0x12c]
lea edx, [ebp - 0x118]
push edx
mov dword [ebp - 0x118], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x90]
lea edx, [ebp - 0x114]
push edx
call eax
mov ecx, dword [esi + 0x12c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x6c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x118]
push eax
mov eax, dword [ebp - 0x11c]
push eax
push ebx
push edi
call edx
mov ecx, dword [esi + 0x12c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x64]
push ebx
push edi
call edx
lea eax, [ebp - 0x114]
push 0x4d45d8
push eax
call fcn.0049d1a1
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4063bb
push 2
push 0
push ebx
call fcn.0049d89d
push ebx
call fcn.0049d7ae
push eax
mov dword [ebp - 0x11c], eax
call fcn.0049c139
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 4], 0
push 0
push 0
push ebx
call fcn.0049d89d
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
push ebx
push ecx
push 1
push edx
call fcn.0049d402
push ebx
call fcn.0049d986
mov ecx, dword [esi + 0x12c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x60]
add esp, 0x34
push 3
push str._Documents_config.plist
push edi
call edx
mov ebx, eax
test ebx, ebx
je 0x4063a5
mov edx, dword [ebp - 0x11c]
mov ecx, dword [esi + 0x12c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
push edx
mov edx, dword [ebp - 0x118]
push edx
push ebx
push edi
call eax
mov ecx, dword [esi + 0x12c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x64]
push ebx
push edi
call eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x118]
push ecx
call fcn.0049c71f
add esp, 4
mov ecx, dword [esi + 0x12c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
push 3
push str._Documents_mark
push edi
call eax
mov ebx, eax
test ebx, ebx
je 0x4063fb
mov ecx, dword [esi + 0x12c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
push 9
push str.duoduoLib
push ebx
push edi
call eax
mov ecx, dword [esi + 0x12c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x64]
push ebx
push edi
call eax
mov ecx, dword [esi + 0x12c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
push 3
push str._Documents_auth
push edi
call eax
mov ebx, eax
test ebx, ebx
je 0x40643b
mov ecx, dword [esi + 0x12c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
push 0x1c
push str._r_n_t_ddversion_:__2.0.27__r_n
push ebx
push edi
call eax
mov ecx, dword [esi + 0x12c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x64]
push ebx
push edi
call eax
mov ecx, dword [esi + 0x12c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
push edi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049c72a
mov esp, ebp
pop ebp
ret