Function at 0x40e5d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3980
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x50e5d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x158], ecx
push str.guanjitype
mov ecx, dword [ebp - 0x158]
add ecx, 0x3c
call dword [sym.imp.ui_d.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_char_const__const]
mov ecx, dword [ebp - 0x158]
mov dword [ecx + 0x2c], eax
push str.xiaos
mov ecx, dword [ebp - 0x158]
add ecx, 0x3c
call dword [sym.imp.ui_d.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_char_const__const]
mov edx, dword [ebp - 0x158]
mov dword [edx + 0x30], eax
push str.fenzhong
mov ecx, dword [ebp - 0x158]
add ecx, 0x3c
call dword [sym.imp.ui_d.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_char_const__const]
mov ecx, dword [ebp - 0x158]
mov dword [ecx + 0x34], eax
push str.guanjioff
mov ecx, dword [ebp - 0x158]
add ecx, 0x3c
call dword [sym.imp.ui_d.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_char_const__const]
mov edx, dword [ebp - 0x158]
mov dword [edx + 0x28], eax
mov dword [ebp - 0x120], 0
jmp 0x40e690
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 2
jge 0x40e780
push 0x2f4
call fcn.004a2ef5
add esp, 4
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x144], 0
je 0x40e6e6
mov ecx, dword [ebp - 0x144]
call dword [sym.imp.ui_d.dll_public:_void___thiscall_DuiLib::CListLabelElementUI::constructor_void_]
mov ecx, dword [ebp - 0x144]
mov dword [ecx], vtable.DuiLib::CListLabelElementUI.0
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x15c], edx
jmp 0x40e6f0
mov dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x140], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x120], 0
jne 0x40e730
push 0x4f8ec4
mov edx, dword [ebp - 0x124]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x124]
mov edx, dword [eax + 0x2c]
call edx
cmp dword [ebp - 0x120], 1
jne 0x40e751
push 0x4f8ed0
mov eax, dword [ebp - 0x124]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x124]
mov eax, dword [edx + 0x2c]
call eax
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x158]
mov eax, dword [edx + 0x2c]
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx + 0x2c]
add ecx, 0x2e0
mov edx, dword [eax + 0x2e0]
mov eax, dword [edx + 0x10]
call eax
jmp 0x40e681
mov dword [ebp - 0x128], 0
jmp 0x40e79b
mov ecx, dword [ebp - 0x128]
add ecx, 1
mov dword [ebp - 0x128], ecx
cmp dword [ebp - 0x128], 0x18
jge 0x40e8a7
push 0x2f4
call fcn.004a2ef5
add esp, 4
mov dword [ebp - 0x14c], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x14c], 0
je 0x40e7f1
mov ecx, dword [ebp - 0x14c]
call dword [sym.imp.ui_d.dll_public:_void___thiscall_DuiLib::CListLabelElementUI::constructor_void_]
mov edx, dword [ebp - 0x14c]
mov dword [edx], vtable.DuiLib::CListLabelElementUI.0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x160], eax
jmp 0x40e7fb
mov dword [ebp - 0x160], 0
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x148], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x130], edx
lea ecx, [ebp - 0x12c]
call fcn.00403be0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x128]
push eax
push 0x4f8cc8
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00403bb0
add esp, 0xc
lea ecx, [ebp - 0x12c]
call fcn.00401600
push eax
mov edx, dword [ebp - 0x130]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x130]
mov edx, dword [eax + 0x2c]
call edx
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x158]
mov edx, dword [ecx + 0x30]
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 0x30]
add ecx, 0x2e0
mov edx, dword [edx + 0x2e0]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00426070
jmp 0x40e78c
mov dword [ebp - 0x134], 0
jmp 0x40e8c2
mov ecx, dword [ebp - 0x134]
add ecx, 1
mov dword [ebp - 0x134], ecx
cmp dword [ebp - 0x134], 0x3c
jge 0x40e9ce
push 0x2f4
call fcn.004a2ef5
add esp, 4
mov dword [ebp - 0x154], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x154], 0
je 0x40e918
mov ecx, dword [ebp - 0x154]
call dword [sym.imp.ui_d.dll_public:_void___thiscall_DuiLib::CListLabelElementUI::constructor_void_]
mov edx, dword [ebp - 0x154]
mov dword [edx], vtable.DuiLib::CListLabelElementUI.0
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x164], eax
jmp 0x40e922
mov dword [ebp - 0x164], 0
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x150], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x13c], edx
lea ecx, [ebp - 0x138]
call fcn.00403be0
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x134]
push eax
push 0x4f8cd0
lea ecx, [ebp - 0x138]
push ecx
call fcn.00403bb0
add esp, 0xc
lea ecx, [ebp - 0x138]
call fcn.00401600
push eax
mov edx, dword [ebp - 0x13c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x13c]
mov edx, dword [eax + 0x2c]
call edx
mov eax, dword [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x158]
mov edx, dword [ecx + 0x34]
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 0x34]
add ecx, 0x2e0
mov edx, dword [edx + 0x2e0]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.00426070
jmp 0x40e8b3
mov cl, byte [0x4f83ac]
mov byte [ebp - 0x11c], cl
push 0x103
push 0
lea edx, [ebp - 0x11b]
push edx
call fcn.004c36d0
add esp, 0xc
mov dword [0x51a1f0], 0
mov ecx, 0x51aa14
call fcn.00401600
push eax
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0x4f83ac
push 0x4f8edc
push str.ShutDown
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004bf820
add esp, 4
cmp eax, 1
jne 0x40ea5a
push str.S_22.png
mov edx, dword [ebp - 0x158]
mov ecx, dword [edx + 0x28]
call dword [sym.imp.ui_d.dll_public:_void___thiscall_DuiLib::CControlUI::SetBkImage_char_const__]
mov dword [0x51a1f0], 1
jmp 0x40ea6e
push str.S_11.png
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 0x28]
call dword [sym.imp.ui_d.dll_public:_void___thiscall_DuiLib::CControlUI::SetBkImage_char_const__]
push 0x104
push 0
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004c36d0
add esp, 0xc
mov ecx, 0x51aa14
call fcn.00401600
push eax
push 0x104
lea edx, [ebp - 0x11c]
push edx
push 0x4f83ac
push str.tpye
push str.ShutDown
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [0x51a1f4], 0
lea eax, [ebp - 0x11c]
push eax
call fcn.004bf820
add esp, 4
test eax, eax
jne 0x40eaf6
push 0
push 0
mov ecx, dword [ebp - 0x158]
mov edx, dword [ecx + 0x2c]
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 0x2c]
add ecx, 0x310
mov edx, dword [edx + 0x310]
mov eax, dword [edx + 8]
call eax
jmp 0x40eb64
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004bf820
add esp, 4
cmp eax, 1
jne 0x40eb3d
push 0
push 1
mov edx, dword [ebp - 0x158]
mov eax, dword [edx + 0x2c]
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx + 0x2c]
add ecx, 0x310
mov edx, dword [eax + 0x310]
mov eax, dword [edx + 8]
call eax
mov dword [0x51a1f4], 1
jmp 0x40eb64
push 0
push 0
mov ecx, dword [ebp - 0x158]
mov edx, dword [ecx + 0x2c]
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 0x2c]
add ecx, 0x310
mov edx, dword [edx + 0x310]
mov eax, dword [edx + 8]
call eax
push 0x104
push 0
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004c36d0
add esp, 0xc
mov ecx, 0x51aa14
call fcn.00401600
push eax
push 0x104
lea edx, [ebp - 0x11c]
push edx
push 0x4f83ac
push 0x4f8ef4
push str.ShutDown
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [0x51a1f8], 0
movsx eax, byte [ebp - 0x11c]
test eax, eax
je 0x40ebcf
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004bf820
add esp, 4
cmp eax, 0x17
jle 0x40ebf8
push 0
push 0
mov edx, dword [ebp - 0x158]
mov eax, dword [edx + 0x30]
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx + 0x30]
add ecx, 0x310
mov edx, dword [eax + 0x310]
mov eax, dword [edx + 8]
call eax
jmp 0x40ec41
push 0
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004bf820
add esp, 4
push eax
mov edx, dword [ebp - 0x158]
mov eax, dword [edx + 0x30]
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx + 0x30]
add ecx, 0x310
mov edx, dword [eax + 0x310]
mov eax, dword [edx + 8]
call eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004bf820
add esp, 4
mov dword [0x51a1f8], eax
push 0x104
push 0
lea edx, [ebp - 0x11c]
push edx
call fcn.004c36d0
add esp, 0xc
mov ecx, 0x51aa14
call fcn.00401600
push eax
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0x4f83ac
push 0x4f8ef8
push str.ShutDown
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [0x51a1fc], 0
movsx ecx, byte [ebp - 0x11c]
test ecx, ecx
je 0x40ecac
lea edx, [ebp - 0x11c]
push edx
call fcn.004bf820
add esp, 4
cmp eax, 0x3b
jle 0x40ecd6
push 0
push 0
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 0x34]
mov edx, dword [ebp - 0x158]
mov eax, dword [edx + 0x34]
add eax, 0x310
mov edx, dword [ecx + 0x310]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
jmp 0x40ed1f
push 0
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004bf820
add esp, 4
push eax
mov edx, dword [ebp - 0x158]
mov eax, dword [edx + 0x34]
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx + 0x34]
add ecx, 0x310
mov edx, dword [eax + 0x310]
mov eax, dword [edx + 8]
call eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004bf820
add esp, 4
mov dword [0x51a1fc], eax
mov edx, dword [ebp - 0x158]
mov dword [edx + 0x38], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bee8a
mov esp, ebp
pop ebp
ret