Function at 0x100e3850
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 0x100e3b40
lea ecx, [esp + 0x160]
lea edx, [esp + 0x368]
push ecx
push str._sWXWorkLocalGlobalConfig.cfg
push 0x103
push edx
call fcn.100ea7cc
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 0x100e3b2f
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jbe 0x100e3ac9
push 0x1001
call fcn.101970fe
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x100e3ac9
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 0x100e3ab0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x100e3ab0
cmp eax, 0x1000
jae 0x100e3981
mov byte [eax + ebp], bl
cmp word [esp + 0xc0], bx
jne 0x100e3a02
push str._kAccountKey_:__
push ebp
call fcn.100ea940
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x100e3a02
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.100ea710
add esp, 8
cmp eax, ebx
je 0x100e3a02
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 0x100e3a02
lea edx, [esp + 0xc0]
push edx
push str.GetLogonUserNameByConfig_User__s_
push str.WxWork
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
cmp word [esp + 0x20], bx
jne 0x100e3a81
push str._QrcodeLoginNickName_:__
push ebp
call fcn.100ea940
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x100e3a7a
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.100ea710
add esp, 8
cmp eax, ebx
je 0x100e3a7a
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 0x100e3a7a
lea edx, [esp + 0x20]
push edx
push str.GetLogonUserNameByConfig_Nick__s_
push str.WxWork
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
cmp word [esp + 0x20], bx
je 0x100e3a8b
cmp word [esp + 0xc0], bx
jne 0x100e3aac
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 0x100e396b
jmp 0x100e3ab0
mov esi, dword [esp + 0x18]
cmp word [esp + 0x20], bx
jne 0x100e3ac1
cmp word [esp + 0xc0], bx
je 0x100e3ac9
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, ebx
je 0x100e3add
push ebp
call fcn.10197127
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x100e3b63
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.100e9aa5
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.100e9aa5
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 0x100e3b61
push str.GetLogonUserNameByConfig_
push str.WxWork
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x560
ret 0x10