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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024447
mov eax, dword fs:[0]
push eax
sub esp, 0x89c
mov eax, dword [0x100360a8]
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 ebx, ecx
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100119d0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100119d0
add esp, 0x18
mov dword [ebp - 0x834], 7
xor eax, eax
mov dword [ebp - 0x838], 0
lea ecx, [ebp - 0x848]
mov word [ebp - 0x848], ax
push eax
push 0x10026350
call fcn.100017c0
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x10026350
lea ecx, [ebp - 0x8a8]
mov dword [ebp - 0x894], 7
mov dword [ebp - 0x898], 0
mov word [ebp - 0x8a8], ax
call fcn.100017c0
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x10026350
lea ecx, [ebp - 0x890]
mov dword [ebp - 0x87c], 7
mov dword [ebp - 0x880], 0
mov word [ebp - 0x890], ax
call fcn.100017c0
xor eax, eax
mov byte [ebp - 4], 2
push eax
push 0x10026350
lea ecx, [ebp - 0x878]
mov dword [ebp - 0x864], 7
mov dword [ebp - 0x868], 0
mov word [ebp - 0x878], ax
call fcn.100017c0
push 0
push 0x2b
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 3
push eax
push 0
call fcn.10007c70
lea edi, [ebp - 0x420]
add esp, 0x10
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x10002e12
mov eax, dword [0x100263a4]
mov dword [edi], eax
lea edi, [ebp - 0x420]
add edi, 0xfffffffe
nop
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x10002e30
mov ecx, 7
mov esi, str.JiJianFormwork
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x420]
add edi, 0xfffffffe
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x10002e53
mov dword [edi], eax
lea edi, [ebp - 0x420]
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10002e70
mov ecx, 7
mov esi, str.JiJianFormwork
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x420]
add ecx, 0xfffffffe
movsw word es:[edi], word [esi]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10002e93
mov eax, dword [0x100263a8]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ecx], eax
mov eax, dword [0x100263ac]
mov dword [ecx + 4], eax
mov ax, word [0x100263b0]
mov word [ecx + 8], ax
lea eax, [ebp - 0x420]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x10026350
push str.UsrPath
push str.MuBanCfg
call esi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002ef0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x10002f9d
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x10002f9d
cmp word [ebp - 0x218], 0
jne 0x10002f2c
xor ecx, ecx
jmp 0x10002f44
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002f35
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.100017c0
cmp word [ebp - 0x218], 0
jne 0x10002f65
xor ecx, ecx
jmp 0x10002f7f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002f70
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebx + 0xc]
call fcn.100017c0
cmp byte [ebx + 4], 0
mov byte [ebx + 3], 1
je 0x100033e5
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.100119d0
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.100119d0
add esp, 0x18
cmp dword [ebx + 0x64], 0
jne 0x10002ffa
push 0x104
lea eax, [ebp - 0x628]
push eax
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x628]
push 0x5c
push eax
call fcn.1001288f
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
jmp 0x10003021
cmp dword [ebx + 0x68], 8
lea ecx, [ebx + 0x54]
jb 0x10003005
mov ecx, dword [ecx]
lea edx, [ebp - 0x628]
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x10003010
push str.JiJianFormwork.ini
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x830]
push str._s_s
push eax
call fcn.100019e0
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x10026350
push str.UsrPath
push str.MuBanApp
call esi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003070
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x1000311d
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x1000311d
cmp word [ebp - 0x218], 0
jne 0x100030a6
xor ecx, ecx
jmp 0x100030bf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100030b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x8a8]
call fcn.100017c0
cmp word [ebp - 0x218], 0
jne 0x100030e0
xor ecx, ecx
jmp 0x100030ff
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100030f0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebx + 0xc]
call fcn.100017c0
cmp byte [ebx + 4], 0
mov byte [ebx + 3], 1
je 0x100033e5
cmp dword [ebx + 0x80], 8
lea eax, [ebx + 0x6c]
jb 0x1000312b
mov eax, dword [eax]
push str.JiJianFormwork.ini
push eax
lea eax, [ebp - 0x830]
push str._s_s
push eax
call fcn.100019e0
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x10026350
push str.UsrPath
push str.MuBanApp
call esi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003172
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x1000321d
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x1000321d
cmp word [ebp - 0x218], 0
jne 0x100031a8
xor ecx, ecx
jmp 0x100031c0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100031b1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x890]
call fcn.100017c0
cmp word [ebp - 0x218], 0
jne 0x100031e1
xor ecx, ecx
jmp 0x100031ff
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100031f0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebx + 0xc]
call fcn.100017c0
cmp byte [ebx + 4], 0
mov byte [ebx + 3], 1
je 0x100033e5
push 0x10026350
push str.UsrPath
push str.MuBanApp
lea eax, [ebp - 0x860]
mov ecx, ebx
push eax
call fcn.10001f00
mov esi, dword [ebp - 0x84c]
lea ecx, [ebp - 0x860]
cmp esi, 8
mov byte [ebp - 4], 4
cmovae ecx, dword [ebp - 0x860]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003257
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x100032c2
cmp esi, 8
lea eax, [ebp - 0x860]
cmovae eax, dword [ebp - 0x860]
push eax
call edi
test eax, eax
je 0x100032bc
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x860]
push eax
lea ecx, [ebp - 0x878]
call fcn.100016a0
lea ecx, [ebx + 0xc]
lea eax, [ebp - 0x860]
cmp ecx, eax
je 0x100032ae
push 0xffffffffffffffff
push 0
push eax
call fcn.100016a0
cmp byte [ebx + 4], 0
mov byte [ebx + 3], 1
je 0x100033a8
mov esi, dword [ebp - 0x84c]
cmp byte [ebx + 4], 0
je 0x100033ae
cmp byte [ebx + 3], 0
je 0x100033ae
cmp dword [ebp - 0x894], 8
lea ecx, [ebp - 0x8a8]
push dword [ebp - 0x898]
cmovae ecx, dword [ebp - 0x8a8]
lea eax, [ebp - 0x848]
cmp dword [ebp - 0x834], 8
mov edi, dword [ebp - 0x838]
cmovae eax, dword [ebp - 0x848]
push ecx
push edi
push eax
call fcn.100014c0
add esp, 0x10
test eax, eax
je 0x1000331d
mov byte [ebx + 5], 1
cmp dword [ebp - 0x87c], 8
lea ecx, [ebp - 0x890]
push dword [ebp - 0x880]
cmovae ecx, dword [ebp - 0x890]
lea eax, [ebp - 0x848]
cmp dword [ebp - 0x834], 8
push ecx
cmovae eax, dword [ebp - 0x848]
push edi
push eax
call fcn.100014c0
add esp, 0x10
test eax, eax
je 0x1000335e
mov byte [ebx + 5], 1
cmp dword [ebp - 0x864], 8
lea ecx, [ebp - 0x878]
push dword [ebp - 0x868]
cmovae ecx, dword [ebp - 0x878]
lea eax, [ebp - 0x848]
cmp dword [ebp - 0x834], 8
push ecx
cmovae eax, dword [ebp - 0x848]
push edi
push eax
call fcn.100014c0
add esp, 0x10
test eax, eax
je 0x100033ae
push 1
lea ecx, [ebp - 0x848]
call fcn.10001d30
mov esi, dword [ebp - 0x84c]
cmp esi, 8
jb 0x100033c8
lea eax, [esi + 1]
push eax
push dword [ebp - 0x860]
lea ecx, [ebp - 0x860]
call fcn.100018c0
xor eax, eax
mov dword [ebp - 0x84c], 7
mov dword [ebp - 0x850], 0
mov word [ebp - 0x860], ax
mov eax, dword [ebp - 0x864]
cmp eax, 8
jb 0x10003403
inc eax
lea ecx, [ebp - 0x878]
push eax
push dword [ebp - 0x878]
call fcn.100018c0
xor eax, eax
mov dword [ebp - 0x864], 7
mov word [ebp - 0x878], ax
mov eax, dword [ebp - 0x87c]
mov dword [ebp - 0x868], 0
cmp eax, 8
jb 0x1000343e
inc eax
lea ecx, [ebp - 0x890]
push eax
push dword [ebp - 0x890]
call fcn.100018c0
xor eax, eax
mov dword [ebp - 0x87c], 7
mov word [ebp - 0x890], ax
mov eax, dword [ebp - 0x894]
mov dword [ebp - 0x880], 0
cmp eax, 8
jb 0x10003479
inc eax
lea ecx, [ebp - 0x8a8]
push eax
push dword [ebp - 0x8a8]
call fcn.100018c0
xor eax, eax
mov dword [ebp - 0x894], 7
mov word [ebp - 0x8a8], ax
mov eax, dword [ebp - 0x834]
mov dword [ebp - 0x898], 0
cmp eax, 8
jb 0x100034b4
inc eax
lea ecx, [ebp - 0x848]
push eax
push dword [ebp - 0x848]
call fcn.100018c0
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.1000f677
mov esp, ebp
pop ebp
ret