Function at 0x4113f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd396
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x51938c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x27c], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x280], 1
call fcn.00411a00
or edi, 0xffffffff
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x25c], edx
test esi, esi
je 0x411699
call fcn.004049b0
mov ecx, eax
test ecx, ecx
je 0x4119c9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov dword [ebp - 4], 0
test esi, 0xffff0000
jne 0x411496
movzx eax, si
lea ecx, [ebp - 0x220]
push eax
call fcn.00408e60
jmp 0x4114bc
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4114a0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x220]
call fcn.00409040
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x220]
mov ebx, dword [esi - 0xc]
test ebx, ebx
js 0x4119d3
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x4114f7
push ebx
lea ecx, [ebp - 0x220]
call fcn.00409280
mov esi, dword [ebp - 0x220]
lea eax, [ebx + 1]
push eax
push esi
call fcn.004befcd
lea edi, [esi - 0x10]
add esp, 8
cmp ebx, dword [edi + 8]
jg 0x4119d3
xor eax, eax
mov dword [edi + 4], ebx
push 0x30
push eax
mov word [esi + ebx*2], ax
lea eax, [ebp - 0x254]
push eax
call fcn.004b5160
add esp, 0xc
lea ecx, [ebp - 0x254]
call fcn.00414c30
mov ecx, esi
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 7
mov word [ebp - 0x274], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411560
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x274]
call fcn.00408a10
lea eax, [ebp - 0x274]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x254]
call fcn.004154a0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x260]
cmp edx, 8
jb 0x4115d6
mov ecx, dword [ebp - 0x274]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4115cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4119dd
push edx
push ecx
call fcn.00489027
add esp, 8
push 7
xor eax, eax
mov dword [ebp - 0x264], 0
push str.autorun
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x260], 7
mov word [ebp - 0x274], ax
call fcn.00408a10
lea eax, [ebp - 0x274]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x254]
call fcn.00415400
test eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x260]
sete bl
cmp edx, 8
jb 0x411664
mov ecx, dword [ebp - 0x274]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41165a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4119e2
push edx
push ecx
call fcn.00489027
add esp, 8
test bl, bl
je 0x4116d7
lea ecx, [ebp - 0x254]
call fcn.00414c90
mov dword [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41168f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov esi, dword [ebp - 0x224]
mov eax, esi
mov ebx, dword [ebp - 0x25c]
and eax, ebx
cmp eax, 0xffffffff
je 0x4119a5
mov eax, esi
or eax, ebx
je 0x4119a5
mov dword [ebp - 4], 0xb
call fcn.004049b0
mov ecx, eax
test ecx, ecx
je 0x4119e7
jmp 0x411941
push 0xc
xor eax, eax
mov dword [ebp - 0x288], 0
push str.updatefinish
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x284], 7
mov word [ebp - 0x298], ax
call fcn.00408a10
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 6
mov ebx, 1
lea ecx, [ebp - 0x254]
push eax
mov dword [ebp - 0x278], ebx
call fcn.00415400
test eax, eax
jne 0x411783
push 0xe
push str.__updatefinish
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x260], 7
mov word [ebp - 0x274], ax
call fcn.00408a10
lea eax, [ebp - 0x274]
mov dword [ebp - 4], 7
mov ebx, 3
lea ecx, [ebp - 0x254]
push eax
mov dword [ebp - 0x278], ebx
call fcn.00415400
mov byte [ebp - 0x255], 0
test eax, eax
je 0x41178a
mov byte [ebp - 0x255], 1
mov dword [ebp - 4], 6
test bl, 2
je 0x4117f3
mov edx, dword [ebp - 0x260]
cmp edx, 8
jb 0x4117d6
mov ecx, dword [ebp - 0x274]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4117cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4119f1
push edx
push ecx
call fcn.00489027
add esp, 8
xor eax, eax
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 7
mov word [ebp - 0x274], ax
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x284]
cmp edx, 8
jb 0x41183a
mov ecx, dword [ebp - 0x298]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411830
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4119f6
push edx
push ecx
call fcn.00489027
add esp, 8
cmp byte [ebp - 0x255], 0
je 0x41185a
lea ecx, [ebp - 0x254]
call fcn.00414c90
mov dword [ebp - 4], 8
jmp 0x41167a
mov ebx, dword [ebp - 0x27c]
mov ecx, ebx
call fcn.004120c0
test eax, eax
je 0x41192a
push 0x208
lea eax, [ebp - 0x21c]
mov esi, 1
push 0
push eax
call fcn.004b5160
add esp, 0xc
lea eax, [ebp - 0x21c]
push ebx
push 0x104
push eax
push 0x5093ac
push 0x5093b0
push str.arctrl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x21c]
push eax
call fcn.004bedc2
mov ecx, dword [ebp - 0x224]
mov ebx, eax
mov eax, ecx
add esp, 4
and eax, dword [ebp - 0x25c]
cmp eax, 0xffffffff
je 0x4118f3
mov eax, ebx
or eax, edx
je 0x4118f3
mov eax, dword [ebp - 0x25c]
sub ecx, ebx
sbb eax, edx
add ecx, 5
adc eax, 0
test eax, eax
ja 0x4118f3
jb 0x4118f1
cmp ecx, 0xa
ja 0x4118f3
xor esi, esi
test esi, esi
jne 0x41192a
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x280], esi
call fcn.00414c90
mov dword [ebp - 4], 9
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4119a5
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4119a5
lea ecx, [ebp - 0x254]
call fcn.00414c90
mov dword [ebp - 4], 0xa
jmp 0x41167a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
push ebx
push esi
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0xc
push str._I64d
push eax
call fcn.0040a370
mov esi, dword [ebp - 0x224]
add esp, 0x10
push dword [ebp - 0x27c]
push esi
push 0x5093b0
push str.arctrl
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xd
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4119a5
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x280]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00488adc
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404780
push 0x80070057
call fcn.00404780
call fcn.004b8ab4
call fcn.004b8ab4
push 0x80004005
call fcn.00404780
call fcn.004b8ab4
call fcn.004b8ab4
int3