Function at 0x10049b60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec2e5
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10120140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x101598a4
call fcn.1004d050
mov ecx, 0x101583c0
call fcn.1004d050
call fcn.1005d990
movzx edx, al
xor ecx, ecx
call fcn.100489a0
push 1
call fcn.1005d9a0
movzx edx, ax
mov ecx, 5
call fcn.100489a0
push 2
call fcn.1005d9a0
movzx edx, ax
mov ecx, 6
call fcn.100489a0
push 3
call fcn.1005d9a0
movzx edx, ax
mov ecx, 7
call fcn.100489a0
push 4
call fcn.1005d9a0
movzx edx, ax
mov ecx, 8
call fcn.100489a0
mov ecx, 0x10149b08
call fcn.1004d870
push dword [ebp - 0x18]
mov edi, eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.1004f8a0
mov ecx, eax
call fcn.10045fe0
push dword [ebp - 0x18]
mov esi, eax
push ecx
lea ecx, [ebp - 0x84]
call fcn.1004f7f0
mov ecx, eax
call fcn.10045f60
push eax
lea ecx, [ebp - 0x58]
call fcn.1004daa0
mov ecx, eax
call fcn.1004d870
push edi
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [ebp - 0x58]
mov bl, al
call fcn.1004d9f0
xor esi, esi
movsx ebx, bl
mov dword [ebp - 0x1c], esi
test ebx, ebx
jle 0x10049d86
nop word [eax + eax]
mov ecx, 0x10149b08
call fcn.1004d870
push esi
sub esp, 0x18
mov edi, eax
mov esi, esp
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.1004f9f0
mov ecx, eax
call fcn.10045f20
push eax
mov ecx, esi
call fcn.1004daa0
lea eax, [ebp - 0x70]
push eax
call fcn.10045e00
add esp, 0x20
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.1004d870
push dword [ebp - 0x18]
mov esi, eax
push ecx
lea ecx, [ebp - 0x84]
call fcn.1004f940
mov ecx, eax
call fcn.10045f60
push eax
lea ecx, [ebp - 0x58]
call fcn.1004daa0
mov ecx, eax
call fcn.1004d870
push edi
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x18], esi
call fcn.1004d9f0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.1004d9f0
test esi, esi
je 0x10049d77
push ecx
lea ecx, [ebp - 0x14]
call fcn.10048dc0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
call fcn.10048db0
mov ecx, 0x101598a4
mov esi, dword [eax]
lea eax, [ebp - 0x28]
push eax
call fcn.1004d010
mov ecx, 0x101598a4
mov edx, dword [eax]
lea eax, [ebp - 0x2c]
push eax
call fcn.1004d030
push esi
push edx
lea ecx, [ebp - 0x14]
push dword [eax]
call fcn.1004fa50
add esp, 0xc
lea eax, [ebp - 0x20]
mov ecx, 0x101598a4
push eax
call fcn.1004d010
push eax
lea ecx, [ebp - 0x14]
call fcn.1004cea0
test al, al
je 0x10049d77
lea ecx, [ebp - 0x14]
call fcn.1004ce90
mov eax, dword [eax]
mov byte [eax + 0x10], 1
mov esi, dword [ebp - 0x1c]
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, ebx
jl 0x10049c70
mov ecx, 0x10149b08
call fcn.1004d870
push dword [ebp - 0x20]
mov edi, eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.1004fb80
mov ecx, eax
call fcn.10045fe0
push dword [ebp - 0x20]
mov esi, eax
push ecx
lea ecx, [ebp - 0x84]
call fcn.1004fac0
mov ecx, eax
call fcn.10046020
push eax
lea ecx, [ebp - 0x70]
call fcn.1004daa0
mov ecx, eax
call fcn.1004d870
push edi
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [ebp - 0x70]
mov bl, al
call fcn.1004d9f0
xor esi, esi
movsx ebx, bl
mov dword [ebp - 0x1c], esi
test ebx, ebx
jle 0x10049f08
mov ecx, 0x10149b08
call fcn.1004d870
push esi
sub esp, 0x18
mov edi, eax
mov esi, esp
push dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.1004fce0
mov ecx, eax
call fcn.10045f20
push eax
mov ecx, esi
call fcn.1004daa0
lea eax, [ebp - 0x58]
push eax
call fcn.10045e00
add esp, 0x20
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.1004d870
push dword [ebp - 0x20]
mov esi, eax
push ecx
lea ecx, [ebp - 0x84]
call fcn.1004fc20
mov ecx, eax
call fcn.10046020
push eax
lea ecx, [ebp - 0x70]
call fcn.1004daa0
mov ecx, eax
call fcn.1004d870
push edi
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x18], esi
call fcn.1004d9f0
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.1004d9f0
test esi, esi
je 0x10049ef9
push ecx
lea ecx, [ebp - 0x14]
call fcn.10048dc0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10048db0
mov ecx, 0x101583c0
mov esi, dword [eax]
lea eax, [ebp - 0x28]
push eax
call fcn.1004d010
mov ecx, 0x101583c0
mov edx, dword [eax]
lea eax, [ebp - 0x24]
push eax
call fcn.1004d030
push esi
push edx
lea ecx, [ebp - 0x14]
push dword [eax]
call fcn.1004fa50
add esp, 0xc
lea eax, [ebp - 0x30]
mov ecx, 0x101583c0
push eax
call fcn.1004d010
push eax
lea ecx, [ebp - 0x14]
call fcn.1004cea0
test al, al
je 0x10049ef9
lea ecx, [ebp - 0x14]
call fcn.1004ce90
mov eax, dword [eax]
mov byte [eax + 0x10], 1
mov esi, dword [ebp - 0x1c]
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, ebx
jl 0x10049df2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c0eca
mov esp, ebp
pop ebp
ret