Function at 0x404da0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ef06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c4
mov eax, dword [0x43e370]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
push 0x3e9
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x11c], edi
call fcn.0042360b
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x128], eax
mov eax, dword [ebx]
push ebx
mov dword [ebp - 0x118], edi
call dword [eax + 0x64]
mov edx, dword [ebp - 0x118]
push str.element
push edx
mov dword [ebp - 0x158], 1
call fcn.00412289
add esp, 8
test eax, eax
jne 0x405dc9
mov eax, dword [ebx]
lea ecx, [ebp - 0x118]
push ecx
push ebx
call dword [eax + 0x1c]
mov edx, dword [ebp - 0x118]
push edx
lea ecx, [ebp - 0x138]
call fcn.00404bd0
mov eax, dword [eax]
push str.file
push eax
call fcn.004118ad
mov edx, dword [ebp - 0x138]
add esp, 8
neg eax
sbb al, al
inc al
add edx, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 0x11d], al
lea ecx, [edx + 0xc]
mov esi, edi
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x404e91
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov al, byte [ebp - 0x11d]
test al, al
je 0x405bb5
mov ecx, dword [ebx]
lea edx, [ebp - 0x124]
push edx
xor esi, esi
push ebx
mov dword [ebp - 0x124], esi
call dword [ecx + 0x58]
cmp eax, esi
jge 0x404ebe
push 0x430bf0
push ebx
push eax
call fcn.0041eeb0
cmp word [ebp - 0x124], si
je 0x405e49
push 0x30
call fcn.004234ba
add esp, 4
mov dword [ebp - 0x12c], eax
cmp eax, esi
mov dword [ebp - 4], esi
je 0x404eed
mov ecx, eax
call fcn.00403c00
mov esi, eax
jmp 0x404eef
xor esi, esi
mov eax, dword [ebx]
lea ecx, [ebp - 0x13c]
push ecx
push ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x134], esi
call dword [eax + 0x30]
mov dword [ebp - 0x130], 0
nop
mov eax, dword [ebp - 0x13c]
mov edx, dword [eax]
lea ecx, [ebp - 0x124]
push ecx
push eax
mov ebx, eax
mov dword [ebp - 0x124], 0
call dword [edx + 0x20]
test eax, eax
jge 0x404f3f
push 0x430c00
push ebx
push eax
call fcn.0041eeb0
mov ecx, dword [ebp - 0x130]
cmp ecx, dword [ebp - 0x124]
jge 0x405647
mov eax, dword [ebp - 0x13c]
mov edx, dword [eax]
lea ebx, [ebp - 0x11c]
push ebx
push ecx
push eax
call dword [edx + 0x1c]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
lea edx, [ebp - 0x118]
push edx
push eax
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x118]
push str.element
push eax
call fcn.00412289
add esp, 8
test eax, eax
jne 0x40563c
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
lea edx, [ebp - 0x118]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x14c]
call fcn.00404bd0
mov eax, dword [eax]
push str.fileid
push eax
call fcn.004118ad
mov ebx, eax
mov eax, dword [ebp - 0x14c]
add esp, 8
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404ff0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x405059
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
lea edx, [ebp - 0x118]
push edx
push eax
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x140]
call fcn.00404bd0
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00401f00
mov eax, dword [ebp - 0x140]
add eax, 0xfffffff0
mov dword [ebp - 4], edi
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40563c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc dword [ebp - 0x130]
jmp 0x404f10
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x148]
call fcn.00404bd0
mov eax, dword [eax]
push str.title
push eax
call fcn.004118ad
mov ebx, eax
mov eax, dword [ebp - 0x148]
add esp, 8
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4050a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x40510c
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
lea edx, [ebp - 0x118]
push edx
push eax
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x1ac]
call fcn.00404bd0
lea ecx, [esi + 4]
push eax
mov dword [ebp - 4], 2
call fcn.00401f00
mov eax, dword [ebp - 0x1ac]
add eax, 0xfffffff0
mov dword [ebp - 4], edi
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40563c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc dword [ebp - 0x130]
jmp 0x404f10
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x180]
call fcn.00404bd0
mov eax, dword [eax]
push str.filename
push eax
call fcn.004118ad
mov ebx, eax
mov eax, dword [ebp - 0x180]
add esp, 8
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405155
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x4051a7
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
lea edx, [ebp - 0x118]
push edx
push eax
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x188]
call fcn.00404bd0
lea ecx, [esi + 8]
push eax
mov dword [ebp - 4], 3
call fcn.00401f00
lea ecx, [ebp - 0x188]
mov dword [ebp - 4], edi
call fcn.004014e0
inc dword [ebp - 0x130]
jmp 0x404f10
mov ecx, dword [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x190]
call fcn.00404bd0
push str.sourcepath
push eax
call fcn.00404730
add esp, 8
lea ecx, [ebp - 0x190]
mov bl, al
call fcn.004014e0
test bl, bl
je 0x405226
mov eax, dword [ebp - 0x11c]
mov edx, dword [eax]
lea ecx, [ebp - 0x118]
push ecx
push eax
call dword [edx + 0x68]
mov edx, dword [ebp - 0x118]
push edx
lea ecx, [ebp - 0x198]
call fcn.00404bd0
push eax
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 4
call fcn.004021d0
lea ecx, [ebp - 0x198]
mov dword [ebp - 4], edi
call fcn.004014e0
inc dword [ebp - 0x130]
jmp 0x404f10
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.00404bd0
push str.destinationpath
push eax
call fcn.00404730
add esp, 8
lea ecx, [ebp - 0x1a0]
mov bl, al
call fcn.004014e0
test bl, bl
je 0x4052a5
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
lea edx, [ebp - 0x118]
push edx
push eax
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x16c]
call fcn.00404bd0
push eax
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 5
call fcn.004021d0
lea ecx, [ebp - 0x16c]
mov dword [ebp - 4], edi
call fcn.004014e0
inc dword [ebp - 0x130]
jmp 0x404f10
mov ecx, dword [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x174]
call fcn.00404bd0
push str.version
push eax
call fcn.00404730
add esp, 8
lea ecx, [ebp - 0x174]
mov bl, al
call fcn.004014e0
test bl, bl
je 0x405324
mov eax, dword [ebp - 0x11c]
mov edx, dword [eax]
lea ecx, [ebp - 0x118]
push ecx
push eax
call dword [edx + 0x68]
mov edx, dword [ebp - 0x118]
push edx
lea ecx, [ebp - 0x1a8]
call fcn.00404bd0
push eax
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 6
call fcn.004021d0
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 4], edi
call fcn.004014e0
inc dword [ebp - 0x130]
jmp 0x404f10
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x17c]
call fcn.00404bd0
push str.filesize
push eax
call fcn.00404730
add esp, 8
lea ecx, [ebp - 0x17c]
mov bl, al
call fcn.004014e0
test bl, bl
je 0x4053af
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
lea edx, [ebp - 0x118]
push edx
push eax
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x19c]
call fcn.00404bd0
push 0
mov ecx, eax
mov dword [ebp - 4], 7
call fcn.00401500
push eax
call fcn.00412284
add esp, 4
lea ecx, [ebp - 0x19c]
mov dword [esi + 0x2c], eax
mov dword [ebp - 4], edi
call fcn.004014e0
inc dword [ebp - 0x130]
jmp 0x404f10
mov ecx, dword [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x184]
call fcn.00404bd0
push str.date
push eax
call fcn.00404730
add esp, 8
lea ecx, [ebp - 0x184]
mov bl, al
call fcn.004014e0
test bl, bl
je 0x40543a
mov eax, dword [ebp - 0x11c]
mov edx, dword [eax]
lea ecx, [ebp - 0x118]
push ecx
push eax
call dword [edx + 0x68]
mov edx, dword [ebp - 0x118]
push edx
lea ecx, [ebp - 0x1b0]
call fcn.00404bd0
push 0
mov ecx, eax
mov dword [ebp - 4], 8
call fcn.00401500
push eax
call fcn.00412284
add esp, 4
lea ecx, [ebp - 0x1b0]
mov dword [esi + 0x28], eax
mov dword [ebp - 4], edi
call fcn.004014e0
inc dword [ebp - 0x130]
jmp 0x404f10
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x18c]
call fcn.00404bd0
push str.checksum
push eax
call fcn.00404730
add esp, 8
lea ecx, [ebp - 0x18c]
mov bl, al
call fcn.004014e0
test bl, bl
je 0x4054b9
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
lea edx, [ebp - 0x118]
push edx
push eax
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.00404bd0
push eax
lea ecx, [esi + 0x14]
mov dword [ebp - 4], 9
call fcn.004021d0
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 4], edi
call fcn.004014e0
inc dword [ebp - 0x130]
jmp 0x404f10
mov ecx, dword [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x194]
call fcn.00404bd0
push str.description
push eax
call fcn.00404730
add esp, 8
lea ecx, [ebp - 0x194]
mov bl, al
call fcn.004014e0
test bl, bl
je 0x405538
mov eax, dword [ebp - 0x11c]
mov edx, dword [eax]
lea ecx, [ebp - 0x118]
push ecx
push eax
call dword [edx + 0x68]
mov edx, dword [ebp - 0x118]
push edx
lea ecx, [ebp - 0x170]
call fcn.00404bd0
push eax
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], 0xa
call fcn.004021d0
lea ecx, [ebp - 0x170]
mov dword [ebp - 4], edi
call fcn.004014e0
inc dword [ebp - 0x130]
jmp 0x404f10
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x178]
call fcn.00404bd0
push str.compressed
push eax
call fcn.00404730
add esp, 8
lea ecx, [ebp - 0x178]
mov bl, al
call fcn.004014e0
test bl, bl
je 0x4055c3
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
lea edx, [ebp - 0x118]
push edx
push eax
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x154]
call fcn.00404bd0
push 0x430de0
push eax
call fcn.00404730
add esp, 8
lea ecx, [ebp - 0x154]
mov bl, al
call fcn.004014e0
mov eax, dword [ebp - 0x130]
test bl, bl
setne cl
inc eax
mov byte [esi + 0x21], cl
mov dword [ebp - 0x130], eax
jmp 0x404f10
mov edx, dword [ebp - 0x118]
push edx
lea ecx, [ebp - 0x144]
call fcn.00404bd0
push str.beta
push eax
call fcn.00404730
add esp, 8
lea ecx, [ebp - 0x144]
mov bl, al
call fcn.004014e0
test bl, bl
je 0x40563c
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
lea edx, [ebp - 0x118]
push edx
push eax
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00404bd0
push 0x430de0
push eax
call fcn.00404730
add esp, 8
lea ecx, [ebp - 0x12c]
mov bl, al
call fcn.004014e0
test bl, bl
setne cl
mov byte [esi + 0x20], cl
inc dword [ebp - 0x130]
jmp 0x404f10
call fcn.00424324
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0x168]
mov dword [ebp - 4], 0xb
call fcn.00425032
mov byte [ebp - 4], 0xc
call fcn.00424324
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 0xd
call fcn.00424324
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x130], eax
xor eax, eax
mov ecx, 0x40
lea edi, [ebp - 0x114]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x138], 0
mov eax, dword [esi + 0x10]
lea edi, [esi + 0x10]
push 0x430896
push eax
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x154], 0x100
call fcn.004118ad
add esp, 8
test eax, eax
je 0x405728
push 0x430894
lea eax, [ebp - 0x12c]
push edi
push eax
call fcn.00402040
add esp, 0xc
push eax
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xf
call fcn.00401f00
mov eax, dword [ebp - 0x12c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405728
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.00401e70
mov eax, dword [ebp - 0x130]
push 0
push 0x8020
push eax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x10
call fcn.004252ca
cmp dword [ebp - 0x164], 0xffffffff
je 0x4057b6
lea ecx, [ebp - 0x168]
push ecx
lea edx, [ebp - 0x12c]
push edx
call fcn.004071f0
add esp, 8
push eax
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x11
call fcn.00401f00
mov eax, dword [ebp - 0x12c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4057ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [ebp - 0x168]
call fcn.00424fd0
mov eax, dword [esi + 0x14]
push eax
mov eax, dword [ebp - 0x140]
push eax
call fcn.004118ad
add esp, 8
test eax, eax
jne 0x405802
mov eax, dword [esi + 0x18]
lea edi, [esi + 0x18]
mov esi, dword [eax - 4]
sub eax, 0x10
mov eax, dword [eax + 8]
mov ecx, 1
sub ecx, esi
or eax, ecx
jge 0x4057f0
push 0
mov ecx, edi
call fcn.00401490
mov ecx, dword [edi]
lea edx, [ebp - 0x114]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4057f8
mov esi, dword [ebp - 0x134]
mov ecx, dword [esi + 0x2c]
shr ecx, 0xa
push ecx
lea edx, [ebp - 0x124]
push 0x430898
push edx
mov dword [ebp - 4], 0xe
call fcn.00401f70
add esp, 0xc
call fcn.00424324
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x148], eax
lea ebx, [esi + 0x28]
push ebx
mov byte [ebp - 4], 0x13
call fcn.0041207c
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push ecx
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 0x14]
push ecx
mov ecx, dword [eax + 0xc]
add edx, 0x76c
push edx
mov edx, dword [eax + 0x10]
push ecx
inc edx
push edx
lea eax, [ebp - 0x148]
push str._02d__02d__04d__02d:_02d:_02d
push eax
call fcn.00401f70
add esp, 0x24
call fcn.00424324
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x134], eax
push 0x14
push str.SoftwareHLSWUpdate
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0x14
call fcn.00401600
push 0x430894
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x144]
push ecx
call fcn.00402040
add esp, 0xc
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax - 4]
sub eax, 0x10
mov eax, dword [eax + 8]
mov ecx, 1
sub ecx, edx
or eax, ecx
mov byte [ebp - 4], 0x15
jge 0x4058e9
push 0
mov ecx, esi
call fcn.00401490
mov eax, dword [esi]
push eax
lea edx, [ebp - 0x12c]
push edi
push edx
call fcn.00402040
mov eax, dword [eax]
mov edi, dword [ebp - 0x150]
add esp, 0xc
lea ecx, [ebp - 0x14c]
push ecx
push 0x2001f
push 0
push eax
push SysReAllocStringLen
add edi, 0x1f0
mov dword [ebp - 0x14c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40594f
mov ecx, dword [edi]
test ecx, ecx
je 0x405945
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi], 0
mov edx, dword [ebp - 0x14c]
mov dword [edi], edx
test eax, eax
mov eax, dword [ebp - 0x12c]
sete byte [ebp - 0x11d]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405976
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x144]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40599a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [ebp - 0x11d]
test al, al
je 0x405a00
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x114]
push ecx
push str.Version
mov ecx, edi
call fcn.00404180
lea edx, [ebp - 0x12c]
push edx
mov edx, dword [edi]
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x144]
push ecx
push 0
push str.LastUpdate
push edx
mov dword [ebp - 0x12c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [edi]
test eax, eax
je 0x405a00
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi], 0
mov eax, dword [esi + 0x18]
lea ecx, [ebp - 0x114]
push ecx
push eax
call fcn.004118ad
add esp, 8
test eax, eax
je 0x405ae4
mov edx, dword [ebx]
cmp edx, dword [ebp - 0x138]
jbe 0x405ae4
mov edi, dword [ebp - 0x128]
mov eax, dword [edi + 0x1c]
mov ebx, dword [esi + 4]
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0
push 0
push ebx
push eax
push 1
mov ecx, edi
call fcn.0041f61f
mov ebx, eax
mov eax, dword [esi + 0x18]
push eax
push 1
push ebx
mov ecx, edi
call fcn.0041f58e
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405a71
sub eax, edx
mov dword [ebp - 0x128], eax
je 0x405a9c
lea ecx, [ebp - 0x114]
push ecx
jmp 0x405aa1
push str.Unknown
push 2
mov ecx, edi
push ebx
call fcn.0041f58e
mov edx, dword [ebp - 0x124]
push edx
push 3
push ebx
mov ecx, edi
call fcn.0041f58e
mov eax, dword [ebp - 0x148]
push eax
push 4
push ebx
mov ecx, edi
call fcn.0041f58e
push esi
push 0
push 0
push 0
push 0
push 4
push 0
push ebx
mov ecx, edi
call fcn.0041f66b
jmp 0x405af4
mov ecx, esi
call fcn.00403ca0
push esi
call fcn.004234e5
add esp, 4
mov eax, dword [ebp - 0x134]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x13
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x148]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x130]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x140]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0xb
call fcn.00425071
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x405e3f
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x128]
call fcn.00404bd0
mov eax, dword [eax]
push str.mirror
push eax
call fcn.004118ad
mov ebx, eax
mov eax, dword [ebp - 0x128]
add esp, 8
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x405bfc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
jne 0x405e49
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x128]
call fcn.00404bd0
mov eax, dword [eax]
push str.updatefile
push eax
call fcn.004118ad
mov ebx, eax
mov eax, dword [ebp - 0x128]
add esp, 8
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x405e49
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push str.version
lea ecx, [ebp - 0x124]
mov dword [ebp - 4], 0x16
call fcn.00404540
mov edi, dword [ebp - 0x124]
test edi, edi
push ecx
mov eax, esp
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x128], esp
mov dword [eax], edi
je 0x405c9d
lea ecx, [edi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x1c0]
push edx
call fcn.00404b20
push eax
lea eax, [ebp - 0x168]
push eax
mov byte [ebp - 4], 0x19
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x405cc8
push eax
call fcn.0041eea0
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x1c0]
push ecx
mov byte [ebp - 4], 0x18
call ebx
test eax, eax
jge 0x405ce5
push eax
call fcn.0041eea0
cmp word [ebp - 0x168], 1
je 0x405d9b
lea edx, [ebp - 0x168]
push edx
lea ecx, [ebp - 0x128]
call fcn.00404a60
push 0
mov ecx, eax
mov byte [ebp - 4], 0x1a
call fcn.00401500
push eax
call fcn.00412284
add esp, 4
lea ecx, [ebp - 0x128]
mov esi, eax
mov byte [ebp - 4], 0x18
call fcn.004014e0
cmp esi, 0xf
jle 0x405d9b
mov eax, dword [ebp - 0x150]
test eax, eax
je 0x405d3e
mov eax, dword [eax + 0x1c]
push 0
push 0
push 0
push 0
push eax
push 0x403560
call fcn.00424cbe
lea ecx, [ebp - 0x124]
call fcn.00404b00
lea eax, [ebp - 0x168]
push eax
mov dword [ebp - 4], 0xffffffff
call ebx
test eax, eax
jge 0x405d76
push eax
call fcn.0041eea0
or eax, 0xffffffff
jmp 0x405ef3
test edi, edi
je 0x405da6
mov ecx, edi
call fcn.00404750
lea ecx, [ebp - 0x168]
push ecx
mov dword [ebp - 4], 0xffffffff
call ebx
test eax, eax
jge 0x405e49
push eax
call fcn.0041eea0
jmp 0x405e49
mov edx, dword [ebp - 0x118]
push str.text
push edx
call fcn.00412289
add esp, 8
test eax, eax
jne 0x405df0
mov eax, dword [ebx]
lea ecx, [ebp - 0x118]
push ecx
push ebx
call dword [eax + 0x68]
jmp 0x405e49
mov edx, dword [ebx]
lea eax, [ebp - 0x118]
push eax
push ebx
call dword [edx + 0x1c]
mov ecx, dword [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x128]
call fcn.00404bd0
mov eax, dword [eax]
push edi
push edi
push eax
mov ecx, esi
mov dword [ebp - 4], 0x1c
call fcn.00420ddf
mov eax, dword [ebp - 0x128]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405e49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0x138]
push ecx
push esi
mov dword [ebp - 0x138], 0
call dword [eax + 0x58]
test eax, eax
jge 0x405e73
push 0x430bf0
push esi
push eax
call fcn.0041eeb0
cmp word [ebp - 0x138], 0
je 0x405eeb
mov edx, dword [esi]
lea eax, [ebp - 0x13c]
push eax
push esi
call dword [edx + 0x30]
mov ebx, dword [ebp - 0x158]
xor esi, esi
mov eax, dword [ebp - 0x13c]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
mov edi, eax
mov dword [ebp + 8], 0
call dword [ecx + 0x20]
test eax, eax
jge 0x405ebb
push 0x430c00
push edi
push eax
call fcn.0041eeb0
cmp esi, dword [ebp + 8]
jge 0x405ef1
mov eax, dword [ebp - 0x13c]
mov ecx, dword [eax]
lea edx, [ebp - 0x11c]
push edx
push esi
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x150]
push eax
call fcn.00404da0
add ebx, eax
inc esi
jmp 0x405e92
mov ebx, dword [ebp - 0x158]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00411557
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4