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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8a43
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x659fd4]
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.0040cce6
mov ecx, eax
test ecx, ecx
je 0x43b50b
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b515
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
lea esi, [eax + 0x10]
mov dword [ebp - 0x248], esi
mov eax, 0x624ff8
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, 0xffff0000
jne 0x43ad3d
movzx eax, ax
lea ecx, [ebp - 0x248]
push eax
call fcn.0040d540
mov esi, dword [ebp - 0x248]
jmp 0x43adc2
cmp dword [esi - 0xc], 0
lea ecx, [esi - 0x10]
mov edi, dword [ecx]
je 0x43adc2
cmp dword [ecx + 0xc], 0
lea edx, [ecx + 0xc]
jge 0x43ad69
cmp dword [esi - 8], 0
jl 0x43b51c
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x43adc2
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x43ada2
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b526
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b526
push 0
push dword [edx + 4]
call ebx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b52f
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.0042f890
test eax, eax
jne 0x43b331
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 0x624ff8
push edi
call ebx
test eax, eax
jne 0x43b32b
mov eax, dword [ebp - 0x230]
cmp eax, 1
je 0x43ae77
cmp eax, 2
jne 0x43b32b
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.0042f670
push dword [ebp - 0x240]
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x230], 0
push dword [ebp - 0x244]
call fcn.0043b700
add esp, 8
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x258]
push eax
push dword [ebp - 0x244]
push 0x624ff8
call fcn.0042f990
test eax, eax
jne 0x43b32b
test edi, edi
je 0x43aef1
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.0040ef50
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 4
call fcn.00407bea
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x228]
push dword [ebp - 0x234]
push dword [ebp - 0x244]
call fcn.0040799f
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.0043b640
mov edi, dword [ebp - 0x25c]
lea ecx, [ebp - 0x258]
add esp, 0xc
push 0x20019
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0042f890
test eax, eax
jne 0x43b2d3
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x238]
push eax
push 0
lea eax, [ebp - 0x230]
push eax
push 0
push 0x624ff8
push dword [ebp - 0x258]
call ebx
test eax, eax
jne 0x43b2d3
mov eax, dword [ebp - 0x230]
cmp eax, 1
je 0x43afbe
cmp eax, 2
jne 0x43b2d3
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x244]
shr eax, 1
push ecx
push eax
mov dword [ebp - 0x234], eax
call fcn.0042f670
push dword [ebp - 0x240]
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x230], 0
push dword [ebp - 0x244]
call fcn.0043b700
add esp, 8
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x258]
push eax
push dword [ebp - 0x244]
push 0x624ff8
call fcn.0042f990
test eax, eax
jne 0x43b2d3
push dword [ebp - 0x244]
lea ecx, [ebp - 0x234]
call fcn.0040d480
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 6
push eax
push 0x62b2b0
lea eax, [ebp - 0x238]
mov dword [ebp - 0x230], 1
push eax
lea ecx, [ebp - 0x234]
call fcn.00416410
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 0x43b106
cmp dword [ebx + 0xc], 0
jl 0x43b0f7
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x43b0f7
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 0x43b0e6
mov edx, dword [ebx]
push ebx
mov ecx, dword [edx]
mov eax, dword [ecx + 4]
cmp ecx, vtable.ATL::CAtlStringMgr.0
jne 0x43b54e
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b538
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 0x43b106
mov eax, dword [ebp - 0x230]
add eax, 0x10
mov dword [ebp - 0x234], eax
jmp 0x43b106
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 0x43b151
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b557
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b557
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x234]
cmp dword [eax - 0xc], 0
je 0x43b284
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x26c], eax
test eax, eax
je 0x43b284
push eax
call fcn.005b4418
mov ebx, eax
add esp, 4
mov dword [ebp - 0x238], ebx
test ebx, ebx
je 0x43b284
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 0x43b1b9
push ebx
jmp 0x43b27c
lea eax, [ebp - 0x230]
mov dword [ebp - 0x24c], 0
push eax
lea eax, [ebp - 0x24c]
push eax
push 0x62af94
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 0x43b276
cmp dword [ebp - 0x230], 0
jbe 0x43b276
mov edx, dword [ebp - 0x24c]
test edx, edx
jne 0x43b23b
xor ecx, ecx
jmp 0x43b24f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b240
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.004020e5
push dword [ebp - 0x238]
call fcn.005b1e01
mov esi, dword [ebp - 0x248]
mov byte [ebp - 0x229], 1
jmp 0x43b281
push dword [ebp - 0x238]
call fcn.005b1e01
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 0x43b2d3
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b560
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b560
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [edx + 4]
call ebx
jmp 0x43b2d9
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 4
call fcn.004076c4
mov byte [ebp - 4], 3
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43b331
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b569
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b569
push 0
push dword [ecx + 4]
call ebx
jmp 0x43b331
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, byte [ebp - 0x229]
mov byte [ebp - 0x268], al
call fcn.0040cce6
mov ecx, eax
test ecx, ecx
je 0x43b570
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b57a
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0x264], eax
cmp byte [ebp - 0x229], 0
mov edx, 0x62e4b0
mov eax, 0x625fe8
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 0x43b390
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.00417e80
mov byte [ebp - 4], 9
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43b408
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b581
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b581
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.00417e80
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x43b440
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 0x43b4ab
mov eax, dword [ebp - 0x23c]
sub eax, ecx
sar eax, 1
lea edx, [eax + eax]
mov eax, ecx
cmp edx, 0x1000
jb 0x43b483
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b588
push edx
push ecx
call fcn.005a7e2d
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 0x43b4ef
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b58d
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b58d
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.005a7b5f
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004022df
call edx
jmp 0x43ad01
push 0x80070057
call fcn.004022df
mov ecx, edx
call esi
jmp 0x43ada2
mov ecx, edi
call edx
jmp 0x43adb9
call edx
mov eax, dword [ebp - 0x230]
add eax, 0x10
mov dword [ebp - 0x234], eax
jmp 0x43b106
mov ecx, edx
call eax
jmp 0x43b0e6
mov ecx, edx
call ebx
jmp 0x43b151
mov ecx, edx
call ebx
jmp 0x43b2d3
call edx
jmp 0x43b331
push 0x80004005
call fcn.004022df
call edx
jmp 0x43b363
call edx
jmp 0x43b408
call fcn.005af179
call edx
jmp 0x43b4ef