Function at 0x100e3720
Capabilities:
Get common file path
Get file size
Read file on windows

Disassembly:
sub esp, 0x560
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xc2]
mov word [esp + 0xc0], bx
mov word [esp + 0x20], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x160], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x162]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x164]
push 5
xor esi, esi
push eax
push ebx
xor ebp, ebp
mov dword [esp + 0x20], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100e3a10
lea ecx, [esp + 0x160]
lea edx, [esp + 0x368]
push ecx
push str._sWXWorkLocalGlobalConfig.cfg
push 0x103
push edx
call fcn.100ea69c
add esp, 0x10
lea eax, [esp + 0x368]
push ebx
push ebx
push 3
push ebx
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x18], esi
je 0x100e39ff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jbe 0x100e3999
push 0x1001
call fcn.101963be
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x100e3999
mov ecx, 0x400
xor eax, eax
mov edi, ebp
mov dword [esp + 0x14], ebx
rep stosd dword es:[edi], eax
lea edx, [esp + 0x14]
push ebx
push edx
push 0x1000
push ebp
push esi
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100e3980
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x100e3980
cmp eax, 0x1000
jae 0x100e3851
mov byte [eax + ebp], bl
cmp word [esp + 0xc0], bx
jne 0x100e38d2
push str._kAccountKey_:__
push ebp
call fcn.100ea810
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x100e38d2
mov edi, str._kAccountKey_:__
or ecx, 0xffffffff
xor eax, eax
push 0x22
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call fcn.100ea5e0
add esp, 8
cmp eax, ebx
je 0x100e38d2
lea ecx, [esp + 0xc0]
push 0x4f
sub eax, esi
push ecx
push eax
push esi
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [0x102acd68], ebx
je 0x100e38d2
lea edx, [esp + 0xc0]
push edx
push str.GetLogonUserNameByConfig_User__s_
push str.WxWork
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x14
cmp word [esp + 0x20], bx
jne 0x100e3951
push str._QrcodeLoginNickName_:__
push ebp
call fcn.100ea810
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x100e394a
mov edi, str._QrcodeLoginNickName_:__
or ecx, 0xffffffff
xor eax, eax
push 0x22
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call fcn.100ea5e0
add esp, 8
cmp eax, ebx
je 0x100e394a
lea ecx, [esp + 0x20]
push 0x4f
sub eax, esi
push ecx
push eax
push esi
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [0x102acd68], ebx
je 0x100e394a
lea edx, [esp + 0x20]
push edx
push str.GetLogonUserNameByConfig_Nick__s_
push str.WxWork
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x14
cmp word [esp + 0x20], bx
je 0x100e395b
cmp word [esp + 0xc0], bx
jne 0x100e397c
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x14]
push ebx
push eax
push 0x1000
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100e383b
jmp 0x100e3980
mov esi, dword [esp + 0x18]
cmp word [esp + 0x20], bx
jne 0x100e3991
cmp word [esp + 0xc0], bx
je 0x100e3999
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, ebx
je 0x100e39ad
push ebp
call fcn.101963e7
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x100e3a33
mov esi, dword [esp + 0x578]
mov edi, dword [esp + 0x574]
lea edx, [esp + 0xc0]
lea ecx, [esi - 1]
push ecx
push edx
push edi
call fcn.100e9975
mov word [edi + esi*2 - 2], bx
mov esi, dword [esp + 0x58c]
mov edi, dword [esp + 0x588]
lea ecx, [esp + 0x2c]
lea eax, [esi - 1]
push eax
push ecx
push edi
call fcn.100e9975
add esp, 0x18
mov word [edi + esi*2 - 2], bx
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x560
ret 0x10
cmp dword [0x102acd68], ebx
je 0x100e3a31
push str.GetLogonUserNameByConfig_
push str.WxWork
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x560
ret 0x10