Function at 0x10015f00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062139
mov eax, dword fs:[0]
push eax
sub esp, 0x4f0
mov eax, dword [0x1007c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
push esi
push 1
push 0x1006e40c
push 0x1006e40c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne 0x100161e8
push esi
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x1006bb50
push 0x1006e418
push 0x1006e40c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
je 0x100161e8
lea eax, [ebp - 0x218]
push eax
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x468]
call fcn.10017dd0
lea edx, [ebp - 0x468]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x480]
call fcn.10004680
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x454]
cmp eax, 8
jb 0x10015fd8
inc eax
lea ecx, [ebp - 0x468]
push eax
push dword [ebp - 0x468]
call fcn.1001b3d0
xor eax, eax
mov dword [ebp - 0x454], 7
push ebx
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x458], 0
mov word [ebp - 0x468], ax
call fcn.10017dd0
push str._app_
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 3
call fcn.10017dd0
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x438]
lea ecx, [ebp - 0x480]
call fcn.100047e0
mov eax, dword [ebp - 0x424]
add esp, 4
cmp eax, 8
jb 0x10016052
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.1001b3d0
xor eax, eax
mov byte [ebp - 4], 2
mov word [ebp - 0x438], ax
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
cmp eax, 8
jb 0x10016091
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.1001b3d0
push esi
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0x1006bb50
push 0x1006e424
push 0x1006e40c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x420], 0
je 0x100161ca
push ebx
lea ecx, [ebp - 0x438]
call fcn.10017dd0
lea edx, [ebp - 0x438]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4f8]
call fcn.100045a0
mov esi, eax
lea edx, [ebp - 0x480]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4e0]
call fcn.100045a0
push 0x1006cdb0
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4c8]
call fcn.1001c950
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4b0]
call fcn.1001e8b0
add esp, 4
push 0x1006cdb0
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x498]
call fcn.1001c950
add esp, 4
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 0xa
push ecx
mov edx, eax
lea ecx, [ebp - 0x450]
call fcn.1001c950
add esp, 4
lea ecx, [ebp - 0x498]
call fcn.10006300
lea ecx, [ebp - 0x4b0]
call fcn.10006300
lea ecx, [ebp - 0x4c8]
call fcn.10006300
lea ecx, [ebp - 0x4e0]
call fcn.10006300
lea ecx, [ebp - 0x4f8]
call fcn.10006300
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0x11
call fcn.10006300
cmp dword [ebp - 0x43c], 8
lea ecx, [ebp - 0x450]
mov edx, 5
cmovae ecx, dword [ebp - 0x450]
call fcn.10004bd0
lea ecx, [ebp - 0x450]
call fcn.10006300
mov eax, dword [ebp - 0x46c]
cmp eax, 8
jb 0x100161e8
inc eax
lea ecx, [ebp - 0x480]
push eax
push dword [ebp - 0x480]
call fcn.1001b3d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10027b68
mov esp, ebp
pop ebp
ret