Function at 0x10021de0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x82a9f3
push 0x82a983
mov bl, 0xe9
call fcn.10098b80
push 0x10022550
push 0x40b154
call fcn.10098b80
push 0x58811f
push 0x5880f0
call fcn.10098b80
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x588447
call edi
lea ecx, [ebp - 4]
push ecx
mov dword [0x588447], 0xfff
mov edx, dword [ebp - 4]
push edx
push 4
push 0x588447
call edi
push 0x82a9f3
push 0x82a983
call fcn.10098b80
push 0x100225d0
push 0x64a79a
or bl, 0xff
call fcn.10098b80
push 0x100225d0
push 0x64a85f
or bl, 0xff
call fcn.10098b80
push 0x100225d0
push 0x656e03
or bl, 0xff
call fcn.10098b80
push 0x100225d0
push 0x64ab3d
or bl, 0xff
call fcn.10098b80
push 0x100225d0
push 0x64ac02
or bl, 0xff
call fcn.10098b80
push 0x100225d0
push 0x63ddf2
or bl, 0xff
call fcn.10098b80
push 0x100225d0
push 0x63df89
or bl, 0xff
call fcn.10098b80
add esp, 0x40
push 0x100225d0
push 0x63ea4c
or bl, 0xff
call fcn.10098b80
push 0x100225d0
push 0x64ca0c
or bl, 0xff
call fcn.10098b80
push 0x100225d0
push 0x77faf9
or bl, 0xff
call fcn.10098b80
push 0x100225d0
push 0x81071b
or bl, 0xff
call fcn.10098b80
push 0x100225d0
push 0x81079b
or bl, 0xff
call fcn.10098b80
push 0x100224d0
push 0x47fe31
or bl, 0xff
call fcn.10098b80
push 0x100224d0
push 0x59890d
or bl, 0xff
call fcn.10098b80
push 0x100224d0
push 0x59a399
or bl, 0xff
call fcn.10098b80
add esp, 0x40
push 0x100224d0
push 0x59a93c
or bl, 0xff
call fcn.10098b80
push 0x100224d0
push 0x59b13b
or bl, 0xff
call fcn.10098b80
push 0x100224d0
push 0x5a4261
or bl, 0xff
call fcn.10098b80
push 0x100224d0
push 0x5a4d52
or bl, 0xff
call fcn.10098b80
push 0x100224d0
push 0x5b6117
or bl, 0xff
call fcn.10098b80
push 0x100224d0
push 0x65a6ce
or bl, 0xff
call fcn.10098b80
push 0x100224d0
push 0x727987
or bl, 0xff
call fcn.10098b80
push 0x100224d0
push 0x7861f1
or bl, 0xff
call fcn.10098b80
add esp, 0x40
push 0x100224d0
push 0x7d32fa
or bl, 0xff
call fcn.10098b80
push 0x100224d0
push 0x7d3b0d
or bl, 0xff
call fcn.10098b80
push 0x10022600
push 0x8317bd
mov bl, 0xe9
call fcn.10098b80
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x18
push str.._Settings.ini
push 0
push str.SeparateChat
push str.Setting
call esi
push str.._Settings.ini
push 0
push str.HPMonster
push str.Setting
mov dword [0x106108e0], eax
call esi
push str.._Settings.ini
push 0
push str.TimerBar
push str.Setting
mov dword [0x106108dc], eax
call esi
push str.._Settings.ini
push 0
mov dword [0x106108e4], eax
push str.MiniMapType
push str.Setting
call esi
push str.._Settings.ini
push 0
push str.DisableStaticEffect
push str.AntiLag
mov dword [0x10610848], eax
call esi
test eax, eax
mov dword [0x10610924], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x77135c
sete bl
call edi
lea ecx, [ebp - 4]
push ecx
mov byte [0x77135c], bl
mov edx, dword [ebp - 4]
push edx
push 1
push 0x77135c
call edi
push str.._Settings.ini
push 0
push str.DisableDynamicEffect
push str.AntiLag
call esi
test eax, eax
mov dword [0x10610920], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x74cd82
sete bl
call edi
lea ecx, [ebp - 4]
push ecx
mov byte [0x74cd82], bl
mov edx, dword [ebp - 4]
push edx
push 1
push 0x74cd82
call edi
push str.._Settings.ini
push 0
push str.DisableSkillEffect
push str.AntiLag
call esi
mov dword [0x1061091c], eax
neg eax
sbb eax, eax
and eax, 0x1f4
mov ebx, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x72d1bd
call edi
lea ecx, [ebp - 4]
push ecx
mov dword [0x72d1bd], ebx
mov edx, dword [ebp - 4]
push edx
push 4
push 0x72d1bd
call edi
push str.._Settings.ini
push 0
push str.DisableGlowEffect
push str.AntiLag
call esi
push str.._Settings.ini
push 0
push str.DisableObject
mov dword [0x10610918], eax
push str.AntiLag
call esi
test eax, eax
mov dword [0x10610914], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 1
sete bl
push 0x5de2b4
add bl, 0x84
call edi
lea ecx, [ebp - 4]
push ecx
mov byte [0x5de2b4], bl
mov edx, dword [ebp - 4]
push edx
push 1
push 0x5de2b4
call edi
push str.._Settings.ini
xor ebx, ebx
push ebx
push str.DisableShadow
push str.AntiLag
call esi
push str.._Settings.ini
push ebx
push str.DisablePlayer
push str.AntiLag
mov dword [0x1061090c], eax
call esi
push str.._Settings.ini
push 1
push str.Anisotropy
push str.Graphics
mov dword [0x10610910], eax
call esi
push str.._Settings.ini
push 1
push str.MaxAnisotropy
push str.Graphics
mov dword [0x106108fc], eax
call esi
push str.._Settings.ini
push 1
push str.Linear
push str.Graphics
mov dword [0x106108f8], eax
call esi
push str.._Settings.ini
push ebx
push str.TronEffects
push str.Graphics
mov dword [0x106108f4], eax
call esi
push str.._Settings.ini
push 1
push 0x100b0cb8
push str.Graphics
mov dword [0x106108ec], eax
call esi
push str.._Settings.ini
push 1
push str.AdvanceStats
push str.Graphics
mov dword [0x106108f0], eax
call esi
push str.._Settings.ini
push 1
test eax, eax
push str.DamageTable
setne al
push str.Graphics
mov byte [0x10610844], al
call esi
push str..Settings.ini
test eax, eax
setne cl
push 0x64
mov byte [0x10610617], cl
push 0x10610878
push str.Arial
push str.Main_Font_Name
push str.MainConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.._Settings.ini
push 1
push str.Main_Font_Bold
push str.MainConfig
call esi
push str.._Settings.ini
push 0xb
push str.Main_Font_Height
push str.MainConfig
mov dword [0x10610874], eax
call esi
push str.._Settings.ini
push ebx
push str.Main_Font_Italic
push str.MainConfig
mov dword [0x10610870], eax
call esi
push str.._Settings.ini
push 1
push str.Main_Font_Unicode
push str.MainConfig
mov dword [0x1061086c], eax
call esi
push str.._Settings.ini
push ebx
push str.Main_Font_Width
push str.MainConfig
mov dword [0x10610868], eax
call esi
push str.._Settings.ini
push ebx
push str.Main_Font_Underline
push str.MainConfig
mov dword [0x10610864], eax
call esi
push str.._Settings.ini
push 3
push str.Main_Font_Quality
push str.MainConfig
mov dword [0x10610860], eax
call esi
push str.._Settings.ini
push ebx
push str.Main_Font_StrikeOut
push str.MainConfig
mov dword [0x1061085c], eax
call esi
mov dword [0x10610854], ebx
mov dword [0x10610850], ebx
mov dword [0x1061084c], ebx
push 0x10021d70
push 0x4060d0
mov bl, 0xe8
mov dword [0x10610858], eax
mov dword [0x1061092c], 1
call fcn.10098b80
push 0x10021d70
push 0x4d2882
call fcn.10098b80
push 0x10021d70
push 0x4d28eb
call fcn.10098b80
push 0x10021d70
push 0x4d2957
call fcn.10098b80
push 0x10021d70
push 0x4d29c1
call fcn.10098b80
add esp, 0x28
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x4060d5
call edi
mov bl, 0x90
mov byte [0x4060d5], bl
mov ecx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
push ecx
push 1
push 0x4060d5
call edi
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x4d2887
call edi
lea eax, [ebp - 4]
push eax
mov byte [0x4d2887], bl
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0x4d2887
call edi
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x4d28f0
call edi
lea eax, [ebp - 4]
push eax
mov byte [0x4d28f0], bl
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0x4d28f0
call edi
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x4d295c
call edi
lea eax, [ebp - 4]
push eax
mov byte [0x4d295c], bl
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0x4d295c
call edi
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x4d29c6
call edi
lea eax, [ebp - 4]
push eax
mov byte [0x4d29c6], bl
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0x4d29c6
call edi
mov eax, dword [0x106108e0]
pop edi
pop esi
mov dword [0x10610630], eax
pop ebx
cmp eax, 1
jne 0x100224cc
call fcn.100097b0
mov esp, ebp
pop ebp
ret