Function at 0x407970
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x108
push ebx
mov ebx, dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
push ebp
push esi
push edi
push 0x7034e0
xor eax, eax
push 0x104
mov ecx, 0x41
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push 0x6a75d5
push str.USE_MOUSE
push 0x6a7870
call ebx
test eax, eax
je 0x4079d5
xor edx, edx
mov edi, str.FALSE
lea esi, [esp + 0x10]
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
mov eax, edx
setne al
mov dword [0x703ad8], eax
jmp 0x4079df
mov dword [0x703ad8], 1
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.INV_MOUSE
push 0x6a7870
call ebx
xor ebp, ebp
test eax, eax
je 0x407a23
xor edx, edx
mov edi, str.FALSE
lea esi, [esp + 0x10]
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
mov eax, edx
setne al
mov dword [0x703adc], eax
jmp 0x407a29
mov dword [0x703adc], ebp
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.INV_MOUSE_UPDOWN
push 0x6a7870
call ebx
test eax, eax
je 0x407a6b
xor edx, edx
mov edi, str.FALSE
lea esi, [esp + 0x10]
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
mov eax, edx
setne al
mov dword [0x703ae0], eax
jmp 0x407a71
mov dword [0x703ae0], ebp
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.MOUSE_SENSITIVITY
push 0x6a7870
call ebx
test eax, eax
je 0x407aa4
lea edx, [esp + 0x10]
push edx
call fcn.005b8a6a
add esp, 4
jmp 0x407aa9
mov eax, 3
push 0x7034e0
push 0x104
mov dword [0x703ae4], eax
mov dword [0x21ef98c], eax
lea eax, [esp + 0x18]
push eax
push 0x6a75d5
push str.MY_NAME
push 0x6a7870
call ebx
test eax, eax
je 0x407af5
xor edx, edx
mov edi, str.FALSE
lea esi, [esp + 0x10]
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
mov eax, edx
setne al
mov dword [0x703ae8], eax
jmp 0x407aff
mov dword [0x703ae8], 1
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.USER_NAME
push 0x6a7870
call ebx
test eax, eax
je 0x407b41
xor edx, edx
mov edi, str.FALSE
lea esi, [esp + 0x10]
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
mov eax, edx
setne al
mov dword [0x703aec], eax
jmp 0x407b4b
mov dword [0x703aec], 1
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.MONSTER_NAME
push 0x6a7870
call ebx
test eax, eax
je 0x407b8d
xor edx, edx
mov edi, str.FALSE
lea esi, [esp + 0x10]
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
mov eax, edx
setne al
mov dword [0x703af0], eax
jmp 0x407b97
mov dword [0x703af0], 1
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.USE_FILTER
push 0x6a7870
call ebx
test eax, eax
je 0x407bd9
xor edx, edx
mov edi, str.FALSE
lea esi, [esp + 0x10]
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
mov eax, edx
setne al
mov dword [0x703af4], eax
jmp 0x407be3
mov dword [0x703af4], 1
cmp dword [0x6f3558], 0xa
jne 0x407bf6
mov dword [0x703af4], 1
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.SHOW_INTERFACE
push 0x6a7870
call ebx
test eax, eax
je 0x407c33
xor edx, edx
mov edi, str.FALSE
lea esi, [esp + 0x10]
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
mov eax, edx
setne al
jmp 0x407c38
mov eax, 1
push 0x7034e0
push 0x104
mov dword [0x703af8], eax
mov dword [0x703a84], eax
lea eax, [esp + 0x18]
push eax
push 0x6a75d5
push str.REJECT_FIGHT
push 0x6a7870
call ebx
test eax, eax
je 0x407c84
xor edx, edx
mov edi, str.FALSE
lea esi, [esp + 0x10]
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
mov eax, edx
setne al
mov dword [0x703b00], eax
jmp 0x407c8a
mov dword [0x703b00], ebp
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.REJECT_PARTY
push 0x6a7870
call ebx
test eax, eax
je 0x407ccc
xor edx, edx
mov edi, str.FALSE
lea esi, [esp + 0x10]
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
mov eax, edx
setne al
mov dword [0x703b04], eax
jmp 0x407cd2
mov dword [0x703b04], ebp
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.WARNING_MSG
push 0x6a7870
call ebx
test eax, eax
je 0x407d14
xor edx, edx
mov edi, str.FALSE
lea esi, [esp + 0x10]
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
mov eax, edx
setne al
mov dword [0x703b08], eax
jmp 0x407d1e
mov dword [0x703b08], 1
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.REJECT_TRADE
push 0x6a7870
call ebx
test eax, eax
je 0x407d60
xor edx, edx
mov edi, str.FALSE
lea esi, [esp + 0x10]
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
mov eax, edx
setne al
mov dword [0x703b0c], eax
jmp 0x407d66
mov dword [0x703b0c], ebp
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.UI_REOPEN
push 0x6a7870
call ebx
test eax, eax
je 0x407da8
xor edx, edx
mov edi, str.FALSE
lea esi, [esp + 0x10]
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
mov eax, edx
setne al
mov dword [0x703b10], eax
jmp 0x407db2
mov dword [0x703b10], 1
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.SCREEN_SWING
push 0x6a7870
mov dword [0x703b20], ebp
call ebx
test eax, eax
je 0x407dfa
xor edx, edx
mov edi, str.FALSE
lea esi, [esp + 0x10]
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
mov eax, edx
setne al
mov dword [0x703b14], eax
jmp 0x407e04
mov dword [0x703b14], 1
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.TALK_BALLOON
push 0x6a7870
call ebx
test eax, eax
je 0x407e46
xor edx, edx
mov edi, str.FALSE
lea esi, [esp + 0x10]
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
mov eax, edx
setne al
mov dword [0x703b18], eax
jmp 0x407e50
mov dword [0x703b18], 1
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.HIDE_DAMAGE
push 0x6a7870
call ebx
test eax, eax
je 0x407e98
xor edx, edx
mov edi, str.FALSE
lea esi, [esp + 0x10]
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
mov eax, edx
setne al
mov dword [0x703b1c], eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [0x703b1c], ebp
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret