Function at 0x437960
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
mov eax, dword [0x57f7c4]
xor eax, esp
mov dword [esp + 0x104], eax
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
push edi
push str..DataGuildHouse.ini
push 0
push str.HouseBuyMoney
push str.DefaultSet
call ebp
test eax, eax
jg 0x4379ac
mov eax, dword [0x587970]
add eax, 0xe0
push str.CGuildMgr::InitGuildHouseIniFile_GuildHouse_open_0
push eax
call fcn.004efdc0
add esp, 8
mov ecx, dword [0x582498]
push ebx
push str..DataGuildHouse.ini
push ecx
push str.HouseBuyMoney
push str.DefaultSet
call ebp
mov edx, dword [0x58249c]
push str..DataGuildHouse.ini
push edx
push str.HouseKeepEtin
push str.DefaultSet
mov dword [0x582498], eax
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str..DataGuildHouse.ini
push 0xff
mov dword [0x58249c], eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.KeepEtin
push str.GateKeeper
call ebx
test eax, eax
jbe 0x437a2f
lea ecx, [esp + 0x14]
push ecx
mov ebx, 3
lea esi, [esp + 0x14]
mov edi, 0x5824a2
call fcn.0043b440
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 4
push str..DataGuildHouse.ini
push 0xff
lea edx, [esp + 0x1c]
push edx
push 0
push str.UpgradeEtin
push str.GateKeeper
call ebx
test eax, eax
jbe 0x437a71
lea eax, [esp + 0x14]
push eax
mov ebx, 3
lea esi, [esp + 0x14]
mov edi, 0x582502
call fcn.0043b440
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 4
push str..DataGuildHouse.ini
push 0xff
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.MoveDecreRate
push str.GateKeeper
call ebx
test eax, eax
jbe 0x437ab3
lea edx, [esp + 0x14]
push edx
mov ebx, 3
lea esi, [esp + 0x14]
mov edi, 0x587c08
call fcn.0043b4e0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 4
push str..DataGuildHouse.ini
push 0xff
lea eax, [esp + 0x1c]
push eax
push 0
push str.BuyDecreRate
push str.ShopDefault
call ebx
test eax, eax
jbe 0x437aea
lea ecx, [esp + 0x14]
push ecx
lea esi, [esp + 0x14]
mov edi, 0x5825a0
call fcn.0043b580
add esp, 4
push str..DataGuildHouse.ini
push 0xff
lea edx, [esp + 0x1c]
push edx
push 0
push str.BuyPotionDecreRate
push str.ShopDefault
call ebx
test eax, eax
jbe 0x437b21
lea eax, [esp + 0x14]
push eax
lea esi, [esp + 0x14]
mov edi, 0x5825c0
call fcn.0043b580
add esp, 4
push str..DataGuildHouse.ini
push 0xff
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.UpgradeEtin
push str.ShopWeapon
call ebx
test eax, eax
jbe 0x437b63
lea edx, [esp + 0x14]
push edx
mov ebx, 3
lea esi, [esp + 0x14]
mov edi, 0x582510
call fcn.0043b440
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 4
push str..DataGuildHouse.ini
push 0xff
lea eax, [esp + 0x1c]
push eax
push 0
push str.UpgradeEtin
push str.ShopDefen
call ebx
test eax, eax
jbe 0x437ba5
lea ecx, [esp + 0x14]
push ecx
mov ebx, 3
lea esi, [esp + 0x14]
mov edi, 0x58251e
call fcn.0043b440
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 4
push str..DataGuildHouse.ini
push 0xff
lea edx, [esp + 0x1c]
push edx
push 0
push str.UpgradeEtin
push str.ShopPosion
call ebx
test eax, eax
jbe 0x437be7
lea eax, [esp + 0x14]
push eax
mov ebx, 3
lea esi, [esp + 0x14]
mov edi, 0x582548
call fcn.0043b440
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 4
push str..DataGuildHouse.ini
push 0xff
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.KeepEtin
push str.ShopPosion
call ebx
test eax, eax
jbe 0x437c29
lea edx, [esp + 0x14]
push edx
mov ebx, 3
lea esi, [esp + 0x14]
mov edi, 0x5824de
call fcn.0043b440
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 4
push str..DataGuildHouse.ini
push 0xff
lea eax, [esp + 0x1c]
push eax
push 0
push str.KeepEtin
push str.Bank
call ebx
test eax, eax
jbe 0x437c6b
lea ecx, [esp + 0x14]
push ecx
mov ebx, 5
lea esi, [esp + 0x14]
mov edi, 0x5824ea
call fcn.0043b440
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 4
push str..DataGuildHouse.ini
push 0xff
lea edx, [esp + 0x1c]
push edx
push 0
push str.UpgradeEtin
push str.Bank
call ebx
test eax, eax
jbe 0x437cad
lea eax, [esp + 0x14]
push eax
mov ebx, 5
lea esi, [esp + 0x14]
mov edi, 0x582556
call fcn.0043b440
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 4
push str..DataGuildHouse.ini
push 0xff
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.PermitSlot
push str.Bank
call ebx
test eax, eax
jbe 0x437cef
lea edx, [esp + 0x14]
push edx
mov ebx, 6
lea esi, [esp + 0x14]
mov edi, 0x582628
call fcn.0043b440
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 4
push str..DataGuildHouse.ini
push 0xff
lea eax, [esp + 0x1c]
push eax
push 0
push str.UpgradeEtin
push str.General
call ebx
test eax, eax
jbe 0x437d31
lea ecx, [esp + 0x14]
push ecx
mov ebx, 3
lea esi, [esp + 0x14]
mov edi, 0x58252c
call fcn.0043b440
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 4
push str..DataGuildHouse.ini
push 0xff
lea edx, [esp + 0x1c]
push edx
push 0
push str.KeepEtin
push str.Smith
call ebx
test eax, eax
jbe 0x437d73
lea eax, [esp + 0x14]
push eax
mov ebx, 5
lea esi, [esp + 0x14]
mov edi, 0x5824d2
call fcn.0043b440
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 4
push str..DataGuildHouse.ini
push 0xff
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.UpgradeEtin
push str.Smith
call ebx
test eax, eax
jbe 0x437db5
lea edx, [esp + 0x14]
push edx
mov ebx, 5
lea esi, [esp + 0x14]
mov edi, 0x58253a
call fcn.0043b440
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 4
push str..DataGuildHouse.ini
push 0xff
lea eax, [esp + 0x1c]
push eax
push 0
push str.RepairDecreRate
push str.Smith
call ebx
test eax, eax
jbe 0x437df7
lea ecx, [esp + 0x14]
push ecx
mov ebx, 6
lea esi, [esp + 0x14]
mov edi, 0x582570
call fcn.0043b4e0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 4
push str..DataGuildHouse.ini
push 0xff
lea edx, [esp + 0x1c]
push edx
push 0
push str.RapiceMixDecreRate
push str.Smith
call ebx
test eax, eax
jbe 0x437e39
lea eax, [esp + 0x14]
push eax
mov ebx, 6
lea esi, [esp + 0x14]
mov edi, 0x5825e0
call fcn.0043b4e0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 4
push str..DataGuildHouse.ini
push 0xff
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.RapiceMixPercentRate
push str.Smith
call ebx
pop ebx
test eax, eax
jbe 0x437e6c
lea edx, [esp + 0x10]
push edx
lea esi, [esp + 0x10]
call fcn.0043b620
add esp, 4
mov edi, 1
mov esi, 0x58269e
push edi
lea eax, [esp + 0x14]
push str.GateKeeper_d
push eax
call fcn.0051a8cd
movzx ecx, word [esi - 0x60]
add esp, 0xc
push str..DataGuildHouse.ini
push ecx
lea edx, [esp + 0x18]
push edx
push str.NpcLevel_Light
call ebp
mov word [esi - 0x60], ax
movzx eax, word [esi]
push str..DataGuildHouse.ini
push eax
lea ecx, [esp + 0x18]
push ecx
push str.NpcLevel_Dark
call ebp
push edi
lea edx, [esp + 0x14]
push str.ShopWeapon_d
push edx
mov word [esi], ax
call fcn.0051a8cd
movzx eax, word [esi - 0x48]
add esp, 0xc
push str..DataGuildHouse.ini
push eax
lea ecx, [esp + 0x18]
push ecx
push str.NpcLevel_Light
call ebp
movzx edx, word [esi + 0x18]
push str..DataGuildHouse.ini
mov word [esi - 0x48], ax
push edx
lea eax, [esp + 0x18]
push eax
push str.NpcLevel_Dark
call ebp
push edi
lea ecx, [esp + 0x14]
push str.ShopDefen_d
push ecx
mov word [esi + 0x18], ax
call fcn.0051a8cd
movzx edx, word [esi - 0x30]
add esp, 0xc
push str..DataGuildHouse.ini
push edx
lea eax, [esp + 0x18]
push eax
push str.NpcLevel_Light
call ebp
movzx ecx, word [esi + 0x30]
push str..DataGuildHouse.ini
push ecx
lea edx, [esp + 0x18]
push edx
push str.NpcLevel_Dark
mov word [esi - 0x30], ax
call ebp
push edi
mov word [esi + 0x30], ax
lea eax, [esp + 0x14]
push str.ShopGeneral_d
push eax
call fcn.0051a8cd
movzx ecx, word [esi - 0x18]
add esp, 0xc
push str..DataGuildHouse.ini
push ecx
lea edx, [esp + 0x18]
push edx
push str.NpcLevel_Light
call ebp
mov word [esi - 0x18], ax
push str..DataGuildHouse.ini
movzx eax, word [esi + 0x48]
push eax
lea ecx, [esp + 0x18]
push ecx
push str.NpcLevel_Dark
call ebp
mov word [esi + 0x48], ax
add esi, 6
inc edi
cmp esi, 0x5826aa
jle 0x437e76
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.0051a8be
add esp, 0x108
ret