Function at 0x43af40
Capabilities:
Get file version info
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da043
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x65bfd4]
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 dword [ebp - 0x260], ecx
mov byte [ebp - 0x229], 0
call fcn.0040cb60
mov ecx, eax
test ecx, ecx
je 0x43b7ab
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b7b5
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
lea esi, [eax + 0x10]
mov dword [ebp - 0x248], esi
mov eax, 0x626078
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, 0xffff0000
jne 0x43afdd
movzx eax, ax
lea ecx, [ebp - 0x248]
push eax
call fcn.0040d3d0
mov esi, dword [ebp - 0x248]
jmp 0x43b062
cmp dword [esi - 0xc], 0
lea ecx, [esi - 0x10]
mov edi, dword [ecx]
je 0x43b062
cmp dword [ecx + 0xc], 0
lea edx, [ecx + 0xc]
jge 0x43b009
cmp dword [esi - 8], 0
jl 0x43b7bc
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x43b062
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x43b042
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b7c6
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b7c6
push 0
push dword [edx + 4]
call ebx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b7cf
lock inc dword [edi + 0x14]
lea eax, [edi + 8]
lea esi, [eax + 0x10]
mov dword [ebp - 0x248], esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
push 0x20019
push str.SOFTWAREClasses.pdf
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 3
call fcn.0042fb10
test eax, eax
jne 0x43b5d1
mov edi, dword [ebp - 0x258]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x238]
push eax
push 0
lea eax, [ebp - 0x230]
push eax
push 0
push 0x626078
push edi
call ebx
test eax, eax
jne 0x43b5cb
mov eax, dword [ebp - 0x230]
cmp eax, 1
je 0x43b117
cmp eax, 2
jne 0x43b5cb
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x244]
shr eax, 1
mov dword [ebp - 0x234], eax
inc eax
push ecx
push eax
call fcn.0042f8f0
push dword [ebp - 0x240]
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x230], 0
push dword [ebp - 0x244]
call fcn.0043b9a0
add esp, 8
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x258]
push eax
push dword [ebp - 0x244]
push 0x626078
call fcn.0042fc10
test eax, eax
jne 0x43b5cb
test edi, edi
je 0x43b191
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x254], 0
call fcn.0040ede0
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 4
call fcn.004079ab
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x228]
push dword [ebp - 0x234]
push dword [ebp - 0x244]
call fcn.004076d0
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
lea eax, [ebp - 0x25c]
push str.SOFTWAREClasses_s_shellOpencommand
push eax
call fcn.0043b8e0
mov edi, dword [ebp - 0x25c]
lea ecx, [ebp - 0x258]
add esp, 0xc
push 0x20019
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0042fb10
test eax, eax
jne 0x43b573
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x238]
push eax
push 0
lea eax, [ebp - 0x230]
push eax
push 0
push 0x626078
push dword [ebp - 0x258]
call ebx
test eax, eax
jne 0x43b573
mov eax, dword [ebp - 0x230]
cmp eax, 1
je 0x43b25e
cmp eax, 2
jne 0x43b573
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x244]
shr eax, 1
push ecx
push eax
mov dword [ebp - 0x234], eax
call fcn.0042f8f0
push dword [ebp - 0x240]
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x230], 0
push dword [ebp - 0x244]
call fcn.0043b9a0
add esp, 8
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x258]
push eax
push dword [ebp - 0x244]
push 0x626078
call fcn.0042fc10
test eax, eax
jne 0x43b573
push dword [ebp - 0x244]
lea ecx, [ebp - 0x234]
call fcn.0040d310
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 6
push eax
push 0x626808
lea eax, [ebp - 0x238]
mov dword [ebp - 0x230], 1
push eax
lea ecx, [ebp - 0x234]
call fcn.00416370
mov byte [ebp - 4], 7
mov ecx, dword [eax]
mov ebx, dword [ebp - 0x234]
add ebx, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x43b3a6
cmp dword [ebx + 0xc], 0
jl 0x43b397
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x43b397
push edx
call fcn.0040222e
add esp, 4
mov dword [ebp - 0x230], eax
or ecx, 0xffffffff
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43b386
mov edx, dword [ebx]
push ebx
mov ecx, dword [edx]
mov eax, dword [ecx + 4]
cmp ecx, vtable.ATL::CAtlStringMgr.0
jne 0x43b7ee
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b7d8
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x230]
add eax, 0x10
mov dword [ebp - 0x234], eax
jmp 0x43b3a6
mov eax, dword [ebp - 0x230]
add eax, 0x10
mov dword [ebp - 0x234], eax
jmp 0x43b3a6
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x234]
call fcn.004020e5
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov ecx, dword [ebp - 0x238]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43b3f1
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b7f7
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b7f7
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x234]
cmp dword [eax - 0xc], 0
je 0x43b524
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x26c], eax
test eax, eax
je 0x43b524
push eax
call fcn.005b5958
mov ebx, eax
add esp, 4
mov dword [ebp - 0x238], ebx
test ebx, ebx
je 0x43b524
push ebx
push dword [ebp - 0x26c]
push dword [ebp - 0x264]
push dword [ebp - 0x234]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x43b459
push ebx
jmp 0x43b51c
lea eax, [ebp - 0x230]
mov dword [ebp - 0x24c], 0
push eax
lea eax, [ebp - 0x24c]
push eax
push 0x62c0b4
push ebx
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
call ebx
mov ecx, dword [ebp - 0x24c]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x210]
push str.StringFileInfo_04x_04xProductName
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x238]
call ebx
test eax, eax
je 0x43b516
cmp dword [ebp - 0x230], 0
jbe 0x43b516
mov edx, dword [ebp - 0x24c]
test edx, edx
jne 0x43b4db
xor ecx, ecx
jmp 0x43b4ef
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b4e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.004020e5
push dword [ebp - 0x238]
call fcn.005b3341
mov esi, dword [ebp - 0x248]
mov byte [ebp - 0x229], 1
jmp 0x43b521
push dword [ebp - 0x238]
call fcn.005b3341
add esp, 4
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43b573
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b800
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b800
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [edx + 4]
call ebx
jmp 0x43b579
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 4
call fcn.00407500
mov byte [ebp - 4], 3
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43b5d1
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b809
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b809
push 0
push dword [ecx + 4]
call ebx
jmp 0x43b5d1
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, byte [ebp - 0x229]
mov byte [ebp - 0x268], al
call fcn.0040cb60
mov ecx, eax
test ecx, ecx
je 0x43b810
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b81a
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0x264], eax
cmp byte [ebp - 0x229], 0
mov edx, 0x62f994
mov eax, 0x6270f8
mov byte [ebp - 4], 8
cmove edx, eax
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b630
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x264]
call fcn.004020e5
mov edi, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x260]
push edi
push 0
push 0x1174f
mov ecx, dword [ecx]
call fcn.00417de0
mov byte [ebp - 4], 9
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43b6a8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b821
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b821
push 0
push dword [ecx + 4]
call ebx
mov eax, dword [ebp - 0x260]
push esi
push 0
mov byte [ebp - 4], 3
mov ecx, dword [eax]
push 0x11750
call fcn.00417de0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x43b6e0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x258], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x244]
mov dword [ebp - 0x254], 0
test ecx, ecx
je 0x43b74b
mov eax, dword [ebp - 0x23c]
sub eax, ecx
sar eax, 1
lea edx, [eax + eax]
mov eax, ecx
cmp edx, 0x1000
jb 0x43b723
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b828
push edx
push ecx
call fcn.005a9369
add esp, 8
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43b78f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b82d
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b82d
push 0
push dword [ecx + 4]
call ebx
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.005a909b
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004022df
call edx
jmp 0x43afa1
push 0x80070057
call fcn.004022df
mov ecx, edx
call esi
jmp 0x43b042
mov ecx, edi
call edx
jmp 0x43b059
call edx
mov eax, dword [ebp - 0x230]
add eax, 0x10
mov dword [ebp - 0x234], eax
jmp 0x43b3a6
mov ecx, edx
call eax
jmp 0x43b386
mov ecx, edx
call ebx
jmp 0x43b3f1
mov ecx, edx
call ebx
jmp 0x43b573
call edx
jmp 0x43b5d1
push 0x80004005
call fcn.004022df
call edx
jmp 0x43b603
call edx
jmp 0x43b6a8
call fcn.005b06b9
call edx
jmp 0x43b78f