Function at 0x44a807
Capabilities:
Delete file
Read .ini file

Disassembly:
mov eax, 0x4c5f06
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x2c8
mov al, byte [ebp + 0xb]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea ecx, [ebp - 0x2c]
push dword [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov esi, str.PanelData.ini
mov dword [ebp - 4], ebx
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
push 0x140
lea eax, [ebp - 0x2d4]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 0x28]
add esp, 0xc
cmp eax, ebx
jne 0x44a87d
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0x2d4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x44ae88
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ax, word [0x5192dc]
push 0x40
mov word [ebp - 0x14c], ax
pop ecx
xor eax, eax
lea edi, [ebp - 0x14a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 0x28]
cmp eax, ebx
jne 0x44a8c3
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push ebx
mov edi, str.PanelInfo
push str.PanelNum
push edi
call esi
mov dword [ebp - 0x34], eax
cmp eax, ebx
mov eax, dword [ebp - 0x28]
jne 0x44a8f7
cmp eax, ebx
jne 0x44a8eb
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x44ae88
cmp eax, ebx
jne 0x44a900
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push ebx
push str.SysPanelVer
push edi
call esi
mov dword [ebp - 0x48], eax
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x44], al
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
push 1
mov byte [ebp - 4], 1
pop eax
cmp dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
jl 0x44ae16
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, 0x104
mov ax, word [0x5192dc]
lea edi, [ebp - 0x1a]
mov word [ebp - 0x1c], ax
xor eax, eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1c]
push 0xa
push eax
push dword [ebp - 0x30]
call dword [sym.imp.MSVCRT.dll__itoa]
mov eax, dword [ebp - 0x28]
add esp, 0xc
test eax, eax
jne 0x44a96a
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0
lea eax, [ebp - 0x1c]
push str.panelid
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, eax
test edi, edi
je 0x44ae05
push 0x68
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x44a9a2
mov ecx, eax
call fcn.0044b02b
jmp 0x44a9a4
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], eax
mov word [eax], di
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x44a9ba
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x14c]
push ebx
mov edi, str.true
push eax
push edi
lea eax, [ebp - 0x1c]
push str.valid
push eax
call esi
lea eax, [ebp - 0x14c]
push edi
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
mov eax, dword [ebp - 0x10]
pop ecx
jne 0x44a9f1
mov byte [eax + 0x14], 1
jmp 0x44a9f5
and byte [eax + 0x14], 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x44aa01
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x14c]
push ebx
push eax
push str.false
lea eax, [ebp - 0x1c]
push str.syspanel
push eax
call esi
lea eax, [ebp - 0x14c]
push edi
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x44abf8
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x44aa3e
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 1
lea eax, [ebp - 0x1c]
push str.grade
push eax
call edi
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x44aa64
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0
lea eax, [ebp - 0x1c]
push str.PanelIndex
push eax
call edi
mov ecx, dword [ebp - 0x10]
mov word [ecx + 2], ax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x44aa85
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x14c]
push ebx
mov edi, 0x4d5034
push eax
push edi
lea eax, [ebp - 0x1c]
push 0x513054
push eax
call esi
test eax, eax
mov eax, dword [ebp - 0x10]
jne 0x44aaaf
and dword [eax + 0x10], 0
jmp 0x44adf9
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 0x10]
add eax, 0x18
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14c]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x44aae9
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x14c]
push ebx
push eax
push edi
lea eax, [ebp - 0x1c]
push str.name
push eax
call esi
mov eax, dword [ebp - 0x10]
add eax, 0x28
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14c]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x44ab31
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x14c]
push ebx
push eax
push edi
lea eax, [ebp - 0x1c]
push str.tipsinfo
push eax
call esi
mov eax, dword [ebp - 0x10]
add eax, 0x38
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14c]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x44ab79
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0
lea eax, [ebp - 0x1c]
push str.domainid
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x10]
mov word [ecx + 6], ax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x44ab9e
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x14c]
push ebx
push eax
push edi
lea eax, [ebp - 0x1c]
push str.iconName
push eax
call esi
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
add eax, 0x58
mov dword [ebp - 0x14], eax
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov eax, dword [ebp - 0x10]
add eax, 0x58
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14c]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x14c]
push eax
jmp 0x44ad8a
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 2
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x44ac0e
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0
lea eax, [ebp - 0x1c]
push str.userpanelver
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x10]
mov word [ecx + 4], ax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x44ac33
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x14c]
push ebx
mov edi, 0x4d5034
push eax
push edi
lea eax, [ebp - 0x1c]
push 0x513054
push eax
call esi
mov eax, dword [ebp - 0x10]
add eax, 0x18
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14c]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x44ac80
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x14c]
push ebx
push eax
push edi
lea eax, [ebp - 0x1c]
push str.name
push eax
call esi
mov eax, dword [ebp - 0x10]
add eax, 0x28
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14c]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x44acc8
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x14c]
push ebx
push eax
push edi
lea eax, [ebp - 0x1c]
push str.tipsinfo
push eax
call esi
mov eax, dword [ebp - 0x10]
add eax, 0x38
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14c]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x44ad10
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0
lea eax, [ebp - 0x1c]
push str.domainid
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x10]
mov word [ecx + 6], ax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x44ad35
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x14c]
push ebx
push eax
push edi
lea eax, [ebp - 0x1c]
push str.iconName
push eax
call esi
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
add eax, 0x58
mov dword [ebp - 0x14], eax
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov eax, dword [ebp - 0x10]
add eax, 0x58
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14c]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x44ad9c
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x14c]
push ebx
push eax
push edi
lea eax, [ebp - 0x1c]
push str.iconUrl
push eax
call esi
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x48]
lea eax, [ebp - 0x14c]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x14c]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x44ade0
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0
lea eax, [ebp - 0x1c]
push str.iconver
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x10]
mov word [ecx + 8], ax
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x44]
push eax
call fcn.0045f130
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x34]
jle 0x44a93a
xor ebx, ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x194]
call fcn.004665b5
push dword [ebp - 0x48]
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 3
call fcn.004666d7
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x194]
push eax
call fcn.0046671b
lea ecx, [ebp - 0x194]
call fcn.00466757
lea eax, [ebp - 0x44]
push eax
call fcn.00466fcd
mov eax, dword [ebp - 0x28]
pop ecx
cmp eax, ebx
jne 0x44ae66
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 1
call fcn.0046667d
and byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.0043af11
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret