Function at 0x40aca0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429446
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x436008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x437a94]
test al, 1
jne 0x40adb1
or eax, 1
mov dword [0x437a94], eax
mov dword [ebp - 4], 0
xor eax, eax
push 0x19
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 0
push str.RCImage_Update_Config_Ini
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.004020b0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x234]
push eax
call fcn.0040cee0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x40ad80
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ad76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b278
push edx
push ecx
call fcn.00416b45
add esp, 8
xor eax, eax
mov dword [ebp - 0x224], 0
push 0x42a600
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.00417031
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [0x437a8c], 0
je 0x40adc7
cmp byte [0x437a91], 0
jne 0x40b25d
lea eax, [ebp - 0x294]
push eax
call fcn.00409fe0
mov dword [ebp - 4], 2
mov edx, eax
push str.temp.ini
lea ecx, [ebp - 0x234]
call fcn.00407bf0
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x280]
cmp edx, 8
jb 0x40ae33
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ae29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b27d
push edx
push ecx
call fcn.00416b45
add esp, 8
xor eax, eax
mov dword [ebp - 0x284], 0
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
call fcn.00406780
test al, al
je 0x40b1bc
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004182d0
add esp, 0xc
lea eax, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
cmovae eax, dword [ebp - 0x234]
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x430ee4
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x234]
call fcn.00408070
mov dword [ebp - 0x23c], 0
mov edi, 7
mov dword [ebp - 0x23c], 0
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x238], edi
mov word [ebp - 0x24c], ax
mov byte [ebp - 4], 5
cmp word [ebp - 0x21c], ax
je 0x40b201
lea eax, [ebp - 0x264]
push eax
call fcn.00409e80
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x21c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x2ac]
call fcn.00407bf0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x24c]
cmp eax, esi
je 0x40af67
mov ecx, eax
call fcn.00402050
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x24c], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x14], edi
movq qword [ebp - 0x23c], xmm0
mov edi, dword [ebp - 0x238]
mov dword [esi + 0x10], 0
mov word [esi], ax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x298]
cmp edx, 8
jb 0x40afab
mov ecx, dword [ebp - 0x2ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40afa1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b282
push edx
push ecx
call fcn.00416b45
add esp, 8
xor eax, eax
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 7
mov word [ebp - 0x2ac], ax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x40b00c
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b002
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b287
push edx
push ecx
call fcn.00416b45
add esp, 8
xor eax, eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
cmp dword [ebp - 0x23c], eax
je 0x40b201
lea ecx, [ebp - 0x24c]
call fcn.004068b0
test al, al
je 0x40b1fb
lea eax, [ebp - 0x264]
push eax
call fcn.00409fe0
mov byte [ebp - 4], 8
mov edx, eax
push str.config.ini
lea ecx, [ebp - 0x27c]
call fcn.00407bf0
add esp, 4
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x40b0b1
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b0a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b28c
push edx
push ecx
call fcn.00416b45
add esp, 8
xor eax, eax
mov dword [ebp - 0x254], 0
cmp dword [ebp - 0x268], 8
mov word [ebp - 0x264], ax
lea eax, [ebp - 0x27c]
cmovae eax, dword [ebp - 0x27c]
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x250], 7
push eax
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x40b13e
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b134
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b291
push edx
push ecx
call fcn.00416b45
add esp, 8
xor eax, eax
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x40b19f
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b195
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b296
push edx
push ecx
call fcn.00416b45
add esp, 8
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x40b244
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b23a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b29b
jmp 0x40b23a
mov edi, dword [ebp - 0x238]
mov byte [ebp - 4], 4
cmp edi, 8
jb 0x40b19f
mov ecx, dword [ebp - 0x24c]
lea edx, [edi*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b195
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b2a0
jmp 0x40b195
push edx
push ecx
call fcn.00416b45
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00416b04
mov esp, ebp
pop ebp
ret
call fcn.0041a76f
call fcn.0041a76f
call fcn.0041a76f
call fcn.0041a76f
call fcn.0041a76f
call fcn.0041a76f
call fcn.0041a76f
call fcn.0041a76f
call fcn.0041a76f
int3