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

Disassembly:
sub esp, 0xc34
mov eax, dword [0x1013d900]
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.1005e2a0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x846]
push eax
mov word [esp + 0x848], dx
call fcn.1005e2a0
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x64a]
push edx
mov word [esp + 0x64c], cx
call fcn.1005e2a0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa66]
push ecx
mov word [esp + 0xa68], ax
call fcn.1005e2a0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x252]
push eax
mov word [esp + 0x254], dx
call fcn.1005e2a0
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x56]
push edx
mov word [esp + 0x58], cx
call fcn.1005e2a0
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 0x100237a0
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x100237a0
mov ecx, dword [str._shiqiang_]
mov edx, dword [0x1012bf40]
mov dword [eax], ecx
mov ecx, dword [0x1012bf44]
mov dword [eax + 4], edx
mov edx, dword [0x1012bf48]
mov dword [eax + 8], ecx
mov ecx, dword [0x1012bf4c]
mov dword [eax + 0xc], edx
mov dx, word [0x1012bf50]
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 0x10023804
push eax
lea ecx, [esp + 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
jmp 0x10023810
movzx ecx, word [esp + eax + 0x218]
mov word [esp + eax + 0x10], cx
add eax, 2
test cx, cx
jne 0x10023810
lea eax, [esp + 0x10]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x10023830
mov edx, dword [str.wnsoft.ini]
mov ecx, dword [0x1012bf58]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [eax], edx
mov edx, dword [0x1012bf5c]
mov dword [eax + 4], ecx
mov ecx, dword [0x1012bf60]
mov dword [eax + 8], edx
mov edx, dword [0x1012bf64]
mov dword [eax + 0xc], ecx
mov cx, word [0x1012bf68]
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 0x1012a320
push str.OnlyIdentifier1
push str.Globals
call esi
lea ecx, [esp + 0x10]
push ecx
push 0x104
lea edx, [esp + 0x838]
push edx
push 0x1012a320
push str.OnlyIdentifier2
push str.Globals
call esi
lea eax, [esp + 0x10]
push eax
push 0x104
lea ecx, [esp + 0x630]
push ecx
push 0x1012a320
push str.OnlyIdentifier3
push str.Globals
call esi
lea edx, [esp + 0x10]
push edx
push 0x104
lea eax, [esp + 0xa40]
push eax
push 0x1012a320
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 0x10023910
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 0x10023930
sub ecx, esi
sar ecx, 1
mov ebx, ecx
lea ecx, [esp + 0x628]
lea esi, [ecx + 2]
jmp 0x10023950
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10023950
sub ecx, esi
sar ecx, 1
mov edi, ecx
lea ecx, [esp + 0xa38]
lea esi, [ecx + 2]
jmp 0x10023970
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10023970
sub ecx, esi
sar ecx, 1
test eax, eax
je 0x10023a2b
test ebx, ebx
je 0x10023a2b
test edi, edi
je 0x10023a2b
test ecx, ecx
je 0x10023a2b
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 0x100239b0
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 0x100239d1
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 0x100239f2
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 0x10023a13
mov eax, 1
jmp 0x10023a2d
xor eax, eax
mov ecx, dword [esp + 0xc40]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10056c06
add esp, 0xc34
ret 4