Function at 0x493170
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fd35
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x5500a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x270], 0
mov eax, 0x51
mov word [ebp - 0x30], ax
mov ecx, 0x69
mov word [ebp - 0x2e], cx
mov edx, 0x6e
mov word [ebp - 0x2c], dx
mov eax, 0x67
mov word [ebp - 0x2a], ax
mov ecx, 0x6e
mov word [ebp - 0x28], cx
mov edx, 0x69
mov word [ebp - 0x26], dx
mov eax, 0x61
mov word [ebp - 0x24], ax
mov ecx, 0x6f
mov word [ebp - 0x22], cx
mov edx, 0x20
mov word [ebp - 0x20], dx
mov eax, 0x43
mov word [ebp - 0x1e], ax
mov ecx, 0x68
mov word [ebp - 0x1c], cx
mov edx, 0x72
mov word [ebp - 0x1a], dx
mov eax, 0x6f
mov word [ebp - 0x18], ax
mov ecx, 0x6d
mov word [ebp - 0x16], cx
mov edx, 0x65
mov word [ebp - 0x14], dx
xor eax, eax
mov word [ebp - 0x12], ax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x26c]
call fcn.0040a850
mov dword [ebp - 4], 1
lea edx, [ebp - 0x26c]
push edx
lea eax, [ebp - 0x254]
push eax
call fcn.00493fc0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x26c]
call fcn.0040a7c0
lea ecx, [ebp - 0x254]
call fcn.0040a730
movzx ecx, al
test ecx, ecx
je 0x4932b2
push 0x528a44
mov ecx, dword [ebp + 8]
call fcn.0040a850
mov edx, dword [ebp - 0x270]
or edx, 1
mov dword [ebp - 0x270], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.0040a7c0
mov eax, dword [ebp + 8]
jmp 0x49343a
lea eax, [ebp - 0x254]
push eax
call fcn.004140d0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x4932fb
push 0x528a44
mov ecx, dword [ebp + 8]
call fcn.0040a850
mov edx, dword [ebp - 0x270]
or edx, 1
mov dword [ebp - 0x270], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.0040a7c0
mov eax, dword [ebp + 8]
jmp 0x49343a
push 0x20a
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.004d98b0
add esp, 0xc
lea ecx, [ebp - 0x254]
call fcn.0040a750
push eax
push 0x104
lea ecx, [ebp - 0x23c]
push ecx
push 0x528a44
push str.Version
push str.AppLoadInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x278], 0x528a44
lea edx, [ebp - 0x23c]
mov dword [ebp - 0x274], edx
mov eax, dword [ebp - 0x274]
mov cx, word [eax]
mov word [ebp - 0x27a], cx
mov edx, dword [ebp - 0x278]
cmp cx, word [edx]
jne 0x4933ba
cmp word [ebp - 0x27a], 0
je 0x4933ae
mov eax, dword [ebp - 0x274]
mov cx, word [eax + 2]
mov word [ebp - 0x27c], cx
mov edx, dword [ebp - 0x278]
cmp cx, word [edx + 2]
jne 0x4933ba
add dword [ebp - 0x274], 4
add dword [ebp - 0x278], 4
cmp word [ebp - 0x27c], 0
jne 0x493354
mov dword [ebp - 0x280], 0
jmp 0x4933c5
sbb eax, eax
or eax, 1
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x280]
mov dword [ebp - 0x284], ecx
cmp dword [ebp - 0x284], 0
jne 0x49340a
push 0x528a44
mov ecx, dword [ebp + 8]
call fcn.0040a850
mov edx, dword [ebp - 0x270]
or edx, 1
mov dword [ebp - 0x270], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.0040a7c0
mov eax, dword [ebp + 8]
jmp 0x49343a
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040a850
mov ecx, dword [ebp - 0x270]
or ecx, 1
mov dword [ebp - 0x270], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.0040a7c0
mov eax, dword [ebp + 8]
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