Function at 0x41be90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3fed
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4f0108]
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 eax, dword [ebp + 0x38]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x50], vtable.McSSConfig.0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call fcn.0040d531
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], cx
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
mov ebx, dword [eax + 0x10]
jb 0x41bf0c
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov ecx, 0xa
cmp ebx, 7
ja 0x41bf36
lea esi, [ebx + ebx]
mov dword [ebp - 0x30], ebx
push esi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0047e460
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x40], ax
jmp 0x41bfd0
cmp ebx, 0x7ffffffe
ja 0x41c306
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x41bf5b
mov esi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x41bf77
cmp esi, ecx
cmovb esi, ecx
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x41c31a
add eax, eax
cmp eax, 0x1000
jb 0x41bf9e
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x41c31a
push ecx
call fcn.00479023
add esp, 4
test eax, eax
je 0x41c30b
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x41bfb1
test eax, eax
je 0x41bfaf
push eax
call fcn.00479023
add esp, 4
mov edi, eax
jmp 0x41bfb1
xor edi, edi
mov dword [ebp - 0x2c], esi
lea esi, [ebx + ebx]
push esi
push dword [ebp - 0x44]
mov dword [ebp - 0x30], ebx
push edi
call fcn.0047e460
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov dword [ebp - 0x40], edi
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41c00e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c004
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c30b
push edx
push ecx
call fcn.0047940e
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x800
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0047941c
add esp, 4
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x44]
push dword [ebp - 0x50]
push eax
call fcn.004126ba
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
mov ebx, dword [ebp - 0x48]
lea ecx, [ebp + 0x20]
cmovae edx, dword [ebp - 0x40]
lea eax, [ebp + 8]
cmp dword [ebp + 0x34], 8
push edx
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 8
push 0x800
cmovae eax, dword [ebp + 8]
push ebx
push 0x4cd6c0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x41c1e5
cmp eax, 0x7fe
jae 0x41c1e5
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 8
test ebx, ebx
je 0x41c0df
mov esi, ebx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41c0b1
sub esi, ecx
sar esi, 1
cmp esi, 7
ja 0x41c130
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x28]
add esi, esi
push esi
push ebx
push eax
call fcn.0047e460
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x28], ax
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 9
call fcn.0041bd20
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41c1de
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c1d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c310
jmp 0x41c1d4
cmp esi, 0x7ffffffe
ja 0x41c315
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x41c155
mov edi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x41c177
cmp edi, 0xa
mov eax, 0xa
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x41c31a
add eax, eax
cmp eax, 0x1000
jb 0x41c19e
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x41c31a
push ecx
call fcn.00479023
add esp, 4
test eax, eax
je 0x41c310
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x41c1b1
test eax, eax
je 0x41c1af
push eax
call fcn.00479023
add esp, 4
mov ebx, eax
jmp 0x41c1b1
xor ebx, ebx
mov dword [ebp - 0x18], esi
add esi, esi
push esi
push dword [ebp - 0x48]
mov dword [ebp - 0x14], edi
push ebx
call fcn.0047e460
add esp, 0xc
xor eax, eax
mov word [ebx + esi], ax
mov dword [ebp - 0x28], ebx
jmp 0x41c0df
push edx
push ecx
call fcn.0047940e
add esp, 8
mov ebx, 1
jmp 0x41c1e7
xor ebx, ebx
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x44]
test esi, esi
je 0x41c214
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41c214
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lock xadd dword [esi + 8], edi
dec edi
jne 0x41c214
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x41c24e
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c244
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c31f
push edx
push ecx
call fcn.0047940e
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x41c29c
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c292
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c31f
push edx
push ecx
call fcn.0047940e
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x41c2e6
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c2dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c31f
push edx
push ecx
call fcn.0047940e
add esp, 8
mov eax, ebx
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.00478c0a
mov esp, ebp
pop ebp
ret 0x34
call fcn.0040556b
call fcn.00487359
call fcn.00487359
call fcn.0040556b
call fcn.004054f4
call fcn.00487359
int3