Function at 0x1000d158
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100604b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x84
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1000d1e4
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x1000d1ce
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x1000d1cc
push 1
push 0x7e39
push 0x6bb7
push 1
push 0x535b
call fcn.1000977b
add esp, 0x14
jmp 0x1000d1df
push 0
push 0xe47
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x1000d3f3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x1000d2e5
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x1000d2e0
mov dword [ebp - 0x28], 0x2fed
mov dword [ebp - 0x54], str.bfpdtk_cjzpayjox_xtlr_zinjqsvb_bxg_qqxxkm_eopzhstpm_eyn_jvoxm
cmp dword [ebp - 0x28], 0x3112
jle 0x1000d28a
and dword [ebp - 0x24], 0
jmp 0x1000d248
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x3c6a
jge 0x1000d28a
and dword [ebp - 0x20], 0
jmp 0x1000d25e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7802
jge 0x1000d288
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
sar eax, cl
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
mov ecx, 0x1007fc58
call fcn.10002dd1
jmp 0x1000d257
jmp 0x1000d241
push 1
push 1
push 0x21e1
push 0x46d4
call fcn.100075f3
add esp, 0x10
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x2e79
jge 0x1000d2ba
mov edx, dword [ebp - 0x54]
mov ecx, 0x1007fc58
call fcn.10004788
jmp 0x1000d2d6
or dword [ebp - 4], 0xffffffff
jmp 0x1000d2e0
jmp 0x1000d3f3
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], 0x5a4e
mov dword [ebp - 0x58], str.wzck_hbsgdxfu_oqr_ojxwm_wxelsx_cuonxtcex_rup_wttkbk_gcshiylis_olpxwvax_zfxpbqtwa_utfwhvbr_augrzz_qgoi
cmp dword [ebp - 0x2c], 0x5c26
jle 0x1000d37b
and dword [ebp - 0x18], 0
jmp 0x1000d31b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x42b
jge 0x1000d37b
and dword [ebp - 0x1c], 0
jmp 0x1000d331
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6e4e
jge 0x1000d379
mov eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
lea ecx, [ebp - 0x94]
call fcn.10004d43
pop ecx
pop ecx
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.10002db1
push eax
call fcn.10047823
pop ecx
lea ecx, [ebp - 0x94]
call fcn.10002da7
jmp 0x1000d32a
jmp 0x1000d314
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x2c], 0x580e
jge 0x1000d39a
push dword [ebp - 0x58]
call fcn.10047823
pop ecx
jmp 0x1000d3b6
or dword [ebp - 4], 0xffffffff
jmp 0x1000d3c0
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1000d3d6
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 4
jge 0x1000d3f3
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x60]
call fcn.10002363
mov dword [eax], 1
jmp 0x1000d3cb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret