Function at 0x1002b710
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1007be38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov eax, dword [0x10098a04]
push ebx
push ebp
push esi
mov ecx, 0x10098a04
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
mov edx, dword [0x10098a04]
xor ebx, ebx
mov ecx, 0x10098a04
mov dword [esp + 0x84], ebx
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov ebp, dword [esi - 4]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, ebp
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x84], 1
jge 0x1002b78d
push 0x104
lea ecx, [esp + 0x10]
call fcn.100029f0
mov esi, dword [esp + 0xc]
mov eax, dword [0x10098990]
push 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, ebx
jne 0x1002b7a7
xor eax, eax
jmp 0x1002b7bf
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002b7b0
sub eax, edx
js 0x1002b932
cmp eax, dword [esi - 8]
jg 0x1002b932
push 0x5c
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], bl
call fcn.10069f52
add esp, 8
or ebp, 0xffffffff
cmp eax, ebx
jne 0x1002b7e4
mov eax, ebp
jmp 0x1002b7e6
sub eax, esi
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.10008ae0
mov edx, dword [eax]
push edx
lea eax, [esp + 0x14]
push str._sAD_addr.ini
push eax
mov byte [esp + 0x90], 2
call fcn.10004e20
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x84], 1
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002b837
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push edi
xor eax, eax
mov byte [esp + 0x1c], bl
mov ecx, 0x18
lea edi, [esp + 0x1d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x14]
push edi
push 0x104
lea eax, [esp + 0x24]
push eax
push 0x10081bf2
push str.Music
push str.Hint
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebx
jne 0x1002b8c7
lea eax, [edi - 0x10]
mov byte [esp + 0x88], bl
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002b894
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov dword [esp + 0x88], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x1002b8b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
add esp, 0x7c
ret
lea eax, [esp + 0x1c]
push eax
call fcn.1006a4e0
add esp, 4
cmp eax, 1
lea eax, [edi - 0x10]
mov edx, ebp
mov byte [esp + 0x88], bl
lea ecx, [eax + 0xc]
jne 0x1002b883
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002b8f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov dword [esp + 0x88], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x1002b917
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x7c
ret
push 0x80070057
call fcn.10001330
int3