Function at 0x10001b00
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10081ebb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push ebx
mov dword [esp + 0x2c], ecx
push 0
call fcn.10075e80
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10001f2b
push ebp
push esi
push edi
mov ecx, ebx
call fcn.100776e0
mov al, byte [0x1009feb0]
push 0
lea ecx, [esp + 0x54]
mov byte [esp + 0x54], 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_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
lea ecx, [esp + 0x50]
push edx
push 0
push 0x1009feb0
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edi, str.skinconfig.ini
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x1ac], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.skinconfig.ini
lea ecx, [esp + 0x58]
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 [esp + 0x54]
test eax, eax
jne 0x10001ba4
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, [esp + 0xa8]
push 0x100
push eax
push 0x100994ec
push str.skinpath
push str.skin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
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 edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 1
mov eax, dword [edx]
push eax
push 0
push 0x1009feb0
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
lea edi, [esp + 0xa4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0x20]
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 edi, str.MenuSetConfig.ini
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.MenuSetConfig.ini
lea ecx, [esp + 0x20]
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_]
lea ecx, [esp + 0x70]
call fcn.1002cec0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x1ac], 2
test eax, eax
jne 0x10001c5e
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 ecx, [esp + 0x74]
call fcn.1002daf0
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], dl
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 al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x1b0], 3
mov byte [esp + 0x44], 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 str.fontcolor
push str.menu
lea ecx, [esp + 0x78]
mov byte [esp + 0x1b4], 4
call fcn.1002dba0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x48]
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_]
push str.size
push str.menu
lea ecx, [esp + 0x78]
call fcn.1002dcf0
push str.font
push str.menu
lea ecx, [esp + 0x78]
mov dword [esp + 0x1c], eax
call fcn.1002dba0
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x2c]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10001d37
mov edi, dword [esp + 0x2c]
mov ecx, ebp
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x10001d44
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, [esp + 0x3c]
push ecx
push 0x100995b4
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
ja 0x10001d68
mov dword [esp + 0x14], 0xd
mov edx, dword [esp + 0x3c]
mov ecx, ebx
push edx
call fcn.10077180
mov eax, dword [esp + 0x14]
mov ecx, ebx
push eax
call fcn.100771a0
mov ebp, dword [esp + 0x38]
mov ecx, ebp
call fcn.100012c0
xor edi, edi
xor esi, esi
mov eax, dword [0x1009fea4]
test eax, eax
je 0x10001df1
mov ecx, dword [0x1009fea8]
sub ecx, eax
sar ecx, 5
cmp edi, ecx
jae 0x10001df1
mov eax, dword [esi + eax + 4]
test eax, eax
jne 0x10001db4
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.MSVCRT.dll_atoi]
mov edx, dword [0x1009fea4]
add esp, 4
mov ecx, dword [esi + edx + 0x14]
test ecx, ecx
jne 0x10001dd2
mov ecx, 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 0
push 0
push 1
push str.doc_empty_icon16.png
add eax, 0x1770
push ecx
push eax
mov ecx, ebx
call fcn.10076ad0
inc edi
add esi, 0x20
jmp 0x10001d8f
mov ecx, ebx
call fcn.10076e50
xor esi, esi
mov ecx, ebx
push esi
push esi
push 1
push str.doc_plus_icon16.png
push 0x1009956c
push 0x176f
call fcn.10076ad0
mov ecx, dword [ebp + 0x29c]
mov eax, dword [ecx]
call dword [eax + 0x34]
lea ecx, [esp + 0x60]
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
lea edx, [esp + 0x60]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CWnd::ClientToScreen
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x60]
add eax, 0xfffffffd
push eax
push ecx
push esi
call fcn.10075e90
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp eax, esi
je 0x10001e72
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x10001e69
cmp al, 0xff
je 0x10001e69
dec al
mov byte [ecx], al
jmp 0x10001e72
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], esi
cmp eax, esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
je 0x10001ea3
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x10001e9a
cmp al, 0xff
je 0x10001e9a
dec al
mov byte [ecx], al
jmp 0x10001ea3
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x70]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov byte [esp + 0x1ac], 1
call fcn.1002d120
mov ecx, dword [esp + 0x1c]
cmp ecx, esi
je 0x10001ee4
mov al, byte [ecx - 1]
test al, al
je 0x10001eda
cmp al, 0xff
je 0x10001eda
dec al
mov byte [ecx - 1], al
jmp 0x10001ee4
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
pop edi
cmp ecx, esi
pop esi
pop ebp
je 0x10001f2b
mov al, byte [ecx - 1]
test al, al
je 0x10001f21
cmp al, 0xff
je 0x10001f21
dec al
pop ebx
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x194]
mov dword fs:[0], ecx
add esp, 0x1a0
ret
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x198]
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a0
ret