Function at 0x49bc40
Capabilities:
Check if file exists
Create directory
Get common file path
Read .ini file

Disassembly:
sub esp, 0xc34
mov eax, dword [0x5ea2c4]
xor eax, esp
mov dword [esp + 0xc30], eax
push ebx
push ebp
mov ebp, dword [esp + 0xc40]
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x42a]
push ecx
mov word [esp + 0x42c], ax
call fcn.0052e300
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x846]
push eax
mov word [esp + 0x848], dx
call fcn.0052e300
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x64a]
push edx
mov word [esp + 0x64c], cx
call fcn.0052e300
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa66]
push ecx
mov word [esp + 0xa68], ax
call fcn.0052e300
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x252]
push eax
mov word [esp + 0x254], dx
call fcn.0052e300
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x56]
push edx
mov word [esp + 0x58], cx
call fcn.0052e300
add esp, 0x48
push 0
push 0x2b
lea eax, [esp + 0x220]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x218]
add eax, 0xfffffffe
jmp 0x49bd30
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x49bd30
mov ecx, dword [str._shiqiang_]
mov edx, dword [0x5d3188]
mov dword [eax], ecx
mov ecx, dword [0x5d318c]
mov dword [eax + 4], edx
mov edx, dword [0x5d3190]
mov dword [eax + 8], ecx
mov ecx, dword [0x5d3194]
mov dword [eax + 0xc], edx
mov dx, word [0x5d3198]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
lea eax, [esp + 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49bd94
push eax
lea ecx, [esp + 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
jmp 0x49bda0
movzx ecx, word [esp + eax + 0x218]
mov word [esp + eax + 0x10], cx
add eax, 2
test cx, cx
jne 0x49bda0
lea eax, [esp + 0x10]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x49bdc0
mov edx, dword [str.wnsoft.ini]
mov ecx, dword [0x5d31a0]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [eax], edx
mov edx, dword [0x5d31a4]
mov dword [eax + 4], ecx
mov ecx, dword [0x5d31a8]
mov dword [eax + 8], edx
mov edx, dword [0x5d31ac]
mov dword [eax + 0xc], ecx
mov cx, word [0x5d31b0]
mov dword [eax + 0x10], edx
lea edx, [esp + 0x10]
push edx
push 0x104
mov word [eax + 0x14], cx
lea eax, [esp + 0x428]
push eax
push 0x59b2fc
push str.OnlyIdentifier1
push str.Globals
call esi
lea ecx, [esp + 0x10]
push ecx
push 0x104
lea edx, [esp + 0x838]
push edx
push 0x59b2fc
push str.OnlyIdentifier2
push str.Globals
call esi
lea eax, [esp + 0x10]
push eax
push 0x104
lea ecx, [esp + 0x630]
push ecx
push 0x59b2fc
push str.OnlyIdentifier3
push str.Globals
call esi
lea edx, [esp + 0x10]
push edx
push 0x104
lea eax, [esp + 0xa40]
push eax
push 0x59b2fc
push str.OnlyIdentifier4
push str.Globals
call esi
lea eax, [esp + 0x420]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49bea0
sub eax, edx
lea ecx, [esp + 0x830]
sar eax, 1
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x49bec0
sub ecx, esi
sar ecx, 1
mov ebx, ecx
lea ecx, [esp + 0x628]
lea esi, [ecx + 2]
jmp 0x49bee0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x49bee0
sub ecx, esi
sar ecx, 1
mov edi, ecx
lea ecx, [esp + 0xa38]
lea esi, [ecx + 2]
jmp 0x49bf00
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x49bf00
sub ecx, esi
sar ecx, 1
test eax, eax
je 0x49bfbb
test ebx, ebx
je 0x49bfbb
test edi, edi
je 0x49bfbb
test ecx, ecx
je 0x49bfbb
mov edx, dword [ebp]
lea ecx, [esp + 0x420]
lea esp, [esp]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x49bf40
mov ecx, dword [ebp]
lea edx, [esp + 0x830]
add ecx, 0x208
movzx eax, word [edx]
mov word [ecx], ax
add edx, 2
add ecx, 2
test ax, ax
jne 0x49bf61
mov ecx, dword [ebp]
lea edx, [esp + 0x628]
add ecx, 0x410
movzx eax, word [edx]
mov word [ecx], ax
add edx, 2
add ecx, 2
test ax, ax
jne 0x49bf82
mov ecx, dword [ebp]
lea edx, [esp + 0xa38]
add ecx, 0x618
movzx eax, word [edx]
mov word [ecx], ax
add edx, 2
add ecx, 2
test ax, ax
jne 0x49bfa3
mov eax, 1
jmp 0x49bfbd
xor eax, eax
mov ecx, dword [esp + 0xc40]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005273c3
add esp, 0xc34
ret 4