Function at 0x43ee6a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push esi
push edi
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [ebp - 0x1c]
push eax
xor esi, esi
push str.data_bdmisc.dat
lea edi, [ebp - 0x20]
mov dword [ebp - 0x20], esi
call fcn.0043e2b2
test eax, eax
pop ecx
pop ecx
jl 0x43f07c
cmp dword [ebp - 0x20], esi
je 0x43f07c
push 0x206
lea eax, [ebp - 0x226]
push esi
push eax
mov word [ebp - 0x228], si
call sub.MSVCR80.dll_memset
mov eax, dword [ebp - 0x18]
add esp, 0xc
cmp dword [ebp - 4], 8
jae 0x43eecf
lea eax, [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ebx
push eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x228]
push eax
push 0x4dab50
push 0x51381c
push 0x50d38c
call edi
mov ebx, dword [sym.imp.MSVCR80.dll__wtoi]
lea eax, [ebp - 0x228]
push eax
call ebx
mov ecx, dword [ebp + 8]
push esi
mov dword [ecx], eax
lea eax, [ebp - 0x228]
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [ebp - 0x18]
add esp, 0x10
cmp dword [ebp - 4], 8
jae 0x43ef27
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x228]
push eax
push 0x4dab50
push 0x513a5c
push 0x50d38c
call edi
lea eax, [ebp - 0x228]
push eax
call ebx
mov ecx, dword [ebp + 8]
push esi
mov dword [ecx + 8], eax
lea eax, [ebp - 0x228]
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [ebp - 0x18]
add esp, 0x10
cmp dword [ebp - 4], 8
jae 0x43ef6e
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x228]
push eax
push 0x4dab50
push 0x513a70
push 0x50d38c
call edi
lea eax, [ebp - 0x228]
push eax
call ebx
mov ecx, dword [ebp + 8]
push esi
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x228]
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [ebp - 0x18]
add esp, 0x10
cmp dword [ebp - 4], 8
jae 0x43efb5
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x228]
push eax
push 0x4dab50
push 0x513a84
push 0x50d38c
call edi
lea eax, [ebp - 0x228]
push eax
call ebx
mov ecx, dword [ebp + 8]
push esi
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x228]
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [ebp - 0x18]
add esp, 0x10
cmp dword [ebp - 4], 8
jae 0x43effc
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x228]
push eax
push 0x4dab50
push 0x513a98
push 0x50d38c
call edi
lea eax, [ebp - 0x228]
push eax
call ebx
mov ecx, dword [ebp + 8]
push esi
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x228]
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [ebp - 0x18]
add esp, 0x10
cmp dword [ebp - 4], 8
jae 0x43f043
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x228]
push eax
push 0x4dab50
push 0x513ab4
push 0x50d38c
call edi
lea eax, [ebp - 0x228]
push eax
call ebx
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
inc eax
pop ebx
jmp 0x43f087
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
pop edi
pop esi
leave
ret 4