Function at 0x4964a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xc28
push esi
mov esi, dword [esp + 0xc30]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x147
push esi
mov word [esp + 0xa40], 0
call edi
cmp eax, 0xffffffff
je 0x4968fa
lea eax, [esp + 0xa30]
push eax
push 0
push 0
push 0x147
push esi
call edi
push eax
push 0x148
push esi
call edi
cmp word [esp + 0xa30], 0
je 0x4968fa
lea ecx, [esp + 0xa30]
lea edx, [esp + 8]
push ecx
push str.Profile__s
push edx
call fcn.004d5ee1
mov edx, dword [esp + 0xc44]
add esp, 0xc
lea eax, [esp + 0x210]
lea ecx, [esp + 8]
push 0x5b9260
push 0x400
push eax
push 0x5aae60
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x210]
push 0x3b
push eax
call fcn.004c9a70
add esp, 8
cmp eax, 0x10
jne 0x4968fa
push ebx
push 0x104
lea ecx, [esp + 0x10]
push 0x3b
push ecx
lea edx, [esp + 0x220]
push 0
push edx
call fcn.004c9ab0
mov esi, dword [esp + 0xc54]
push 0x104
push 0x3b
lea ecx, [esp + 0x230]
lea eax, [esi + 0x2fc]
push eax
push 1
push ecx
call fcn.004c9ab0
push 0x104
lea edx, [esi + 0x504]
push 0x3b
push edx
lea eax, [esp + 0x248]
push 2
push eax
call fcn.004c9ab0
push 0x104
lea ecx, [esi + 0x70c]
push 0x3b
push ecx
lea edx, [esp + 0x25c]
push 3
push edx
call fcn.004c9ab0
add esp, 0x50
lea eax, [esp + 0xc]
lea ecx, [esp + 0x214]
push 0x104
push 0x3b
push eax
push 4
push ecx
call fcn.004c9ab0
push 0x3b
lea edx, [esp + 0x24]
push 0x7c
push edx
call fcn.004c8760
lea ebx, [esi + 0xf4]
mov ecx, 0x82
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
push eax
call fcn.004d6713
add esp, 0x24
cmp eax, 0x103
jae 0x496639
lea ecx, [esp + 0xc]
push ecx
call fcn.004d6713
add esp, 4
jmp 0x49663e
mov eax, 0x103
lea edx, [esp + 0xc]
push eax
push edx
push ebx
call fcn.004d6c3f
push 0x104
lea eax, [esp + 0x1c]
push 0x3b
push eax
lea ecx, [esp + 0x22c]
push 5
push ecx
call fcn.004c9ab0
lea edx, [esi + 0x78]
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.004ca720
push 0x104
lea ecx, [esp + 0x38]
push 0x3b
push ecx
lea edx, [esp + 0x248]
push 6
push edx
call fcn.004c9ab0
lea ebx, [esi + 0x94]
mov ecx, 0x10
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x48]
push eax
call fcn.004d6713
add esp, 0x40
cmp eax, 0x1f
jae 0x4966c0
lea ecx, [esp + 0xc]
push ecx
call fcn.004d6713
add esp, 4
jmp 0x4966c5
mov eax, 0x1f
lea edx, [esp + 0xc]
push eax
push edx
push ebx
call fcn.004d6c3f
push 0x104
lea eax, [esp + 0x1c]
push 0x3b
push eax
lea ecx, [esp + 0x22c]
push 7
push ecx
call fcn.004c9ab0
lea edx, [esp + 0x2c]
push edx
call fcn.004c5910
fstp dword [esi + 0xc]
push 0x104
lea eax, [esp + 0x34]
push 0x3b
push eax
lea ecx, [esp + 0x244]
push 8
push ecx
call fcn.004c9ab0
lea edx, [esp + 0x44]
push edx
call fcn.004c5910
fstp dword [esi + 0x10]
push 0x104
lea eax, [esp + 0x4c]
push 0x3b
push eax
lea ecx, [esp + 0x25c]
push 9
push ecx
call fcn.004c9ab0
add esp, 0x50
lea edx, [esp + 0xc]
push edx
call fcn.004c5910
fstp dword [esi + 0x24]
push 0x104
lea eax, [esp + 0x14]
push 0x3b
push eax
lea ecx, [esp + 0x224]
push 0xa
push ecx
call fcn.004c9ab0
lea edx, [esp + 0x24]
push edx
call fcn.004c5910
fstp dword [esi + 0x28]
push 0x104
lea eax, [esp + 0x2c]
push 0x3b
push eax
lea ecx, [esp + 0x23c]
push 0xb
push ecx
call fcn.004c9ab0
lea edx, [esp + 0x3c]
push edx
call fcn.004c5910
fstp dword [esi + 0x14]
push 0x104
lea eax, [esp + 0x44]
push 0x3b
push eax
lea ecx, [esp + 0x254]
push 0xc
push ecx
call fcn.004c9ab0
add esp, 0x48
lea edx, [esp + 0xc]
push edx
call fcn.004c5910
fstp dword [esi + 0x18]
push 0x104
push 0x3b
lea eax, [esp + 0x18]
lea ecx, [esp + 0x220]
push eax
push 0xd
push ecx
call fcn.004c9ab0
mov edi, dword [esi + 0xe0]
mov ecx, 0x10
xor eax, eax
add edi, 0x66
lea edx, [esp + 0x24]
rep stosd dword es:[edi], eax
push edx
call fcn.004d6713
add esp, 0x1c
cmp eax, 0x1f
pop ebx
jae 0x496816
lea eax, [esp + 8]
push eax
call fcn.004d6713
add esp, 4
jmp 0x49681b
mov eax, 0x1f
mov edx, dword [esi + 0xe0]
lea ecx, [esp + 8]
push eax
add edx, 0x66
push ecx
push edx
call fcn.004d6c3f
push 0x104
lea eax, [esp + 0x18]
push 0x3b
push eax
lea ecx, [esp + 0x228]
push 0xe
push ecx
call fcn.004c9ab0
mov eax, dword [esi + 0xe0]
lea edx, [eax + 0x5e]
lea ecx, [eax + 0x5c]
push edx
push ecx
lea edx, [eax + 0x58]
lea ecx, [eax + 0x4e]
push edx
add eax, 0x4c
push ecx
push eax
lea edx, [esp + 0x3c]
push str._d_d_d_d_d
push edx
call fcn.004d6c09
push 0x104
lea eax, [esp + 0x48]
push 0x3b
push eax
lea ecx, [esp + 0x258]
push 0xf
push ecx
call fcn.004c9ab0
add esp, 0x50
lea edx, [esi + 0x54]
lea eax, [esi + 0xf0]
lea ecx, [esi + 0xec]
push edx
push eax
lea edx, [esi + 0x74]
push ecx
lea eax, [esi + 0x70]
push edx
lea ecx, [esi + 0x6c]
push eax
lea edx, [esi + 0x68]
push ecx
lea eax, [esi + 0x64]
push edx
lea ecx, [esi + 0x60]
push eax
lea edx, [esi + 0x5c]
push ecx
lea eax, [esi + 0x58]
push edx
lea ecx, [esi + 0x50]
push eax
lea edx, [esi + 0x4c]
push ecx
lea eax, [esi + 0x48]
push edx
lea ecx, [esi + 0x44]
push eax
lea edx, [esi + 8]
push ecx
lea eax, [esi + 4]
push edx
push eax
push esi
lea ecx, [esp + 0x50]
push str._d_d_d_d_d_d_d_d_d_d_d_d_d_d_d_d_d_d
push ecx
call fcn.004d6c09
add esp, 0x50
xor eax, eax
pop edi
pop esi
add esp, 0xc28
ret
pop edi
or eax, 0xffffffff
pop esi
add esp, 0xc28
ret