Function at 0x76b25b08
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x76b30340]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], ebx
xor eax, eax
and dword [ebp - 0x20c], 0x400
push edi
lea edi, [ebp - 0x204]
je 0x76b25b47
cmp dword [esi + 0xc], eax
je 0x76b25da1
cmp dword [esi + 4], eax
je 0x76b25de1
cmp dword [esi + 8], eax
je 0x76b25de1
cmp dword [ebp - 0x20c], eax
je 0x76b25b70
test bh, 1
je 0x76b25b70
mov eax, 0x11c
jmp 0x76b25de6
test bh, 8
je 0x76b25bd0
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
jne 0x76b25b87
mov eax, 0x117
jmp 0x76b25de6
mov ebx, 0x76b302c0
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test edi, edi
jbe 0x76b25bc6
cmp edi, dword [0x76b31334]
jae 0x76b25bc6
mov eax, dword [0x76b316d4]
mov edi, dword [eax + edi*4]
test edi, edi
je 0x76b25bc6
push dword [edi + 4]
call dword [sym.imp.ntdll.dll_wcslen]
cmp eax, dword [esi + 8]
pop ecx
jae 0x76b25db6
push dword [edi + 4]
jmp 0x76b25dbf
mov esi, 0x107
jmp 0x76b25dcc
test bh, 2
jne 0x76b25ce8
cmp dword [ebp + 8], 0xffffffff
je 0x76b25be8
cmp dword [esi + 0x10], eax
je 0x76b25d00
test bh, 5
je 0x76b25d0f
push 0x76b1d7b0
push 0xff
lea ecx, [ebp - 0x204]
push ecx
push 0x76b30638
push eax
push 0x76b16a40
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
and dword [ebp - 0x208], 0
and ebx, 0x100
xor ecx, ecx
cmp ebx, ecx
je 0x76b25c4e
cmp word [edi], cx
je 0x76b25c93
cmp dword [ebp + 8], 0xffffffff
je 0x76b25c3c
push edi
call fcn.76b25a9e
cmp eax, dword [esi + 0x10]
jne 0x76b25c42
inc dword [ebp - 0x208]
mov ax, word [edi]
inc edi
inc edi
test ax, ax
je 0x76b25c20
jmp 0x76b25c42
cmp dword [ebp - 0x20c], ecx
je 0x76b25c20
mov eax, dword [ebp - 0x208]
cmp eax, dword [esi + 0xc]
je 0x76b25cba
cmp word [edi], cx
je 0x76b25da1
cmp dword [ebp + 8], 0xffffffff
mov dword [ebp - 0x210], edi
je 0x76b25c81
push edi
call fcn.76b25a9e
cmp eax, dword [esi + 0x10]
jne 0x76b25c87
inc dword [ebp - 0x208]
mov ax, word [edi]
inc edi
inc edi
test ax, ax
je 0x76b25c20
jmp 0x76b25c87
mov eax, dword [esi + 4]
cmp eax, ecx
je 0x76b25de1
cmp dword [esi + 8], 4
jb 0x76b25de1
mov ecx, dword [ebp - 0x208]
mov dword [eax], ecx
mov eax, 0x80000
jmp 0x76b25de6
push dword [ebp - 0x210]
call dword [sym.imp.ntdll.dll_wcslen]
cmp eax, dword [esi + 8]
pop ecx
jae 0x76b25de1
push dword [ebp - 0x210]
push dword [esi + 4]
call dword [sym.imp.ntdll.dll_wcscpy]
pop ecx
pop ecx
xor eax, eax
jmp 0x76b25de6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp + 8], 0xffffffff
mov dword [ebp - 0x210], eax
je 0x76b25d0a
cmp dword [esi + 0x10], 0
jne 0x76b25d0a
mov eax, 0x11f
jmp 0x76b25de6
test bh, 5
jne 0x76b25d19
mov eax, 0x111
jmp 0x76b25de6
and dword [ebp - 0x208], 0
mov ebx, 0x76b302c0
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x76b31334]
xor ecx, ecx
inc ecx
cmp eax, ecx
jbe 0x76b25d88
mov edx, dword [0x76b316d4]
mov edi, dword [edx + ecx*4]
test edi, edi
je 0x76b25d83
cmp dword [ebp + 8], 0xffffffff
jne 0x76b25d56
mov edx, dword [edi + 0x34]
cmp edx, dword [ebp - 0x210]
je 0x76b25d69
mov edx, dword [edi + 0x20]
cmp edx, dword [esi + 0x10]
jne 0x76b25d6f
mov edx, dword [ebp - 0x210]
cmp dword [edi + 0x34], edx
jne 0x76b25d6f
inc dword [ebp - 0x208]
cmp dword [ebp - 0x20c], 0
je 0x76b25d83
mov edx, dword [ebp - 0x208]
cmp edx, dword [esi + 0xc]
je 0x76b25da8
inc ecx
cmp ecx, eax
jb 0x76b25d38
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
cmp dword [ebp - 0x20c], ecx
je 0x76b25dd7
cmp dword [esi + 4], ecx
je 0x76b25da1
mov dword [esi + 4], ecx
mov eax, 0x11a
jmp 0x76b25de6
push dword [edi]
call dword [sym.imp.ntdll.dll_wcslen]
cmp eax, dword [esi + 8]
pop ecx
jb 0x76b25dbd
mov esi, 0x10c
jmp 0x76b25dcc
push dword [edi]
push dword [esi + 4]
call dword [sym.imp.ntdll.dll_wcscpy]
pop ecx
pop ecx
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x76b25de6
test byte [ebp + 0xd], 1
jne 0x76b25c93
mov eax, 0x10c
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.76b128c0
leave
ret 0xc