Function at 0x401c80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ce26
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x43a00c]
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
call fcn.00403470
mov byte [ebp - 0x3ed], al
lea ecx, [ebp - 0x304]
xor eax, eax
mov dword [ebp - 0x304], 0
push eax
push 0x4354f8
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x2f0], 7
mov word [ebp - 0x304], ax
call fcn.0040c560
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x370]
push 1
xor eax, eax
mov dword [ebp - 0x370], 0
push 0x43503c
mov dword [ebp - 0x360], 0
mov dword [ebp - 0x35c], 7
mov word [ebp - 0x370], ax
call fcn.0040c560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2ec]
push 1
xor eax, eax
mov dword [ebp - 0x2ec], 0
push 0x435040
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 7
mov word [ebp - 0x2ec], ax
call fcn.0040c560
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 2
call fcn.0040e1c0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x294]
test ecx, ecx
je 0x40309c
cmp dword [ebp - 0x290], 8
lea eax, [ebp - 0x2a4]
cmovae eax, dword [ebp - 0x2a4]
lea eax, [eax + ecx*2]
lea ecx, [ebp - 0x2a4]
cmovae ecx, dword [ebp - 0x2a4]
cmp eax, ecx
je 0x401edd
cmp word [eax - 2], 0x5c
je 0x401edd
push 1
xor eax, eax
mov dword [ebp - 0x25c], 0
push 0x434f10
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
call fcn.0040c560
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x25c]
cmp dword [ebp - 0x248], 8
mov ebx, dword [ebp - 0x25c]
mov esi, dword [ebp - 0x294]
cmovae ecx, ebx
mov eax, dword [ebp - 0x290]
mov edx, dword [ebp - 0x24c]
sub eax, esi
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], esi
cmp edx, eax
ja 0x401e7e
cmp dword [ebp - 0x290], 8
lea edi, [edx + esi]
mov eax, dword [ebp - 0x21c]
lea esi, [ebp - 0x2a4]
cmovae esi, dword [ebp - 0x2a4]
mov dword [ebp - 0x294], edi
lea ecx, [esi + eax*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x220]
push ecx
call fcn.00419040
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x401e9f
push edx
push ecx
mov byte [ebp - 0x220], 0
lea ecx, [ebp - 0x2a4]
push dword [ebp - 0x220]
push edx
call fcn.0040b310
mov ebx, dword [ebp - 0x25c]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x248]
cmp eax, 8
jb 0x401edd
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x401ed3
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030e4
push ecx
push ebx
call fcn.00417807
add esp, 8
lea ecx, [ebp - 0x25c]
call fcn.004107f0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x24c], 0
jne 0x401f0a
push 0x43503c
lea ecx, [ebp - 0x2ec]
call fcn.0040a150
jmp 0x40300e
sub esp, 0x18
lea eax, [ebp - 0x25c]
mov ecx, esp
push eax
call fcn.0040a240
call fcn.00403580
mov ecx, esp
mov dword [ebp - 0x220], esp
push 0
push 0x4354f8
mov byte [ebp - 0x3ee], al
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.0040c560
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x21c], esp
push 6
push 0x435044
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.0040c560
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x25c]
mov ecx, esp
push eax
call fcn.0040a240
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 5
call fcn.00410520
add esp, 0x30
mov byte [ebp - 4], 8
lea eax, [ebp - 0x3b8]
mov ecx, esp
push eax
call fcn.0040a240
call fcn.00408aa0
add esp, 0x18
test al, al
je 0x4027ab
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x3ec], esp
push 7
push str.version
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.0040c560
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x220], esp
push 4
push str.BWCU
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.0040c560
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x25c]
mov ecx, esp
push eax
call fcn.0040a240
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 8
call fcn.00410520
add esp, 0x30
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x3ec], esp
push 8
push str.fileName
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.0040c560
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x220], esp
push 4
push str.BWCU
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.0040c560
sub esp, 0x18
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x25c]
mov ecx, esp
push eax
call fcn.0040a240
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 0xb
call fcn.00410520
add esp, 0x30
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x3ec], esp
push 8
push str.startApp
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.0040c560
sub esp, 0x18
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x220], esp
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 4
push str.BWCU
call fcn.0040c560
sub esp, 0x18
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x25c]
mov ecx, esp
push eax
call fcn.0040a240
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 0xe
call fcn.00410520
add esp, 0x48
xor eax, eax
mov byte [ebp - 4], 0x11
push eax
mov dword [ebp - 0x340], 0
lea ecx, [ebp - 0x340]
push 0x4354f8
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x32c], 7
mov word [ebp - 0x340], ax
call fcn.0040c560
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x358]
mov dword [ebp - 0x3ec], esp
mov ecx, esp
push eax
call fcn.0040a240
sub esp, 0x18
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x25c]
mov ecx, esp
push eax
call fcn.0040a240
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 0x12
call fcn.004095e0
lea ecx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x14
call fcn.004100c0
add esp, 0x18
mov byte [ebp - 4], 0x15
mov ecx, esp
mov dword [ebp - 0x3ec], esp
push 0xd
push str.isMajorUpdate
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.0040c560
sub esp, 0x18
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x220], esp
push 4
push str.BWCU
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.0040c560
sub esp, 0x18
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x25c]
mov ecx, esp
push eax
call fcn.0040a240
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 0x15
call fcn.00410520
add esp, 0x48
lea eax, [ebp - 0x3a0]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x238]
call fcn.0040a240
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0x19
push 0
push eax
xor bl, bl
call fcn.004195c0
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x21c]
xor esi, esi
mov dword [ebp - 0x21c], esi
push eax
push 1
push esi
push str.SoftwareMicrosoftBingWallpaperApp
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, 0x80004005
test eax, eax
je 0x4022c5
mov esi, edi
jmp 0x4022ed
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.BWCUVersion
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
cmovne esi, edi
mov eax, dword [ebp - 0x21c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x402300
push eax
call edi
test esi, esi
jne 0x402330
cmp dword [ebp - 0x224], 8
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x218]
cmovae edx, dword [ebp - 0x238]
call fcn.0040fc70
test eax, eax
movzx ebx, bl
mov eax, 1
cmovne ebx, eax
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x402374
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40236a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030e9
push edx
push ecx
call fcn.00417807
add esp, 8
test bl, bl
jne 0x40255a
sub esp, 0x18
mov dword [ebp - 0x23c], 0
lea eax, [ebp - 0x25c]
xorps xmm0, xmm0
mov ecx, esp
movq qword [ebp - 0x244], xmm0
push eax
call fcn.0040a240
lea ecx, [ebp - 0x244]
call fcn.00408460
add esp, 0x18
mov byte [ebp - 4], 0x1a
lea esi, [ebp - 0x2d4]
cmp dword [ebp - 0x2c0], 8
cmovae esi, dword [ebp - 0x2d4]
cmp dword [ebp - 0x2c4], 1
jne 0x4027ee
mov ecx, 0x43503c
mov edx, 1
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x4027ee
add ecx, 2
sub edx, 1
jne 0x4023e1
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x238]
call fcn.0040a240
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0x1b
push 0
push eax
xor bl, bl
call fcn.004195c0
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x21c]
xor esi, esi
mov dword [ebp - 0x21c], esi
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 1
push esi
push str.SoftwareMicrosoftBingWallpaperApp
push 0x80000001
call eax
test eax, eax
je 0x40245c
mov esi, 0x80004005
jmp 0x40248a
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
push 0
push str.BWAppVersion
push dword [ebp - 0x21c]
call eax
test eax, eax
mov eax, 0x80004005
cmovne esi, eax
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x402497
push eax
call edi
test esi, esi
jne 0x4024c7
cmp dword [ebp - 0x224], 8
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x218]
cmovae edx, dword [ebp - 0x238]
call fcn.0040fc70
test eax, eax
movzx ebx, bl
mov eax, 1
cmovne ebx, eax
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x40250b
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402501
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030ee
push edx
push ecx
call fcn.00417807
add esp, 8
test bl, bl
je 0x40254f
sub esp, 0xc
lea eax, [ebp - 0x244]
mov ecx, esp
push eax
call fcn.00409ee0
call fcn.00406800
mov dl, byte [ebp - 0x3ee]
mov cl, byte [ebp - 0x3ed]
call fcn.00403710
sub esp, 0xc
lea eax, [ebp - 0x25c]
mov ecx, esp
push eax
call fcn.0040a240
call fcn.00409110
add esp, 0x18
lea ecx, [ebp - 0x244]
call fcn.0040a3d0
mov edx, dword [ebp - 0x2c0]
cmp edx, 8
jb 0x40259a
mov ecx, dword [ebp - 0x2d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402590
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030f3
push edx
push ecx
call fcn.00417807
add esp, 8
mov edx, dword [ebp - 0x3d4]
xor eax, eax
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2c0], 7
mov word [ebp - 0x2d4], ax
cmp edx, 8
jb 0x4025f7
mov ecx, dword [ebp - 0x3e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4025ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030f3
push edx
push ecx
call fcn.00417807
add esp, 8
mov edx, dword [ebp - 0x314]
cmp edx, 8
jb 0x402637
mov ecx, dword [ebp - 0x328]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40262d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030f3
push edx
push ecx
call fcn.00417807
add esp, 8
mov edx, dword [ebp - 0x32c]
xor eax, eax
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 7
mov word [ebp - 0x328], ax
cmp edx, 8
jb 0x402694
mov ecx, dword [ebp - 0x340]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40268a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030f3
push edx
push ecx
call fcn.00417807
add esp, 8
mov edx, dword [ebp - 0x344]
cmp edx, 8
jb 0x4026d4
mov ecx, dword [ebp - 0x358]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4026ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030f3
push edx
push ecx
call fcn.00417807
add esp, 8
mov edx, dword [ebp - 0x374]
xor eax, eax
mov dword [ebp - 0x348], 0
mov dword [ebp - 0x344], 7
mov word [ebp - 0x358], ax
cmp edx, 8
jb 0x402731
mov ecx, dword [ebp - 0x388]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402727
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030f3
push edx
push ecx
call fcn.00417807
add esp, 8
mov edx, dword [ebp - 0x38c]
xor eax, eax
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], 7
mov word [ebp - 0x388], ax
cmp edx, 8
jb 0x40278e
mov ecx, dword [ebp - 0x3a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402784
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030f3
push edx
push ecx
call fcn.00417807
add esp, 8
xor eax, eax
mov dword [ebp - 0x390], 0
mov dword [ebp - 0x38c], 7
mov word [ebp - 0x3a0], ax
mov edx, dword [ebp - 0x3a4]
cmp edx, 8
jb 0x403091
mov ecx, dword [ebp - 0x3b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403087
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030f3
jmp 0x403087
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x268]
call fcn.00409ee0
mov byte [ebp - 4], 0x1c
xor bl, bl
mov esi, dword [ebp - 0x268]
cmp esi, dword [ebp - 0x264]
je 0x402843
sub esp, 0xc0
mov ecx, esp
push esi
call fcn.00403100
call fcn.00406ae0
add esp, 0xc0
test al, al
jne 0x402841
add esi, 0xc0
cmp esi, dword [ebp - 0x264]
jne 0x402814
jmp 0x402843
mov bl, 1
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x1a
call fcn.0040a3d0
test bl, bl
je 0x40254f
push 4
xor eax, eax
mov dword [ebp - 0x28c], 0
push str.true
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 7
mov word [ebp - 0x28c], ax
call fcn.0040c560
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x28c]
mov edx, dword [ebp - 0x278]
cmp edx, 8
mov esi, dword [ebp - 0x28c]
cmovae ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4028b2
sub ecx, ebx
lea eax, [ebp - 0x28c]
sar ecx, 1
add ecx, ecx
cmp edx, 8
push ecx
push ecx
cmovae eax, esi
push eax
push str.UpdateInProgress
call fcn.0040d540
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004195c0
add esp, 0x1c
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x21c]
xor esi, esi
mov dword [ebp - 0x21c], esi
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 1
push esi
push str.SoftwareMicrosoftDispatcher
push 0x80000001
call eax
test eax, eax
je 0x40292a
mov esi, 0x80004005
jmp 0x402958
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
push 0
push str.DataInQueueToSend
push dword [ebp - 0x21c]
call eax
test eax, eax
mov eax, 0x80004005
cmovne esi, eax
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x402965
push eax
call edi
test esi, esi
jne 0x402b98
mov ecx, str.true
lea eax, [ebp - 0x218]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40299e
test dx, dx
je 0x40299a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40299e
add eax, 4
add ecx, 4
test dx, dx
jne 0x402978
xor eax, eax
jmp 0x4029a3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x402b98
xorps xmm0, xmm0
mov dword [ebp - 0x2a8], eax
movq qword [ebp - 0x2b0], xmm0
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x2a8], eax
lea edx, [ebp - 0x2b0]
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x238]
call fcn.0040c710
xorps xmm0, xmm0
mov dword [ebp - 0x260], 0
movq qword [ebp - 0x268], xmm0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
sub esp, 0x18
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x238]
mov dword [ebp - 0x3ec], esp
mov ecx, esp
push eax
call fcn.0040a240
sub esp, 0x18
mov byte [ebp - 4], 0x21
mov ecx, esp
mov dword [ebp - 0x220], esp
push 0
push 0x4354f8
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.0040c560
sub esp, 0xc
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x268]
mov dword [ebp - 0x21c], esp
mov ecx, esp
push eax
call fcn.00409ee0
sub esp, 0xc
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x2b0]
mov ecx, esp
push eax
call fcn.00409d80
mov byte [ebp - 4], 0x20
call fcn.00406570
add esp, 0x48
lea ecx, [ebp - 0x268]
test al, al
jne 0x402b79
call fcn.0040a3d0
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x402aef
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402ae5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030f3
push edx
push ecx
call fcn.00417807
add esp, 8
xor eax, eax
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
call fcn.0040a350
mov edx, dword [ebp - 0x278]
cmp edx, 8
jb 0x402b57
mov ecx, dword [ebp - 0x28c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402b4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4030f3
push edx
push ecx
call fcn.00417807
add esp, 8
xor eax, eax
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 7
mov word [ebp - 0x28c], ax
jmp 0x40254f
call fcn.0040a3d0
lea ecx, [ebp - 0x238]
call fcn.0040c3a0
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0x1d
call fcn.0040a350
sub esp, 0x18
mov dword [ebp - 0x308], 0
lea eax, [ebp - 0x2a4]
xorps xmm0, xmm0
mov ecx, esp
movq qword [ebp - 0x310], xmm0
push eax
call fcn.0040a240
lea ecx, [ebp - 0x310]
call fcn.00407500
add esp, 0xc
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x244]
mov ecx, esp
push eax
call fcn.00409ee0
call fcn.00406800
add esp, 0xc
test al, al
je 0x402f91
push 0x4354f8
lea ecx, [ebp - 0x2ec]
call fcn.0040a150
mov esi, dword [ebp - 0x244]
mov dword [ebp - 0x21c], esi
cmp esi, dword [ebp - 0x240]
je 0x402e5b
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x3d0]
call fcn.0040a240
lea eax, [esi + 0x30]
mov byte [ebp - 4], 0x25
push eax
lea ecx, [ebp - 0x274]
call fcn.0040a240
lea edx, [ebp - 0x358]
mov byte [ebp - 4], 0x26
mov ecx, esi
call fcn.0040c300
test al, al
je 0x402c71
lea eax, [ebp - 0x3d0]
push eax
lea ecx, [ebp - 0x340]
call fcn.0040a180
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x328]
call fcn.0040a180
sub esp, 0xc0
mov ecx, esp
push esi
call fcn.00403100
call fcn.00406e80
mov ecx, esp
mov bl, al
push esi
call fcn.00403100
mov dl, bl
lea ecx, [ebp - 0x238]
call fcn.00407130
add esp, 0xc0
mov edx, 0x4354f8
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x238]
call fcn.0040a9d0
test al, al
jne 0x402e11
sub esp, 0xc0
mov ecx, esp
push esi
call fcn.00403100
call fcn.00406ae0
add esp, 0xc0
test al, al
je 0x402e11
sub esp, 8
lea ecx, [ebp - 0x2a4]
call fcn.0040c390
push eax
lea ecx, [ebp - 0x3d0]
call fcn.0040c390
push eax
lea ecx, [ebp - 0x238]
call fcn.0040c390
mov edx, eax
lea ecx, [ebp - 0x2bc]
call fcn.0040e5c0
add esp, 0x10
mov edx, 0x4354f8
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x304]
call fcn.0040a980
test al, al
je 0x402d3c
push 0x4350e4
lea ecx, [ebp - 0x304]
call fcn.0040a060
sub esp, 0x18
lea eax, [ebp - 0x2bc]
mov ecx, esp
push eax
call fcn.0040a240
lea ecx, [ebp - 0x43c]
call fcn.0040fd50
mov edi, eax
push 0x4350e8
mov edx, esi
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x424]
call fcn.0040aae0
push edi
mov edx, eax
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x40c]
call fcn.0040a8a0
add esp, 0x20
push eax
lea ecx, [ebp - 0x304]
mov byte [ebp - 4], 0x2b
call fcn.0040a0e0
lea ecx, [ebp - 0x40c]
call fcn.0040c3a0
lea ecx, [ebp - 0x424]
call fcn.0040c3a0
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 0x28
call fcn.0040c3a0
mov edx, 0x4354f8
lea ecx, [ebp - 0x2bc]
call fcn.0040a9d0
test al, al
je 0x402df5
push 0x4350ec
lea ecx, [ebp - 0x2ec]
call fcn.0040a150
push 0x435040
lea ecx, [ebp - 0x370]
call fcn.0040a150
mov eax, 0x4350f0
jmp 0x402dfa
mov eax, 0x4350f8
push eax
lea ecx, [ebp - 0x304]
call fcn.0040a060
lea ecx, [ebp - 0x2bc]
call fcn.0040c3a0
lea ecx, [ebp - 0x238]
call fcn.0040c3a0
lea ecx, [ebp - 0x274]
call fcn.0040c3a0
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 4], 0x24
call fcn.0040c3a0
push ecx
lea eax, [ebp - 0x3ec]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00409d50
mov esi, dword [ebp - 0x21c]
cmp esi, dword [ebp - 0x240]
jne 0x402c16
sub esp, 0x18
lea eax, [ebp - 0x2a4]
mov ecx, esp
mov dword [ebp - 0x3f4], esp
push eax
call fcn.0040a240
sub esp, 0x18
mov byte [ebp - 4], 0x2c
lea eax, [ebp - 0x388]
mov dword [ebp - 0x3ec], esp
mov ecx, esp
push eax
call fcn.0040a240
sub esp, 0xc
mov byte [ebp - 4], 0x2d
lea eax, [ebp - 0x244]
mov dword [ebp - 0x220], esp
mov ecx, esp
push eax
call fcn.00409ee0
sub esp, 0xc
mov byte [ebp - 4], 0x2e
lea eax, [ebp - 0x310]
mov ecx, esp
push eax
call fcn.00409d80
mov byte [ebp - 4], 0x24
call fcn.00406570
add esp, 0x48
lea ecx, [ebp - 0x370]
mov edx, 0x435040
call fcn.0040a980
test al, al
je 0x402f2c
push str.false
lea ecx, [ebp - 0x28c]
call fcn.0040a150
lea ecx, [ebp - 0x28c]
call fcn.0040c390
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402f00
sub eax, edx
sar eax, 1
push ecx
add eax, eax
lea ecx, [ebp - 0x28c]
push eax
call fcn.0040c390
push eax
push str.UpdateInProgress
call fcn.0040d540
add esp, 0x10
cmp byte [ebp - 0x3ed], 0
jne 0x402f3e
cmp byte [ebp - 0x3ee], 0
je 0x402f91
sub esp, 0x18
lea eax, [ebp - 0x328]
mov ecx, esp
mov dword [ebp - 0x3f4], esp
push eax
call fcn.0040a240
sub esp, 0x18
mov byte [ebp - 4], 0x2f
lea eax, [ebp - 0x340]
mov dword [ebp - 0x3ec], esp
mov ecx, esp
push eax
call fcn.0040a240
sub esp, 0x18
mov byte [ebp - 4], 0x30
lea eax, [ebp - 0x358]
mov ecx, esp
push eax
call fcn.0040a240
mov byte [ebp - 4], 0x24
call fcn.00408d00
add esp, 0x48
lea ecx, [ebp - 0x310]
call fcn.0040a350
lea ecx, [ebp - 0x28c]
call fcn.0040c3a0
lea ecx, [ebp - 0x244]
call fcn.0040a3d0
lea ecx, [ebp - 0x2d4]
call fcn.0040c3a0
lea ecx, [ebp - 0x3e8]
call fcn.0040c3a0
lea ecx, [ebp - 0x328]
call fcn.0040c3a0
lea ecx, [ebp - 0x340]
call fcn.0040c3a0
lea ecx, [ebp - 0x358]
call fcn.0040c3a0
lea ecx, [ebp - 0x388]
call fcn.0040c3a0
lea ecx, [ebp - 0x3a0]
call fcn.0040c3a0
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 5
call fcn.0040c3a0
mov edx, 0x4354f8
lea ecx, [ebp - 0x2ec]
call fcn.0040a980
test al, al
je 0x403032
push 0x435040
lea ecx, [ebp - 0x370]
call fcn.0040a150
sub esp, 0x18
lea eax, [ebp - 0x2ec]
mov ecx, esp
mov dword [ebp - 0x3f4], esp
push eax
call fcn.0040a240
sub esp, 0x18
mov byte [ebp - 4], 0x31
lea eax, [ebp - 0x370]
mov dword [ebp - 0x3ec], esp
mov ecx, esp
push eax
call fcn.0040a240
sub esp, 0x18
mov byte [ebp - 4], 0x32
lea eax, [ebp - 0x304]
mov ecx, esp
push eax
call fcn.0040a240
mov byte [ebp - 4], 5
call fcn.004037c0
add esp, 0x48
jmp 0x403091
push edx
push ecx
call fcn.00417807
add esp, 8
lea ecx, [ebp - 0x25c]
call fcn.0040c3a0
lea ecx, [ebp - 0x2a4]
call fcn.0040c3a0
lea ecx, [ebp - 0x2ec]
call fcn.0040c3a0
lea ecx, [ebp - 0x370]
call fcn.0040c3a0
lea ecx, [ebp - 0x304]
call fcn.0040c3a0
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.004177f9
mov esp, ebp
pop ebp
ret
call fcn.0041af8c
call fcn.0041af8c
call fcn.0041af8c
call fcn.0041af8c
int3