Function at 0x41bdc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e0d6
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x556768]
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 - 0x278], eax
mov esi, dword [ebp + 8]
push eax
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x27c], 1
call fcn.0041c3e0
add esp, 4
mov dword [ebp - 0x254], eax
or edi, 0xffffffff
mov dword [ebp - 0x258], edx
test esi, esi
je 0x41c284
call fcn.004051a0
mov ecx, eax
test ecx, ecx
je 0x41c336
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x250], eax
push esi
lea ecx, [ebp - 0x250]
mov dword [ebp - 4], 0
call fcn.00404d70
test al, al
jne 0x41be6d
push esi
lea ecx, [ebp - 0x250]
call fcn.004048a0
mov esi, dword [ebp - 0x250]
mov dword [ebp - 4], 1
mov ebx, dword [esi - 0xc]
test ebx, ebx
js 0x41c340
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x41bea8
push ebx
lea ecx, [ebp - 0x250]
call fcn.00405680
mov esi, dword [ebp - 0x250]
lea eax, [ebx + 1]
push eax
push esi
call fcn.004e72a1
lea edi, [esi - 0x10]
add esp, 8
cmp ebx, dword [edi + 8]
jg 0x41c340
xor eax, eax
mov dword [edi + 4], ebx
push 0x30
push eax
mov word [esi + ebx*2], ax
lea eax, [ebp - 0x248]
push eax
call fcn.004e38d0
add esp, 0xc
lea ecx, [ebp - 0x248]
call fcn.0042d230
mov ecx, esi
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41bf10
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x270]
call fcn.0040aed0
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x248]
call fcn.0042dc40
mov edx, dword [ebp - 0x25c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x41bf86
mov ecx, dword [ebp - 0x270]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41bf7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c34a
push edx
push ecx
call fcn.004a1bda
add esp, 8
push 7
xor eax, eax
mov dword [ebp - 0x260], 0
push str.autorun
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
call fcn.0040aed0
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x248]
call fcn.0042dba0
mov edx, dword [ebp - 0x25c]
test eax, eax
mov byte [ebp - 4], 2
sete bl
cmp edx, 8
jb 0x41c014
mov ecx, dword [ebp - 0x270]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c00a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c34f
push edx
push ecx
call fcn.004a1bda
add esp, 8
test bl, bl
jne 0x41c25a
push 0xc
xor eax, eax
mov dword [ebp - 0x284], 0
push str.updatefinish
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
call fcn.0040aed0
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 5
mov ebx, 1
lea ecx, [ebp - 0x248]
push eax
mov dword [ebp - 0x274], ebx
call fcn.0042dba0
test eax, eax
jne 0x41c0c8
push 0xe
push str.__updatefinish
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
call fcn.0040aed0
lea eax, [ebp - 0x270]
mov dword [ebp - 4], 6
mov ebx, 3
lea ecx, [ebp - 0x248]
push eax
mov dword [ebp - 0x274], ebx
call fcn.0042dba0
mov byte [ebp - 0x249], 0
test eax, eax
je 0x41c0cf
mov byte [ebp - 0x249], 1
mov dword [ebp - 4], 5
test bl, 2
je 0x41c138
mov edx, dword [ebp - 0x25c]
cmp edx, 8
jb 0x41c11b
mov ecx, dword [ebp - 0x270]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c111
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c354
push edx
push ecx
call fcn.004a1bda
add esp, 8
xor eax, eax
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
mov edx, dword [ebp - 0x280]
mov dword [ebp - 4], 2
cmp edx, 8
jb 0x41c17f
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c175
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c359
push edx
push ecx
call fcn.004a1bda
add esp, 8
cmp byte [ebp - 0x249], 0
jne 0x41c25a
mov ebx, dword [ebp - 0x278]
push ebx
call fcn.0041c7b0
add esp, 4
test eax, eax
je 0x41c25a
push 0x208
lea eax, [ebp - 0x218]
mov esi, 1
push 0
push eax
call fcn.004e38d0
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x104
push eax
push 0x519804
push 0x519808
push str.arctrl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.004ebf51
mov ecx, dword [ebp - 0x254]
mov ebx, eax
mov eax, ecx
add esp, 4
and eax, dword [ebp - 0x258]
cmp eax, 0xffffffff
je 0x41c227
mov eax, ebx
or eax, edx
je 0x41c227
mov eax, dword [ebp - 0x258]
sub ecx, ebx
sbb eax, edx
add ecx, 5
adc eax, 0
test eax, eax
ja 0x41c227
jb 0x41c225
cmp ecx, 0xa
ja 0x41c227
xor esi, esi
test esi, esi
jne 0x41c25a
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x27c], esi
call fcn.0042d2b0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41c312
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41c312
lea ecx, [ebp - 0x248]
call fcn.0042d2b0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41c281
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
or edi, 0xffffffff
mov esi, dword [ebp - 0x254]
mov eax, esi
mov ebx, dword [ebp - 0x258]
and eax, ebx
cmp eax, 0xffffffff
je 0x41c312
mov eax, esi
or eax, ebx
je 0x41c312
mov dword [ebp - 4], 7
call fcn.004051a0
mov ecx, eax
test ecx, ecx
je 0x41c35e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x254], eax
push ebx
push esi
lea eax, [ebp - 0x254]
mov dword [ebp - 4], 8
push str._I64d
push eax
call fcn.004050b0
mov esi, dword [ebp - 0x254]
add esp, 0x10
push dword [ebp - 0x278]
push esi
push 0x519808
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 0x41c312
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x27c]
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.004a1e90
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404d50
push 0x80070057
call fcn.00404d50
call fcn.004e6c79
call fcn.004e6c79
call fcn.004e6c79
call fcn.004e6c79
push 0x80004005
call fcn.00404d50
int3