Function at 0x494130
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5100fd
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x5500a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x528a44
mov ecx, dword [ebp + 0xc]
call fcn.0040a760
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x24c]
push ecx
call fcn.00493fc0
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.0040a730
movzx edx, al
test edx, edx
je 0x4941b8
mov byte [ebp - 0x2c5], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.0040a7c0
mov al, byte [ebp - 0x2c5]
jmp 0x49452e
lea eax, [ebp - 0x24c]
push eax
call fcn.004140d0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x4941f2
mov byte [ebp - 0x2c6], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.0040a7c0
mov al, byte [ebp - 0x2c6]
jmp 0x49452e
push 0x20a
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.004d98b0
add esp, 0xc
lea ecx, [ebp - 0x24c]
call fcn.0040a750
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x528a44
push str.Version
push str.AppLoadInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x2d4], 0x528a44
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x2d0], ecx
mov edx, dword [ebp - 0x2d0]
mov ax, word [edx]
mov word [ebp - 0x2d6], ax
mov ecx, dword [ebp - 0x2d4]
cmp ax, word [ecx]
jne 0x4942b1
cmp word [ebp - 0x2d6], 0
je 0x4942a5
mov edx, dword [ebp - 0x2d0]
mov ax, word [edx + 2]
mov word [ebp - 0x2d8], ax
mov ecx, dword [ebp - 0x2d4]
cmp ax, word [ecx + 2]
jne 0x4942b1
add dword [ebp - 0x2d0], 4
add dword [ebp - 0x2d4], 4
cmp word [ebp - 0x2d8], 0
jne 0x49424b
mov dword [ebp - 0x2dc], 0
jmp 0x4942bc
sbb edx, edx
or edx, 1
mov dword [ebp - 0x2dc], edx
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2e0], 0
jne 0x4942f5
mov byte [ebp - 0x2c7], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.0040a7c0
mov al, byte [ebp - 0x2c7]
jmp 0x49452e
lea ecx, [ebp - 0x234]
call fcn.0040a890
mov byte [ebp - 4], 1
lea edx, [ebp - 0x234]
mov ecx, 0x1c
call fcn.004bd290
mov byte [ebp - 0x2c8], al
movzx ecx, byte [ebp - 0x2c8]
test ecx, ecx
je 0x494337
lea ecx, [ebp - 0x234]
call fcn.0040a730
movzx edx, al
test edx, edx
je 0x49436a
mov byte [ebp - 0x2c9], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.0040a7c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.0040a7c0
mov al, byte [ebp - 0x2c9]
jmp 0x49452e
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x294]
push edx
call fcn.00418310
add esp, 0xc
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x2e8], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2e8]
push ecx
lea ecx, [ebp - 0x234]
call fcn.0040a7d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x294]
call fcn.0040a7c0
push str.Application
lea ecx, [ebp - 0x264]
call fcn.0040a850
mov byte [ebp - 4], 3
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.00418310
add esp, 0xc
mov dword [ebp - 0x2ec], eax
mov edx, dword [ebp - 0x2ec]
mov dword [ebp - 0x2f0], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x234]
call fcn.0040a7d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2ac]
call fcn.0040a7c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.0040a7c0
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x27c]
call fcn.0040a850
mov byte [ebp - 4], 5
lea edx, [ebp - 0x27c]
push edx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.00418310
add esp, 0xc
mov dword [ebp - 0x2f4], eax
mov edx, dword [ebp - 0x2f4]
mov dword [ebp - 0x2f8], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2f8]
push eax
lea ecx, [ebp - 0x234]
call fcn.0040a7d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c4]
call fcn.0040a7c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
call fcn.0040a7c0
lea ecx, [ebp - 0x234]
push ecx
call fcn.004141e0
add esp, 4
movzx edx, al
test edx, edx
jne 0x4944f1
mov byte [ebp - 0x2ca], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.0040a7c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.0040a7c0
mov al, byte [ebp - 0x2ca]
jmp 0x49452e
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040a790
mov byte [ebp - 0x2cb], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.0040a7c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.0040a7c0
mov al, byte [ebp - 0x2cb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6fd3
mov esp, ebp
pop ebp
ret