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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc38
mov eax, dword [0x661204]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x208
lea eax, [ebp - 0x61c]
mov ebx, ecx
push 0
push eax
call fcn.005b9c20
push 0x208
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.005b9c20
push 0x208
lea eax, [ebp - 0xa2c]
push 0
push eax
call fcn.005b9c20
push 0x208
lea eax, [ebp - 0xc34]
push 0
push eax
call fcn.005b9c20
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.005b9c20
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005b9c20
add esp, 0x48
lea eax, [ebp - 0x414]
push 0
push 0x2b
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x414]
add ecx, 0xfffffffe
nop dword [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4b49f0
mov eax, dword [str._shiqiang_]
mov dword [ecx], eax
mov eax, dword [0x5ebfd8]
mov dword [ecx + 4], eax
mov eax, dword [0x5ebfdc]
mov dword [ecx + 8], eax
mov eax, dword [0x5ebfe0]
mov dword [ecx + 0xc], eax
mov eax, dword [0x5ebfe4]
mov dword [ecx + 0x10], eax
mov ax, word [0x5ebfe8]
mov word [ecx + 0x14], ax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b4a4c
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor ecx, ecx
nop
movzx eax, word [ebp + ecx - 0x414]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x20e], ax
test ax, ax
jne 0x4b4a50
lea ecx, [ebp - 0x20c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4b4a71
mov eax, dword [str.wnsoft.ini]
mov dword [ecx], eax
mov eax, dword [0x5ebff0]
mov dword [ecx + 4], eax
mov eax, dword [0x5ebff4]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ecx + 8], eax
mov eax, dword [0x5ebff8]
mov dword [ecx + 0xc], eax
mov eax, dword [0x5ebffc]
mov dword [ecx + 0x10], eax
mov ax, word [0x5ec000]
push edi
mov word [ecx + 0x14], ax
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 0x5ea980
push str.OnlyIdentifier1
push str.Globals
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x824]
push eax
push 0x5ea980
push str.OnlyIdentifier2
push str.Globals
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0xa2c]
push eax
push 0x5ea980
push str.OnlyIdentifier3
push str.Globals
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0xc34]
push eax
push 0x5ea980
push str.OnlyIdentifier4
push str.Globals
call esi
lea edi, [ebp - 0x61c]
lea ecx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4b4b50
sub edi, ecx
lea ecx, [ebp - 0x824]
sar edi, 1
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b4b70
sub ecx, edx
lea esi, [ebp - 0xa2c]
sar ecx, 1
lea edx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4b4b90
sub esi, edx
lea edx, [ebp - 0xc34]
lea eax, [edx + 2]
sar esi, 1
mov dword [ebp - 0xc38], eax
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4b4bb0
sub edx, dword [ebp - 0xc38]
sar edx, 1
test edi, edi
pop edi
je 0x4b4c76
test ecx, ecx
je 0x4b4c76
test esi, esi
je 0x4b4c76
test edx, edx
je 0x4b4c76
mov edx, dword [ebx]
lea ecx, [ebp - 0x61c]
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x4b4bf0
mov ecx, dword [ebx]
lea edx, [ebp - 0x824]
add ecx, 0x208
nop
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4b4c10
mov ecx, dword [ebx]
lea edx, [ebp - 0xa2c]
add ecx, 0x410
nop
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4b4c30
mov ecx, dword [ebx]
lea edx, [ebp - 0xc34]
add ecx, 0x618
nop
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4b4c50
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054c3c9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0054c3c9
mov esp, ebp
pop ebp
ret