Function at 0x41a110
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509e16
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x551758]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x290], eax
mov esi, dword [ebp + 8]
push eax
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x294], 1
call fcn.0041a7c0
add esp, 4
mov dword [ebp - 0x284], eax
or edi, 0xffffffff
mov dword [ebp - 0x288], edx
test esi, esi
je 0x41a5c4
call fcn.00404ec0
mov ecx, eax
test ecx, ecx
je 0x41a676
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x280], eax
push esi
lea ecx, [ebp - 0x280]
mov dword [ebp - 4], 0
call fcn.0040dab0
test al, al
jne 0x41a1bd
push esi
lea ecx, [ebp - 0x280]
call fcn.00419fe0
mov esi, dword [ebp - 0x280]
mov dword [ebp - 4], 1
mov ebx, dword [esi - 0xc]
test ebx, ebx
js 0x41a680
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x41a1f8
push ebx
lea ecx, [ebp - 0x280]
call fcn.00405570
mov esi, dword [ebp - 0x280]
lea eax, [ebx + 1]
push eax
push esi
call fcn.004e3821
lea edi, [esi - 0x10]
add esp, 8
cmp ebx, dword [edi + 8]
jg 0x41a680
xor eax, eax
mov dword [edi + 4], ebx
lea ecx, [ebp - 0x278]
mov word [esi + ebx*2], ax
call fcn.004298d0
mov ecx, esi
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a250
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x230]
call fcn.0040e940
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x278]
call fcn.0042a2a0
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x41a2c6
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41a2bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a68a
push edx
push ecx
call fcn.0049e0cc
add esp, 8
push 7
xor eax, eax
mov dword [ebp - 0x220], 0
push str.autorun
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0040e940
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x278]
call fcn.0042a200
mov edx, dword [ebp - 0x21c]
test eax, eax
mov byte [ebp - 4], 2
sete bl
cmp edx, 8
jb 0x41a354
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41a34a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a68f
push edx
push ecx
call fcn.0049e0cc
add esp, 8
test bl, bl
jne 0x41a59a
push 0xc
xor eax, eax
mov dword [ebp - 0x238], 0
push str.updatefinish
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.0040e940
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 5
mov ebx, 1
lea ecx, [ebp - 0x278]
push eax
mov dword [ebp - 0x28c], ebx
call fcn.0042a200
test eax, eax
jne 0x41a408
push 0xe
push str.__updatefinish
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0040e940
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 6
mov ebx, 3
lea ecx, [ebp - 0x278]
push eax
mov dword [ebp - 0x28c], ebx
call fcn.0042a200
mov byte [ebp - 0x279], 0
test eax, eax
je 0x41a40f
mov byte [ebp - 0x279], 1
mov dword [ebp - 4], 5
test bl, 2
je 0x41a478
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x41a45b
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41a451
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a694
push edx
push ecx
call fcn.0049e0cc
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov edx, dword [ebp - 0x234]
mov dword [ebp - 4], 2
cmp edx, 8
jb 0x41a4bf
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41a4b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a699
push edx
push ecx
call fcn.0049e0cc
add esp, 8
cmp byte [ebp - 0x279], 0
jne 0x41a59a
mov ebx, dword [ebp - 0x290]
push ebx
call fcn.0041ac20
add esp, 4
test eax, eax
je 0x41a59a
push 0x208
lea eax, [ebp - 0x218]
mov esi, 1
push 0
push eax
call fcn.004dfe60
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x104
push eax
push 0x515488
push 0x51548c
push str.arctrl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.004e9cb7
mov ecx, dword [ebp - 0x284]
mov ebx, eax
mov eax, ecx
add esp, 4
and eax, dword [ebp - 0x288]
cmp eax, 0xffffffff
je 0x41a567
mov eax, ebx
or eax, edx
je 0x41a567
mov eax, dword [ebp - 0x288]
sub ecx, ebx
sbb eax, edx
add ecx, 5
adc eax, 0
test eax, eax
ja 0x41a567
jb 0x41a565
cmp ecx, 0xa
ja 0x41a567
xor esi, esi
test esi, esi
jne 0x41a59a
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x294], esi
call fcn.00429950
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41a652
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41a652
lea ecx, [ebp - 0x278]
call fcn.00429950
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41a5c1
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
or edi, 0xffffffff
mov esi, dword [ebp - 0x284]
mov eax, esi
mov ebx, dword [ebp - 0x288]
and eax, ebx
cmp eax, 0xffffffff
je 0x41a652
mov eax, esi
or eax, ebx
je 0x41a652
mov dword [ebp - 4], 7
call fcn.00404ec0
mov ecx, eax
test ecx, ecx
je 0x41a69e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x284], eax
push ebx
push esi
lea eax, [ebp - 0x284]
mov dword [ebp - 4], 8
push 0x515424
push eax
call fcn.00404dd0
mov esi, dword [ebp - 0x284]
add esp, 0x10
push dword [ebp - 0x290]
push esi
push 0x51548c
push str.arctrl
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x41a652
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x294]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049e374
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404b90
push 0x80070057
call fcn.00404b90
call fcn.004e31f9
call fcn.004e31f9
call fcn.004e31f9
call fcn.004e31f9
push 0x80004005
call fcn.00404b90
int3