Function at 0x10003ea0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001edc7
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x1002f0ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.10004220
lea ebx, [edi + 0x18]
lea esi, [edi + 0x48]
cmp esi, ebx
je 0x10003eeb
push 0xffffffffffffffff
push 0
push ebx
mov ecx, esi
call fcn.10001800
push 0xc
push 0x100203f8
mov ecx, esi
call fcn.100016d0
xor eax, eax
mov dword [ebp - 0x424], 7
push 0xffffffffffffffff
push eax
push ebx
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call fcn.10001800
push 0x12
push str.JiJianFormwork.ini
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 0
call fcn.100016d0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1000d390
add esp, 0xc
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10003fdf
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x10020328
push str.CfgPath
push str.MuBanApp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x10003fb7
xor ecx, ecx
jmp 0x10003fcf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003fc0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [edi + 0x78]
call fcn.10001920
cmp dword [edi + 0x88], 0
jne 0x10004196
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1000d390
add esp, 0xc
lea eax, [ebp - 0x468]
mov ecx, edi
push eax
call fcn.10003690
cmp dword [ebp - 0x454], 8
lea ecx, [ebp - 0x420]
push ecx
push str.b79e0
push str.MuBanOI
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x468]
mov ecx, edi
push eax
push 0x10020340
lea eax, [ebp - 0x450]
push eax
call fcn.10003b10
mov ebx, eax
lea esi, [edi + 0x78]
cmp esi, ebx
je 0x10004090
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x10004069
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.10001a20
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10004081
mov eax, dword [esi]
jmp 0x10004083
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.10001310
mov eax, dword [ebp - 0x43c]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x100040b2
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.10001a20
cmp dword [esi + 0x10], 0
je 0x10004176
xor eax, eax
mov dword [ebp - 0x43c], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
call fcn.10001800
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x484]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x484], 0x5c
call fcn.10001ce0
cmp eax, 0xffffffff
jle 0x10004158
inc eax
mov ecx, esi
push eax
push 0
lea eax, [ebp - 0x480]
push eax
call fcn.10001da0
push eax
mov ecx, esi
call fcn.10001240
lea ecx, [ebp - 0x480]
call fcn.10001200
add edi, 0x90
cmp edi, esi
je 0x1000414c
push 0xffffffffffffffff
push 0
push esi
mov ecx, edi
call fcn.10001800
push str.Seddaseer.ini
mov ecx, edi
call fcn.10003270
mov eax, dword [ebp - 0x43c]
cmp eax, 8
jb 0x10004176
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.10001a20
mov eax, dword [ebp - 0x454]
cmp eax, 8
jb 0x100041d9
inc eax
lea ecx, [ebp - 0x468]
push eax
push dword [ebp - 0x468]
call fcn.10001a20
jmp 0x100041d9
push 7
lea esi, [edi + 0x78]
push str.CfgPath
mov ecx, esi
call fcn.100016d0
push 1
push 0x1002032c
mov ecx, esi
call fcn.100016d0
add edi, 0x90
cmp edi, esi
je 0x100041cb
push 0xffffffffffffffff
push 0
push esi
mov ecx, edi
call fcn.10001800
push 7
push str.Use.ini
mov ecx, edi
call fcn.100016d0
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x100041f7
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.10001a20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000a58c
mov esp, ebp
pop ebp
ret