Function at 0x406f40
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
mov dword [0x703a98], eax
lea eax, [esp + 0x18]
push eax
push 0x6a75d5
push str.MOUSE
push str.TUTORIAL
call ebx
test eax, eax
mov ebp, 1
je 0x406faf
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 [0x703a10], eax
jmp 0x406fb5
mov dword [0x703a10], ebp
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.MOVE
push str.TUTORIAL
call ebx
test eax, eax
je 0x406ff7
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 [0x703a14], eax
jmp 0x406ffd
mov dword [0x703a14], ebp
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.SKILL
push str.TUTORIAL
call ebx
test eax, eax
je 0x40703f
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 [0x703a18], eax
jmp 0x407045
mov dword [0x703a18], ebp
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.QUEST
push str.TUTORIAL
call ebx
test eax, eax
je 0x407087
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 [0x703a1c], eax
jmp 0x40708d
mov dword [0x703a1c], ebp
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.LEVELUP
push str.TUTORIAL
call ebx
test eax, eax
je 0x4070cf
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 [0x703a20], eax
jmp 0x4070d5
mov dword [0x703a20], ebp
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.ITEM
push str.TUTORIAL
call ebx
test eax, eax
je 0x407117
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 [0x703a24], eax
jmp 0x40711d
mov dword [0x703a24], ebp
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.FULLSCREEN
push str.VIDEO
call ebx
test eax, eax
je 0x40715f
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 [0x703c04], eax
jmp 0x407165
mov dword [0x703c04], ebp
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.SIZE_X
push str.VIDEO
call ebx
test eax, eax
je 0x40719b
lea edx, [esp + 0x10]
push edx
call fcn.005b8a6a
add esp, 4
mov dword [0x6f355c], eax
push 0x7034e0
push 0x104
lea eax, [esp + 0x18]
push eax
push 0x6a75d5
push str.SIZE_Y
push str.VIDEO
call ebx
test eax, eax
je 0x4071d3
lea ecx, [esp + 0x10]
push ecx
call fcn.005b8a6a
add esp, 4
mov dword [0x6f3560], eax
jmp 0x4071d8
mov eax, dword [0x6f3560]
mov ecx, dword [0x6f355c]
cmp ecx, 0x320
mov ebp, 2
jne 0x407252
cmp eax, 0x258
jne 0x4072d8
mov dword [0x703a9c], 0
mov dword [0x6f3578], 0x3fa00000
push 0x7034e0
push 0x104
lea edx, [esp + 0x18]
push edx
push 0x6a75d5
push str.COLOR
push str.VIDEO
call ebx
test eax, eax
je 0x4072fb
lea eax, [esp + 0x10]
push eax
call fcn.005b8a6a
xor ecx, ecx
add esp, 4
cmp eax, 0x10
setne cl
mov dword [0x703a3c], ecx
jmp 0x407305
cmp ecx, 0x400
jne 0x40726d
cmp eax, 0x300
jne 0x4072d8
mov dword [0x703a9c], 1
jmp 0x407200
cmp ecx, 0x500
jne 0x407287
cmp eax, 0x400
jne 0x4072d8
mov dword [0x703a9c], ebp
jmp 0x407200
cmp ecx, 0x550
jne 0x4072a2
cmp eax, 0x300
jne 0x4072d8
mov dword [0x703a9c], 3
jmp 0x4072e4
cmp ecx, 0x780
jne 0x4072bd
cmp eax, 0x4b0
jne 0x4072d8
mov dword [0x703a9c], 4
jmp 0x4072e4
cmp ecx, 0x690
jne 0x4072d8
cmp eax, 0x41a
jne 0x4072d8
mov dword [0x703a9c], 5
jmp 0x4072e4
cmp dword [0x703a9c], ebp
jle 0x407200
fild dword [0x6f355c]
fidiv dword [0x6f3560]
fstp dword [0x6f3578]
jmp 0x40720a
mov dword [0x703a3c], 1
push 0x7034e0
push 0x104
lea edx, [esp + 0x18]
push edx
push 0x6a75d5
push str.GLOW_LEVEL
push str.VIDEO
call ebx
test eax, eax
je 0x40733d
lea eax, [esp + 0x10]
push eax
call fcn.005b8a6a
add esp, 4
mov dword [0x703aa0], eax
jmp 0x407343
mov dword [0x703aa0], ebp
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.GAMMA
push str.VIDEO
call ebx
test eax, eax
je 0x40737b
lea edx, [esp + 0x10]
push edx
call fcn.005b8a6a
add esp, 4
mov dword [0x703aa8], eax
jmp 0x407381
mov dword [0x703aa8], ebp
push 0x7034e0
push 0x104
lea eax, [esp + 0x18]
push eax
push 0x6a75d5
push str.RANGE
push str.VIDEO
call ebx
test eax, eax
je 0x40746a
mov edi, str.HIGH
lea esi, [esp + 0x10]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4073fa
mov dword [0x703aa4], ebp
mov dword [0x703a34], 0x43c80000
mov dword [0x703a48], 0x43c80000
mov dword [0x703a58], 0x43af0000
mov dword [0x703a5c], 0x43160000
mov dword [0x703a60], 0x42b40000
jmp 0x4074a6
mov edi, str.MIDDLE
lea esi, [esp + 0x10]
mov ecx, 7
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x40746a
mov edi, 0x6a7690
lea esi, [esp + 0x10]
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4074b0
mov dword [0x703aa4], edx
mov dword [0x703a34], 0x43480000
mov dword [0x703a44], 0x43160000
mov dword [0x703a48], 0x43480000
mov dword [0x703a58], 0x43480000
mov dword [0x703a5c], 0x42a00000
mov dword [0x703a60], 0x42700000
jmp 0x4074b0
mov dword [0x703aa4], 1
mov dword [0x703a34], 0x43960000
mov dword [0x703a48], 0x43960000
mov dword [0x703a58], 0x437a0000
mov dword [0x703a5c], 0x42c80000
mov dword [0x703a60], 0x42a00000
mov dword [0x703a44], 0x43480000
push 0x7034e0
push 0x104
lea eax, [esp + 0x18]
push eax
push 0x6a75d5
push str.TEXTURE
push str.VIDEO
call ebx
test eax, eax
je 0x407538
mov edi, str.HIGH
lea esi, [esp + 0x10]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x407538
mov edi, str.MIDDLE
lea esi, [esp + 0x10]
mov ecx, 7
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x407512
mov dword [0x703aac], 1
mov dword [0x703a6c], 0x80
jmp 0x407548
mov edi, 0x6a7690
lea esi, [esp + 0x10]
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x407548
mov dword [0x703aac], edx
mov dword [0x703a6c], 0x40
jmp 0x407548
mov dword [0x703a6c], 0xffffffff
mov dword [0x703aac], ebp
push 0x7034e0
push 0x104
lea eax, [esp + 0x18]
push eax
push 0x6a75d5
push str.SHADOW
push str.VIDEO
call ebx
test eax, eax
je 0x40758a
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 [0x703a30], eax
jmp 0x407594
mov dword [0x703a30], 1
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.WATER
push str.VIDEO
call ebx
test eax, eax
je 0x4075d6
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 [0x703a2c], eax
jmp 0x4075e0
mov dword [0x703a2c], 0
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.CLOAK
push str.VIDEO
call ebx
test eax, eax
je 0x407622
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 [0x703ab0], eax
jmp 0x40762c
mov dword [0x703ab0], 1
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.HELMET
push str.VIDEO
call ebx
test eax, eax
je 0x40766e
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 [0x703ab4], eax
jmp 0x407678
mov dword [0x703ab4], 1
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.WEAPONEFF
push str.VIDEO
call ebx
test eax, eax
je 0x4076ba
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 [0x703ab8], eax
jmp 0x4076c4
mov dword [0x703ab8], 1
push 0x7034e0
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x6a75d5
push str.SKILLWNDLOCK
push str.VIDEO
call ebx
test eax, eax
je 0x40770c
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 [0x703abc], eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [0x703abc], 0
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret