Function at 0x10013c00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002267c
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x1002d018]
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 edi, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [0x10033f68]
lea eax, [ecx + ecx*4]
add eax, eax
add eax, eax
mov dword [eax + 0x1002f0b8], edx
mov dword [eax + 0x1002f0bc], esi
mov dword [ebp - 0x13c], esi
mov esi, dword [ebp + 8]
mov dword [eax + 0x1002f0c0], esi
mov esi, dword [ebp + 0x10]
inc ecx
mov dword [eax + 0x1002f0b0], edi
mov dword [ebp - 0x138], edi
mov dword [eax + 0x1002f0b4], esi
mov dword [0x10033f68], ecx
cmp edx, 2
je 0x10013e7b
xor ebx, ebx
cmp dword [0x10033df4], 1
jne 0x10013d8e
mov edi, 0x6e0024bb
lea esi, [ebp - 0x12c]
call fcn.1001e090
mov edi, eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 4], ebx
mov ecx, edi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x130], esp
mov byte [esi], bl
lea eax, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x10013cc0
sub ecx, eax
push edi
mov edi, ecx
call fcn.1001c8a0
mov ecx, dword [0x10030938]
mov eax, dword [ecx]
mov edx, dword [eax + 0x84]
call edx
push eax
call fcn.10006c80
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x118], 0x55544946
mov word [ebp - 0x114], 0x52
sub esp, 0x18
mov esi, esp
mov byte [ebp - 4], 1
lea eax, [ebp - 0x118]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x134], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10013d24
sub eax, edi
lea ecx, [ebp - 0x118]
push ecx
mov edi, eax
call fcn.1001c8a0
mov ecx, dword [0x10030938]
mov edx, dword [ecx]
mov eax, dword [edx + 0x84]
call eax
mov ecx, dword [ebp - 0x138]
mov esi, eax
mov eax, dword [ecx]
push eax
lea edx, [ebp - 0x110]
push 0x100281c4
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, dword [ebp - 0x130]
mov edx, dword [ebp - 0x13c]
add esp, 0xc
push eax
lea ecx, [ebp - 0x110]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 4], 0xffffffff
cmp dword [0x10033df8], 1
jne 0x10013e7b
mov edi, 0x6e0024bb
lea esi, [ebp - 0x12c]
call fcn.1001e090
mov edi, eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 4], 2
mov ecx, edi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x134], esp
mov byte [esi], bl
lea eax, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x10013dd0
sub ecx, eax
push edi
mov edi, ecx
call fcn.1001c8a0
mov ecx, dword [0x10030938]
mov eax, dword [ecx]
mov edx, dword [eax + 0x84]
call edx
push eax
call fcn.10006c80
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x118], 0x55544946
mov word [ebp - 0x114], 0x52
sub esp, 0x18
mov esi, esp
mov byte [ebp - 4], 3
lea eax, [ebp - 0x118]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x134], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10013e34
sub eax, edi
lea ecx, [ebp - 0x118]
push ecx
mov edi, eax
call fcn.1001c8a0
mov ecx, dword [0x10030938]
mov edx, dword [ecx]
mov eax, dword [edx + 0x84]
call eax
mov edx, dword [ebp - 0x130]
mov esi, dword [ebp - 0x138]
mov ecx, dword [esi]
push edx
push ecx
mov ecx, dword [ebp - 0x13c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esi], eax
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.10021450
mov esp, ebp
pop ebp
ret 0xc