Function at 0x40504a
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x4b8
push esi
xor esi, esi
cmp dword [0x440994], 0x9e
push edi
jne 0x4050a2
push esi
push esi
push esi
call fcn.00405bca
fldz
pop ecx
pop ecx
fstp dword [esp]
call fcn.004043ba
push esi
fstp st(0)
call fcn.00405b11
push esi
call fcn.00405b41
pop ecx
pop ecx
lea ecx, [ebp - 0x44]
call fcn.00405549
push esi
push esi
call fcn.004058f6
pop ecx
pop ecx
lea ecx, [ebp - 0x44]
call fcn.0040556a
mov eax, dword [0x416e9c]
push ebx
mov dword [0x440994], eax
mov ebx, 0x79a863
cmp dword [0x440994], 0x4c5
jne 0x4050f6
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_AccessCheckByType]
xor eax, eax
mov dword [ebp - 0x28], esi
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_SetBrushOrgEx]
push esi
push esi
lea eax, [ebp - 0x450]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
dec ebx
jne 0x4050b2
mov dword [ebp + 0x2c], 0x4fa13adc
mov dword [ebp + 0xc], 0x229e050e
mov dword [ebp + 0x14], 0x7a12a9ca
mov dword [ebp - 0x18], 0x15c8feb0
mov dword [ebp - 8], 0x6feceef8
mov dword [ebp + 0x64], 0x16622199
mov dword [ebp - 0x10], 0x7b66bdfc
mov dword [ebp + 0x48], 0x8f03567
mov dword [ebp + 0x54], 0x70e6aea
mov dword [ebp + 0x58], 0x65d60fbe
mov dword [ebp - 0xc], 0x377d8cfe
mov dword [ebp + 0x10], 0x23e9b1ee
mov dword [ebp + 0x28], 0x545b02e1
mov dword [ebp - 0x20], 0x1fb29f29
mov dword [ebp - 4], 0x62441a81
mov dword [ebp + 0x40], 0x6ecb1e8f
mov dword [ebp + 0x20], 0x557aafcc
mov dword [ebp + 0x5c], 0xb3b7253
mov dword [ebp + 0x34], 0x273cf2e8
mov dword [ebp], 0xcbb3397
mov dword [ebp + 0x38], 0x5949e872
mov dword [ebp + 0x1c], 0x5e5a6f89
mov dword [ebp - 0x14], 0x637f94c7
mov dword [ebp + 0x30], 0x63825595
mov dword [ebp + 0x44], 0x598e3ac4
mov dword [ebp + 0x50], 0x53aa56f1
mov dword [ebp + 0x4c], 0x3f6fb9f5
mov dword [ebp - 0x1c], 0x2657f00e
mov dword [ebp + 0x18], 0xb617013
mov dword [ebp + 8], 0xa136c92
mov dword [ebp + 4], 0x548e684e
mov dword [ebp + 0x24], 0x598061f9
mov dword [ebp + 0x60], 0x10249cff
mov dword [ebp + 0x3c], 0x5b4abdc6
sub dword [ebp + 0x14], 0x661da8d1
sub dword [ebp + 0xc], 0x679634ae
add dword [ebp + 0x14], 0x3b923b54
add dword [ebp - 0x18], 0xf76423f
sub dword [ebp + 0x14], 0x2f4d0e17
sub dword [ebp + 0xc], 0x697de244
add dword [ebp - 0x18], 0x3bd2a135
mov eax, 0x5becbb5a
mul dword [ebp - 8]
mov eax, dword [ebp - 8]
sub dword [ebp + 0xc], 0x443bca42
mov eax, 0x4c591282
mul dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
sub dword [ebp + 0x2c], 0x7413c87d
sub dword [ebp + 0x64], 0x5297086d
mov eax, 0x684a7110
mul dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov eax, 0x18c25635
mul dword [ebp + 0x48]
mov eax, dword [ebp + 0x48]
sub dword [ebp - 0x10], 0x5f0bad4c
sub dword [ebp - 0x10], 0x20316616
add dword [ebp + 0x48], 0xea8c31f
mov eax, 0x262dbc9b
mul dword [ebp + 0x48]
mov eax, dword [ebp + 0x48]
mov eax, 0x65dfc343
mul dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
sub dword [ebp + 0x64], 0x2310cb5a
mov eax, 0x6f6bf3d3
mul dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
mov eax, 0x507b2415
mul dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
add dword [ebp + 0x48], 0x5b58be78
sub dword [ebp + 0xc], 0x554652f3
mov eax, 0x66e03c7d
mul dword [ebp + 0x54]
mov eax, dword [ebp + 0x54]
sub dword [ebp - 0x18], 0x427e5c11
add dword [ebp + 0xc], 0x113ed1d6
sub dword [ebp + 0x54], 0x2e144490
mov eax, 0x1e482e15
mul dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], 0x1a300dc2
mov eax, 0xc4a802f
mul dword [ebp + 0x54]
mov eax, dword [ebp + 0x54]
add dword [ebp + 0x58], 0x45a05b9c
sub dword [ebp + 0x2c], 0xe71f1c3
mov eax, 0x52afb869
mul dword [ebp - 8]
mov eax, dword [ebp - 8]
sub dword [ebp - 8], 0x3121e2ea
mov eax, 0x4e7f7955
mul dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov eax, 0x61184a4e
mul dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
sub dword [ebp - 0xc], 0x388e7
sub dword [ebp + 0x28], 0x7e88e92c
add dword [ebp + 0x48], 0x4a56f5a6
add dword [ebp - 0x20], 0x1829ad0c
sub dword [ebp + 0x5c], 0x7f4d1e73
sub dword [ebp - 8], 0x21b9e04b
add dword [ebp + 0x38], 0x5b7c6947
sub dword [ebp + 0x38], 0x109c21e7
sub dword [ebp + 0x48], 0x5a266ae
mov eax, 0x8bc653c
mul dword [ebp + 0x38]
mov eax, dword [ebp + 0x38]
mov eax, 0x27738a4
mul dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov eax, 0x317099fc
mul dword [ebp + 0x40]
mov eax, dword [ebp + 0x40]
mov eax, 0x7187db08
mul dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
add dword [ebp - 0xc], 0xf66f7d2
add dword [ebp + 0x30], 0x50ecca0a
mov eax, 0x2b61ad58
mul dword [ebp + 0x30]
mov eax, dword [ebp + 0x30]
add dword [ebp - 8], 0x3f7c6375
sub dword [ebp - 8], 0x59a3a003
add dword [ebp + 0x58], 0x60e603a7
sub dword [ebp + 0x58], 0x5ca9ff83
add dword [ebp + 0x50], 0x307b4861
sub dword [ebp - 0x10], 0x596a499
add dword [ebp + 0x54], 0x5ac01741
add dword [ebp + 0x4c], 0x7fd73b79
sub dword [ebp + 0x34], 0x5222cd30
mov eax, 0x39d6904f
mul dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, 0x5af934b9
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, 0x6fd4f1fa
mul dword [ebp + 8]
mov eax, dword [ebp + 8]
sub dword [ebp + 0x10], 0x3760501c
mov eax, dword [0x416008]
mov dword [0x440da8], eax
xor edi, edi
pop ebx
cmp edi, 0x1ef75
jge 0x405437
push esi
push esi
call dword [sym.imp.USER32.dll_CharUpperBuffW]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp edi, 0x1ea055ff
jle 0x405451
cmp dword [ebp + 0x64], 0xacef98
je 0x405451
cmp dword [ebp - 0x44], 0xad6910c
jne 0x40545a
inc edi
cmp edi, 0x8deecc68
jb 0x40541a
call fcn.00404e06
pop edi
xor eax, eax
pop esi
add ebp, 0x68
leave
ret 0x10