Function at 0x4229a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b9b6
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x55f3a4]
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 - 0x224], 0
mov dword [ebp - 0x280], 1
call fcn.00422fb0
mov ebx, eax
mov dword [ebp - 0x260], edx
or edi, 0xffffffff
mov dword [ebp - 0x25c], ebx
test esi, esi
je 0x422c3f
call fcn.00405ae0
mov ecx, eax
test ecx, ecx
je 0x422f70
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push esi
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0
call fcn.00405cf0
test al, al
jne 0x422a60
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422a44
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x220]
call fcn.00406110
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x220]
mov ebx, dword [esi - 0xc]
test ebx, ebx
js 0x422f7a
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x422a9b
push ebx
lea ecx, [ebp - 0x220]
call fcn.00405ff0
mov esi, dword [ebp - 0x220]
lea eax, [ebx + 1]
push eax
push esi
call fcn.005012ea
lea edi, [esi - 0x10]
add esp, 8
cmp ebx, dword [edi + 8]
jg 0x422f7a
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.004efd80
add esp, 0xc
lea ecx, [ebp - 0x254]
call fcn.00435400
mov ecx, esi
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422b00
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x278]
call fcn.004089c0
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x254]
call fcn.00435cd0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x264]
cmp edx, 8
jb 0x422b76
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422b6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422f84
push edx
push ecx
call fcn.004af8aa
add esp, 8
push 7
xor eax, eax
mov dword [ebp - 0x268], 0
push str.autorun
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
call fcn.004089c0
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x254]
call fcn.00435c30
test eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x264]
sete bl
cmp edx, 8
jb 0x422c04
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422bfa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422f89
push edx
push ecx
call fcn.004af8aa
add esp, 8
test bl, bl
je 0x422c77
lea ecx, [ebp - 0x254]
call fcn.00435460
mov dword [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x422c2f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x25c]
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov esi, dword [ebp - 0x260]
mov eax, ebx
and eax, esi
cmp eax, 0xffffffff
je 0x422f4c
mov eax, ebx
or eax, esi
je 0x422f4c
mov dword [ebp - 4], 0xb
call fcn.00405ae0
mov ecx, eax
test ecx, ecx
je 0x422f8e
jmp 0x422ee8
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.004089c0
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 6
mov ebx, 1
lea ecx, [ebp - 0x254]
push eax
mov dword [ebp - 0x224], ebx
call fcn.00435c30
test eax, eax
jne 0x422d23
push 0xe
push str.__updatefinish
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
call fcn.004089c0
lea eax, [ebp - 0x278]
mov dword [ebp - 4], 7
mov ebx, 3
lea ecx, [ebp - 0x254]
push eax
mov dword [ebp - 0x224], ebx
call fcn.00435c30
mov byte [ebp - 0x255], 0
test eax, eax
je 0x422d2a
mov byte [ebp - 0x255], 1
mov dword [ebp - 4], 6
test bl, 2
je 0x422d93
mov edx, dword [ebp - 0x264]
cmp edx, 8
jb 0x422d76
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422d6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422f98
push edx
push ecx
call fcn.004af8aa
add esp, 8
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x284]
cmp edx, 8
jb 0x422dda
mov ecx, dword [ebp - 0x298]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422dd0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422f9d
push edx
push ecx
call fcn.004af8aa
add esp, 8
cmp byte [ebp - 0x255], 0
je 0x422dfa
lea ecx, [ebp - 0x254]
call fcn.00435460
mov dword [ebp - 4], 8
jmp 0x422c1a
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004efd80
add esp, 0xc
lea eax, [ebp - 0x21c]
push dword [ebp - 0x27c]
push 0x104
push eax
push 0x547f50
push 0x547f54
push str.arctrl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x21c]
push eax
call fcn.005010bf
mov ebx, dword [ebp - 0x25c]
mov esi, eax
mov eax, ebx
add esp, 4
and eax, dword [ebp - 0x260]
cmp eax, 0xffffffff
je 0x422eb8
mov eax, esi
or eax, edx
je 0x422eb8
mov eax, dword [ebp - 0x260]
mov ecx, ebx
sub ecx, esi
sbb eax, edx
add ecx, 5
adc eax, 0
test eax, eax
ja 0x422eb8
jb 0x422e7e
cmp ecx, 0xa
ja 0x422eb8
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x280], 0
call fcn.00435460
mov dword [ebp - 4], 9
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x422f4c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x422f4c
lea ecx, [ebp - 0x254]
call fcn.00435460
mov dword [ebp - 4], 0xa
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x422c35
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x422c35
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
push esi
push ebx
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0xc
push str._I64d
push eax
call fcn.00405660
mov esi, dword [ebp - 0x224]
add esp, 0x10
push dword [ebp - 0x27c]
push esi
push 0x547f54
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 0x422f4c
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.004af60c
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004060f0
push 0x80070057
call fcn.004060f0
call fcn.004f36b0
call fcn.004f36b0
push 0x80004005
call fcn.004060f0
call fcn.004f36b0
call fcn.004f36b0
int3