Function at 0x41af70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43da98
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x44c00c]
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 esi, ecx
mov dword [ebp - 0x30], esi
cmp dword [ebp + 8], 0
mov ecx, 0xcf0000
movaps xmm0, xmmword [0x4466d0]
mov eax, 0x10cf0000
cmove eax, ecx
mov dword [0x44c968], 0x446038
push str.UPDATER
push str.TEXT_UPDATER_TITLE
mov dword [0x44c964], 0
mov dword [0x44c944], 0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], eax
call fcn.00408e00
mov ecx, eax
call fcn.0040b0f0
lea ecx, [esi + 0x20]
mov dword [ebp - 0x2c], eax
push ecx
mov edx, 0x44c940
mov ecx, 0x44d1d0
call fcn.0041bd40
movzx ebx, ax
add esp, 4
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x41b0b5
call fcn.0041d884
mov dword [esi + 0x14], eax
test eax, eax
jne 0x41b0b5
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x38]
call fcn.00401660
push str.VersionNo.ini
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004023e0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [esi + 0xa8]
push dword [eax]
call fcn.00405f00
test eax, eax
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x34]
sete byte [ebp - 0x25]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jg 0x41b141
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x30]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x41b33a
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x41b141
push 0
push 0
push eax
call fcn.0041d986
test bx, bx
je 0x41b032
lea edi, [esi + 8]
test edi, edi
je 0x41b32e
test esi, esi
je 0x41b32e
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x44c9d4
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x44c9ec]
mov dword [edi + 8], eax
push 0x44c9d4
mov dword [0x44c9ec], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
sub eax, edx
mov ecx, dword [ebp - 0x24]
push 0
push dword [0x44d1d4]
push 0
push 0
push eax
mov eax, dword [ebp - 0x1c]
sub eax, ecx
push eax
push edx
push ecx
push dword [ebp - 0x14]
push dword [ebp - 0x2c]
push ebx
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x41b032
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x41b177
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x41b342
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
cmp byte [ebp - 0x25], 0
je 0x41b191
push 0x446064
call fcn.004011c0
add esp, 4
xor eax, eax
jmp 0x41b310
movaps xmm0, xmmword [0x4466c0]
lea ecx, [ebp - 0x48]
push ecx
push dword [esi + 4]
lea ecx, [esi + 0x28]
movups xmmword [ebp - 0x48], xmm0
call fcn.004116b0
test eax, eax
jne 0x41b1c3
push eax
push eax
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x41b310
call fcn.004034e0
mov ecx, eax
test ecx, ecx
je 0x41b34b
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x41b355
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0x14], eax
push ecx
push 0
push str.BuildNo
push str.Version
lea ecx, [esi + 0xa8]
mov dword [ebp - 4], 2
call fcn.00407860
mov edi, dword [esi + 0x24]
mov ebx, eax
call fcn.00418750
mov esi, dword [eax]
call fcn.00418750
push edi
push ebx
push esi
push dword [eax + 0x30]
lea eax, [ebp - 0x14]
push str._s_cid_sv_dl_s
push eax
call fcn.004030e0
mov edi, dword [ebp - 0x30]
add esp, 0x18
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 0x2c]
call ebx
mov edx, dword [edi + 0x38]
test edx, edx
je 0x41b258
mov eax, dword [edx]
push 1
push edx
call dword [eax + 0xf0]
mov esi, dword [ebp - 0x14]
push ecx
push esi
lea ecx, [edi + 0x28]
call fcn.00411940
push 0
push dword [edi + 4]
call ebx
cmp dword [ebp + 8], 0
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0xa4], ecx
je 0x41b2a7
test ecx, ecx
mov edx, 0x1388
push 0
mov eax, 0x2710
cmove eax, edx
push eax
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push str.with_sleep___true
call fcn.004011c0
add esp, 4
jmp 0x41b2c3
push str.with_sleep___false
call fcn.004011c0
add esp, 4
push 0
push 1
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [edi + 0x9c], 0
add esi, 0xfffffff0
mov dword [edi + 0xa0], 0
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41b30b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x41b35c
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
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.0041d9da
mov esp, ebp
pop ebp
ret 8
push 1
push 0xc0000005
call fcn.00415d80
call dword [ebp - 0x2c]
jmp 0x41b141
mov ecx, edx
call ebx
jmp 0x41b177
push 0x80004005
call fcn.004039b0
call edx
jmp 0x41b1e9
call edx
jmp 0x41b30b