Function at 0x437380
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f26e0
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov esi, ecx
push edi
cmp ebp, dword [esi + 0x9b8]
jae 0x437792
mov ecx, dword [esi + 0x9b4]
mov eax, ebp
shl eax, 5
add eax, ebp
lea ebx, [ecx + eax*4]
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_4
lea edx, [esp + 0x14]
push 1
push edx
mov dword [esp + 0x38], 0
call fcn.0040dc50
push 0x2800
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_operatornew
add esp, 0xc
mov edi, eax
mov eax, dword [esp + 0x14]
push eax
push 0x2800
push edi
push 0x5307a8
push str.BadShopSeeds
push str.SYSTEM
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::operator_3
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::TrimRight_1
mov ecx, dword [esp + 0x38]
push 0x5307a8
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x437459
push 0x536964
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::operator_2
lea edx, [esp + 0x38]
mov ecx, 0x536964
push edx
call sub.MFC42.DLL_CString::operator_2
mov dword [ebx + 8], 0
mov eax, dword [0x5362bc]
test eax, eax
je 0x4374d7
cmp dword [0x5362fc], ebp
jne 0x43748e
push 0
mov ecx, esi
call fcn.00433720
mov dword [0x5362fc], eax
cmp dword [0x536300], ebp
jne 0x4374a4
push 1
mov ecx, esi
call fcn.00433720
mov dword [0x536300], eax
cmp dword [0x536308], ebp
jne 0x4374ba
push 2
mov ecx, esi
call fcn.00433720
mov dword [0x536308], eax
cmp dword [0x53630c], ebp
jne 0x4374d0
push 3
mov ecx, esi
call fcn.00433720
mov dword [0x53630c], eax
mov ecx, esi
call fcn.00436210
lea edi, [ebx + 0x1c]
push 0x5236a4
lea eax, [esp + 0x20]
push edi
push eax
call sub.MFC42.DLL_operator_4
mov ebp, dword [eax]
lea ecx, [esp + 0x38]
push 0x5236a4
lea edx, [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_operator_4
push ebp
mov ecx, eax
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CString::Find_1
test eax, eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
setge bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x437773
mov eax, dword [esp + 0x38]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x5307a8
push eax
call ebp
add esp, 8
test eax, eax
je 0x437591
lea ecx, [esp + 0x1c]
push 1
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x5236a4
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x437591
push 0x5236a4
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::operator_1
push edi
lea ecx, [esp + 0x3c]
call fcn.004e96da
lea edx, [esp + 0x38]
mov ecx, 0x536964
push edx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push str.BadShopSeeds
push str.SYSTEM
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea edx, [esp + 0x1c]
push 1
push edx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x5236a4
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x437601
push 0x5236a4
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_4
xor edi, edi
lea ecx, [esp + 0x38]
push edi
push 0x5236a4
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CString::Find
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x18], ebp
jl 0x437765
jmp 0x437634
mov ebp, dword [esp + 0x18]
mov eax, ebp
lea ecx, [esp + 0x1c]
sub eax, edi
push eax
push edi
push ecx
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight_1
mov edx, dword [esp + 0x10]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x5307a8
push edx
call ebx
add esp, 8
test eax, eax
je 0x437747
mov eax, dword [esi + 0x9b8]
xor edi, edi
test eax, eax
jbe 0x4376d2
xor ebp, ebp
mov eax, dword [esi + 0x9b4]
mov ecx, dword [esp + 0x10]
push ecx
lea eax, [eax + ebp + 0x1c]
mov eax, dword [eax]
push eax
call ebx
add esp, 8
test eax, eax
je 0x4376ce
mov eax, dword [esi + 0x9b8]
inc edi
add ebp, 0x84
cmp edi, eax
jb 0x4376a2
mov ebp, dword [esp + 0x18]
cmp edi, dword [esi + 0x9b8]
jne 0x437732
lea edx, [esp + 0x10]
lea eax, [esp + 0x24]
push edx
push 0x5261e8
push eax
call sub.MFC42.DLL_operator_3
push 0x5261c4
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x3c], 6
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
mov edx, dword [esi]
push eax
push 4
mov ecx, esi
mov byte [esp + 0x38], 7
call dword [edx + 8]
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CString::CString
jmp 0x437747
mov ecx, dword [esi + 0x9b4]
mov eax, edi
shl eax, 5
add eax, edi
mov dword [ecx + eax*4 + 8], 0
lea edi, [ebp + 1]
lea ecx, [esp + 0x38]
push edi
push 0x5236a4
call sub.MFC42.DLL_CString::Find
test eax, eax
mov dword [esp + 0x18], eax
jge 0x437630
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4