Function at 0x40d630
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x486014
mov eax, dword fs:[0]
push eax
sub esp, 0x7fc
mov eax, dword [0x4afe78]
xor eax, esp
mov dword [esp + 0x7f8], eax
push ebx
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x80c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x81c]
mov esi, dword [esp + 0x820]
mov edi, dword [esp + 0x824]
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0
call fcn.00401bd0
push edi
push eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x820], 0
call fcn.00403ce0
add esp, 0xc
mov eax, dword [eax]
push eax
mov ecx, 0x4b1280
mov byte [esp + 0x818], 1
call fcn.004543fc
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401660
lea ebx, [eax + 0x10]
add esp, 4
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x814], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d701
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x814], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d729
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx - 0xc], 0
je 0x40d76f
lea esi, [ebx - 0x10]
push esi
call fcn.00401660
mov edi, dword [esp + 0x2c]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov dword [esp + 0x814], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d768
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
jmp 0x40da9d
lea eax, [esp + 0x20]
push eax
call fcn.0040b270
push str._qupdater_.ini
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x824], 5
call fcn.00403ce0
push edi
push esi
mov byte [esp + 0x82c], 6
call fcn.0040ca70
add esp, 0x18
test eax, eax
je 0x40d90f
lea eax, [esp + 0x2c]
push eax
call fcn.0040d3e0
push str._qupdater_.ini
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x824], 7
call fcn.00403ce0
add esp, 0x10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x818], 8
call fcn.00401ab0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x814], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d812
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.ListURL
lea ecx, [esp + 0x1c]
push str.UPDATEINFO
push ecx
call fcn.0040d630
push str.9999999999
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x82c], 9
call fcn.00403ce0
mov eax, dword [eax]
push eax
lea eax, [esp + 0x30]
mov bl, 0xa
push eax
mov byte [esp + 0x834], bl
call fcn.0040ad60
add esp, 0x20
mov eax, dword [eax]
push eax
push 0x48fbdc
lea ecx, [esp + 0x18]
mov byte [esp + 0x81c], 0xb
call fcn.00403660
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x814], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d897
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x814], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d8bf
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 + 0x814], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d8e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x814], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d90f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x48ef18
push 0x48ef10
lea ecx, [esp + 0x18]
call fcn.00403660
mov ecx, dword [0x4b129c]
push ecx
push 0x48fbdc
lea ecx, [esp + 0x18]
call fcn.00403660
push 0x7d0
lea edx, [esp + 0x3c]
push 0
push edx
call fcn.0046e0a0
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
push 0x3e8
lea ecx, [esp + 0x40]
push ecx
push 0x495308
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea ecx, [esp + 0x20]
call fcn.00401bd0
push edi
push eax
lea edx, [esp + 0x20]
mov bl, 0xc
push edx
mov byte [esp + 0x820], bl
call fcn.00403ce0
add esp, 0xc
mov eax, dword [eax]
push eax
mov ecx, 0x4b1280
mov byte [esp + 0x818], 0xd
call fcn.004543fc
lea edx, [esp + 0x38]
lea ecx, [edx + 2]
mov si, word [edx]
add edx, 2
test si, si
jne 0x40d9a5
sub edx, ecx
sar edx, 1
push edx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.00401840
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x814], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d9e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x814], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40da10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call fcn.00401bd0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x814], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40da48
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 byte [esp + 0x814], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40da70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x814], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40da9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x80c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7f8]
xor ecx, esp
call fcn.0046dc02
add esp, 0x808
ret