Function at 0x40926e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ea661
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x50f634]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
mov eax, dword [0x50f634]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov dword [esp + 0x18], esi
cmp eax, dword [esi + 4]
jne 0x4092c2
xor al, al
jmp 0x409663
mov eax, dword [0x5154a8]
mov eax, dword [eax + 0x88]
mov edi, dword [eax + 0x2c8]
xor ebx, ebx
mov dword [esp + 0x14], edi
cmp edi, ebx
je 0x4092bb
call fcn.00409c6c
lea eax, [esp + 0x1c]
push eax
mov ecx, str.SoftwareUpdates
mov edx, edi
call fcn.004086fe
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40930b
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], ebx
jg 0x40930b
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 4]
sub eax, dword [esi]
push 0x78
cdq
pop ecx
idiv ecx
mov dword [esp + 0x1c], ebx
test eax, eax
je 0x409661
mov dword [esp + 0x10], ebx
jmp 0x40932a
xor ebx, ebx
lea eax, [esp + 0x24]
push eax
call fcn.004021e7
lea eax, [esp + 0x24]
push str.SoftwareUpdates_Update_
push eax
mov dword [esp + 0x128], ebx
call fcn.004035ab
pop ecx
pop ecx
push dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
call fcn.0040c5a1
lea edx, [esp + 0xf4]
lea ecx, [esp + 0x24]
call fcn.00402860
lea eax, [esp + 0xf4]
push eax
lea esi, [esp + 0xc0]
mov byte [esp + 0x124], 1
call fcn.0040529d
push 1
xor edi, edi
lea esi, [esp + 0xf8]
call fcn.00402a3c
lea ecx, [esp + 0x74]
mov byte [esp + 0x120], 4
call fcn.00402251
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x78], vtable.std::ios_base.0
call fcn.004441d6
cmp dword [esp + 0xd4], 8
pop ecx
mov ecx, dword [esp + 0xbc]
jae 0x4093d2
lea ecx, [esp + 0xbc]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
call fcn.004086fe
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4093f8
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], ebx
jg 0x4093f8
mov eax, dword [ecx]
push 1
call dword [eax]
push str._UpdateType
lea ebx, [esp + 0xdc]
lea ecx, [esp + 0xc0]
call fcn.004064d5
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x120], 5
mov edx, dword [ecx]
add edx, dword [esp + 0x10]
mov ecx, eax
push dword [edx]
mov edx, dword [esp + 0x18]
call fcn.004207a8
mov bl, al
pop ecx
neg bl
sbb bl, bl
push 1
xor edi, edi
lea esi, [esp + 0xdc]
mov byte [esp + 0x124], 4
call fcn.00402a3c
inc bl
jne 0x409687
push str._Name
lea ebx, [esp + 0xdc]
lea ecx, [esp + 0xc0]
call fcn.004064d5
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x120], 6
mov edx, dword [ecx]
add edx, dword [esp + 0x10]
mov ecx, eax
add edx, 4
push edx
mov edx, dword [esp + 0x18]
call fcn.00420862
mov bl, al
pop ecx
neg bl
push 1
lea esi, [esp + 0xdc]
sbb bl, bl
mov byte [esp + 0x124], 4
call fcn.00402a3c
inc bl
jne 0x409687
push str._Version
lea ebx, [esp + 0xdc]
lea ecx, [esp + 0xc0]
call fcn.004064d5
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x120], 7
mov edx, dword [ecx]
add edx, dword [esp + 0x10]
mov ecx, eax
add edx, 0x20
push edx
mov edx, dword [esp + 0x18]
call fcn.00420862
mov bl, al
pop ecx
neg bl
push 1
lea esi, [esp + 0xdc]
sbb bl, bl
mov byte [esp + 0x124], 4
call fcn.00402a3c
inc bl
jne 0x409687
push str._ReleaseDateTime
lea ebx, [esp + 0xdc]
lea ecx, [esp + 0xc0]
call fcn.004064d5
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x120], 8
mov edx, dword [ecx]
add edx, dword [esp + 0x10]
mov ecx, eax
add edx, 0x3c
push edx
mov edx, dword [esp + 0x18]
call fcn.00420862
mov bl, al
pop ecx
neg bl
push 1
lea esi, [esp + 0xdc]
sbb bl, bl
mov byte [esp + 0x124], 4
call fcn.00402a3c
inc bl
jne 0x409687
push str._DetailsURL
lea ebx, [esp + 0xdc]
lea ecx, [esp + 0xc0]
call fcn.004064d5
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x120], 9
mov edx, dword [ecx]
add edx, dword [esp + 0x10]
mov ecx, eax
add edx, 0x58
push edx
mov edx, dword [esp + 0x18]
call fcn.00420862
mov bl, al
pop ecx
neg bl
push 1
lea esi, [esp + 0xdc]
sbb bl, bl
mov byte [esp + 0x124], 4
call fcn.00402a3c
inc bl
jne 0x409687
push str._isBeta
lea ebx, [esp + 0xdc]
lea ecx, [esp + 0xc0]
call fcn.004064d5
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x120], 0xa
mov edx, dword [ecx]
add edx, dword [esp + 0x10]
movzx ecx, byte [edx + 0x74]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, eax
call fcn.004207a8
mov bl, al
pop ecx
neg bl
push 1
lea esi, [esp + 0xdc]
sbb bl, bl
mov byte [esp + 0x124], 4
call fcn.00402a3c
inc bl
push 1
lea esi, [esp + 0xc0]
jne 0x409692
or dword [esp + 0x124], 0xffffffff
call fcn.00402a3c
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
push 0x78
cdq
pop ecx
idiv ecx
inc dword [esp + 0x1c]
add dword [esp + 0x10], 0x78
cmp dword [esp + 0x1c], eax
jb 0x409328
mov al, 1
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.00444c31
mov esp, ebp
pop ebp
ret
push 1
xor edi, edi
lea esi, [esp + 0xc0]
call fcn.00402a3c
jmp 0x4092bb