Function at 0x5df450
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x63621c
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x68b740]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x68b740]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], edi
call dword [sym.imp.engine.dll_public:_void___thiscall_KIniFile::constructor_void_]
xor ebx, ebx
mov dword [esp + 0x144], ebx
mov dword [esp + 0x20], str.S_GOLD
mov dword [esp + 0x24], str.S_WOOD
mov dword [esp + 0x28], str.S_WATER
mov dword [esp + 0x2c], str.S_FIRE
mov dword [esp + 0x30], str.S_EARTH
mov dword [esp + 0x34], str.C_BEGIN
mov dword [esp + 0x38], str.C_JUSTICE
mov dword [esp + 0x3c], str.C_EVIL
mov dword [esp + 0x40], str.C_BALANCE
mov dword [esp + 0x44], str.C_FREE
mov dword [esp + 0x48], str.C_ANIMAL
mov dword [esp + 0x4c], str.C_EVENT
xor ecx, ecx
lea eax, [edi + 8]
lea esp, [esp]
mov dword [eax - 8], ecx
mov dword [eax - 4], ebx
mov dword [eax], 1
mov byte [eax + 4], bl
mov byte [eax + 0x44], bl
add ecx, 1
add eax, 0xcc
cmp ecx, 0xa
jl 0x5df510
push str._settings_faction_
lea ecx, [esp + 0x54]
call dword [sym.imp.engine.dll_public:_int___thiscall_KIniFile::Load_char_const__]
test eax, eax
jne 0x5df55e
lea ecx, [esp + 0x50]
mov dword [esp + 0x144], 0xffffffff
call dword [sym.imp.engine.dll_public:_void___thiscall_KIniFile::destructor_void_]
xor eax, eax
jmp 0x5df714
mov ebp, dword [sym.imp.engine.dll_public:_int___thiscall_KIniFile::GetString_char_const___char_const___char_const___char___unsigned_long_int_]
mov dword [esp + 0x14], ebx
jmp 0x5df574
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0xec]
push 0x63aba4
push ecx
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0xc
push 0x40
lea edx, [esp + 0xac]
push edx
push str.S_GOLD
push str.Series
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x64]
call ebp
xor esi, esi
mov ecx, dword [esp + esi*4 + 0x20]
lea eax, [esp + 0xa8]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x5df5e0
cmp dl, bl
je 0x5df5dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x5df5e0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x5df5c0
xor eax, eax
jmp 0x5df5e5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x5df5f3
add esi, 1
cmp esi, 5
jl 0x5df5b3
jmp 0x5df626
mov ecx, esi
xor eax, eax
imul ecx, ecx, 0x198
lea ecx, [ecx + edi + 0xc]
cmp byte [ecx], bl
je 0x5df615
add eax, 1
add ecx, 0xcc
cmp eax, 2
jl 0x5df601
jmp 0x5df626
lea eax, [eax + esi*2]
mov dword [esp + 0x1c], eax
imul eax, eax, 0xcc
mov dword [eax + edi + 4], esi
mov edx, dword [esp + 0x1c]
mov ecx, dword [0x6dfe24]
imul edx, edx, 0xcc
add edi, edx
push 0x40
lea eax, [edi + 0xc]
push eax
push ecx
push str.Name
lea edx, [esp + 0xf8]
push edx
lea ecx, [esp + 0x64]
call ebp
mov ecx, dword [0x6dfe24]
push 0x80
lea eax, [edi + 0x4c]
push eax
push ecx
push str.ShowName
lea edx, [esp + 0xf8]
push edx
lea ecx, [esp + 0x64]
call ebp
push 0x40
lea eax, [esp + 0xac]
push eax
push str.C_JUSTICE
push str.Camp
lea ecx, [esp + 0xf8]
push ecx
lea ecx, [esp + 0x64]
call ebp
xor esi, esi
lea esp, [esp]
mov ecx, dword [esp + esi*4 + 0x34]
lea eax, [esp + 0xa8]
jmp 0x5df6b0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x5df6d0
cmp dl, bl
je 0x5df6cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x5df6d0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x5df6b0
xor eax, eax
jmp 0x5df6d5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x5df6e3
add esi, 1
cmp esi, 7
jl 0x5df6a0
jmp 0x5df6e6
mov dword [edi + 8], esi
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, 0xa
mov dword [esp + 0x14], eax
jl 0x5df570
lea ecx, [esp + 0x50]
mov dword [esp + 0x144], 0xffffffff
call dword [sym.imp.engine.dll_public:_void___thiscall_KIniFile::destructor_void_]
mov eax, 1
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00612c78
add esp, 0x134
ret