Function at 0x416190
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433a80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x258
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x260], ebx
mov eax, dword [ebx + 4]
push eax
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
push 0x43c10e
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x43d848]
sub eax, 3
je 0x4161f4
sub eax, 2
je 0x4161ed
dec eax
jne 0x4161f4
mov eax, 0xa0
jmp 0x4161f9
mov eax, 0x9f
jmp 0x4161f9
mov eax, 0x9e
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x228]
push ecx
call fcn.004249d0
add esp, 0xc
mov dword [ebp - 0x23c], eax
lea edi, [ebx + 0x44]
mov ecx, dword [edi]
mov eax, dword [eax]
mov dword [ebp - 0x264], eax
cmp ecx, eax
je 0x41629e
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x416234
add ecx, 0xfffffff4
cmp ecx, dword [0x43734c]
jne 0x41623b
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x416283
mov eax, dword [eax - 8]
mov dword [ebp - 0x230], eax
push eax
mov ecx, edi
call fcn.00402440
test eax, eax
je 0x41629e
mov ecx, dword [ebp - 0x230]
mov esi, dword [ebp - 0x264]
mov edi, dword [edi]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x44]
mov eax, edx
mov dword [ecx - 8], eax
mov edx, dword [ebx + 0x44]
mov byte [edx + eax], 0
mov esi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x41629e
mov ecx, edi
call fcn.00402400
mov eax, dword [ebp - 0x23c]
mov eax, dword [eax]
mov dword [edi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp - 0x228]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x43734c]
je 0x4162cf
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4162cf
mov edx, dword [ebp - 0x228]
lea eax, [edx - 0xc]
push eax
call fcn.004292c0
add esp, 4
mov byte [ebp - 0x198], 0
mov ecx, 0x20
xor eax, eax
lea edi, [ebp - 0x197]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov byte [ebp - 0x220], 0
mov ecx, 0x20
xor eax, eax
lea edi, [ebp - 0x21f]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov byte [ebp - 0x114], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push str.CompsVer.inf
push 0x43c41a
push str._s_s
lea eax, [ebp - 0x114]
push eax
call fcn.00429590
add esp, 0x10
lea ecx, [ebp - 0x114]
push ecx
push 0x82
lea edx, [ebp - 0x198]
push edx
push 0x43babc
push str.Version
push str.UPDATE
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
call edi
lea eax, [ebp - 0x114]
push eax
push 0x82
lea ecx, [ebp - 0x220]
push ecx
push 0x43babc
push str.Time
push str.UPDATE
call edi
lea edi, [ebp - 0x198]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x416422
push 0xffffffffffffffff
push 0x141
lea edx, [ebp - 0x224]
push edx
call fcn.004249d0
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x198]
push ecx
mov edx, dword [ebp - 0x224]
push edx
lea eax, [ebx + 0x48]
push eax
call fcn.004025c0
add esp, 0x10
jmp 0x4163ea
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x224]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x43734c]
je 0x416422
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416422
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff4
push edx
call fcn.004292c0
add esp, 4
mov edi, dword [ebx + 0x48]
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebx + 4]
push ecx
call esi
push edi
mov edx, dword [ebp - 0x24c]
push edx
push 0x1411
push eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
call edi
mov eax, dword [ebx + 4]
push eax
call esi
push 0
push 0x3e9
push 0x1410
push eax
call edi
mov ecx, dword [ebx + 4]
push ecx
call esi
push 0
push 0x3ea
push 0x1410
push eax
call edi
mov edx, dword [ebx + 4]
push edx
call esi
push 0
push 0x3eb
push 0x1410
push eax
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret