Function at 0x406be0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x44a1dc
mov eax, dword fs:[0]
push eax
mov eax, 0x105c
call fcn.00432230
mov eax, dword [0x464ca0]
xor eax, esp
mov dword [esp + 0x1058], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x464ca0]
xor eax, esp
push eax
lea eax, [esp + 0x1070]
mov dword fs:[0], eax
mov edx, dword [esp + 0x1080]
mov ebx, dword [esp + 0x1084]
mov ebp, dword [esp + 0x1088]
xor edi, edi
mov dword [esp + 0x28], ecx
add ecx, 0x28
cmp edx, edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x1c], edi
jne 0x406c51
xor eax, eax
jmp 0x406c69
mov eax, edx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x406c56
mov edx, dword [esp + 0x2c]
sub eax, esi
sar eax, 1
push eax
push edx
call fcn.00402b00
mov ecx, dword [esp + 0x28]
add ecx, 0x2c
cmp ebx, edi
jne 0x406c7f
xor eax, eax
jmp 0x406c93
mov eax, ebx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x406c84
sub eax, esi
sar eax, 1
push eax
push ebx
call fcn.00402b00
cmp ebp, edi
mov ebx, dword [esp + 0x28]
lea ecx, [ebx + 0x30]
jne 0x406ca9
xor eax, eax
jmp 0x406cbf
mov eax, ebp
lea esi, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x406cb0
sub eax, esi
sar eax, 1
push eax
push ebp
call fcn.00402b00
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
call fcn.004043e0
push str.version.txt
push eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x1084], edi
call fcn.00403590
push 0x466158
push eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x1090], 1
call fcn.004034d0
add esp, 0x18
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x1078], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406d2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x1078], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406d56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
lea ecx, [esp + 0x38]
call fcn.004043e0
push str.Update_version.ini
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x1084], 5
call fcn.00403590
add esp, 0xc
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x1078], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406da3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
lea ecx, [esp + 0x20]
call fcn.004043e0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.Update_
push eax
push ecx
mov byte [esp + 0x1088], 8
call fcn.00403590
add esp, 0xc
call fcn.00408170
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x1078], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406dfb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push ecx
push edx
mov ecx, ebx
call fcn.00403840
test al, al
jne 0x406e5c
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x1078], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406e38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x1078], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4071b3
push 0x3fe
lea ecx, [esp + 0x72]
push edi
push ecx
mov word [esp + 0x78], di
call fcn.004317a0
push 0x3fe
lea edx, [esp + 0x47e]
push edi
push edx
mov word [esp + 0x484], di
call fcn.004317a0
mov eax, dword [esp + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x18
push eax
push 0x200
lea ecx, [esp + 0x74]
push ecx
push 0x44e9d8
push str.Version
push str.UpCfg
call esi
mov edx, dword [esp + 0x18]
push edx
push 0x200
lea eax, [esp + 0x474]
push eax
push 0x44e9d8
push str.Force
push str.UpCfg
call esi
lea ecx, [esp + 0x44]
push ecx
call fcn.00408230
push str.Update_version.ini
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x1088], 9
call fcn.00403590
add esp, 0x10
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x1078], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406f25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x3fe
lea ecx, [esp + 0x872]
push edi
push ecx
mov word [esp + 0x878], di
call fcn.004317a0
push 0x3fe
lea edx, [esp + 0xc7e]
push edi
push edx
mov word [esp + 0xc84], di
call fcn.004317a0
mov eax, dword [esp + 0x3c]
add esp, 0x18
push eax
push 0x200
lea ecx, [esp + 0x874]
push ecx
push 0x44e9d8
push str.Version
push str.UpCfg
call esi
mov edx, dword [esp + 0x24]
push edx
push 0x200
lea eax, [esp + 0xc74]
push eax
push 0x44e9d8
push str.Force
push str.UpCfg
call esi
push ecx
lea edx, [esp + 0x870]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.004043e0
lea ecx, [esp + 0x60]
call fcn.0040b150
mov esi, eax
push ecx
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
mov byte [esp + 0x1080], 0xc
mov dword [esp + 0x24], 1
call fcn.004043e0
lea ecx, [esp + 0x50]
call fcn.0040b150
mov ecx, dword [eax + 0xc]
cmp ecx, dword [esi + 0xc]
mov ebx, 3
mov dword [esp + 0x1078], 0xd
mov dword [esp + 0x1c], ebx
jle 0x407036
lea edx, [esp + 0x46c]
push edx
lea ecx, [esp + 0x34]
call fcn.004043e0
push 0x44ecfc
push eax
mov ebx, 7
call fcn.00402410
add esp, 8
test al, al
mov byte [esp + 0x17], 1
jne 0x40703b
mov byte [esp + 0x17], 0
or edi, 0xffffffff
test bl, 4
je 0x407069
mov eax, dword [esp + 0x30]
and ebx, 0xfffffffb
add eax, 0xfffffff0
mov dword [esp + 0x1c], ebx
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407069
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 2
mov dword [esp + 0x1078], 0xc
je 0x407089
and ebx, 0xfffffffd
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1c], ebx
call fcn.004080a0
test bl, 1
mov dword [esp + 0x1078], 0xb
je 0x4070a2
lea ecx, [esp + 0x5c]
call fcn.004080a0
cmp byte [esp + 0x17], 0
je 0x407144
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
push ebp
push ecx
push edx
mov ecx, esi
call fcn.004056d0
test al, al
je 0x407140
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x1078], 7
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4070ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x1078], 4
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407115
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x1078], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x407139
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x4071c1
mov ecx, esi
jmp 0x407148
mov ecx, dword [esp + 0x28]
call fcn.00404d70
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov edx, edi
lea ecx, [eax + 0xc]
mov byte [esp + 0x1078], 7
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407174
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov edx, edi
lea ecx, [eax + 0xc]
mov byte [esp + 0x1078], 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40719b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov dword [esp + 0x1078], edi
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4071bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x1070]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1058]
xor ecx, esp
call fcn.00432214
add esp, 0x1068
ret 0xc