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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9943
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x65afd4]
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 0x43b93b
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b945
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
lea esi, [eax + 0x10]
mov dword [ebp - 0x248], esi
mov eax, 0x626018
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, 0xffff0000
jne 0x43b16d
movzx eax, ax
lea ecx, [ebp - 0x248]
push eax
call fcn.0040d540
mov esi, dword [ebp - 0x248]
jmp 0x43b1f2
cmp dword [esi - 0xc], 0
lea ecx, [esi - 0x10]
mov edi, dword [ecx]
je 0x43b1f2
cmp dword [ecx + 0xc], 0
lea edx, [ecx + 0xc]
jge 0x43b199
cmp dword [esi - 8], 0
jl 0x43b94c
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x43b1f2
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x43b1d2
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b956
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b956
push 0
push dword [edx + 4]
call ebx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b95f
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 0x43b761
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 0x626018
push edi
call ebx
test eax, eax
jne 0x43b75b
mov eax, dword [ebp - 0x230]
cmp eax, 1
je 0x43b2a7
cmp eax, 2
jne 0x43b75b
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.0043bb30
add esp, 8
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x258]
push eax
push dword [ebp - 0x244]
push 0x626018
call fcn.0042f990
test eax, eax
jne 0x43b75b
test edi, edi
je 0x43b321
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.0043ba70
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 0x43b703
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x238]
push eax
push 0
lea eax, [ebp - 0x230]
push eax
push 0
push 0x626018
push dword [ebp - 0x258]
call ebx
test eax, eax
jne 0x43b703
mov eax, dword [ebp - 0x230]
cmp eax, 1
je 0x43b3ee
cmp eax, 2
jne 0x43b703
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.0043bb30
add esp, 8
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x258]
push eax
push dword [ebp - 0x244]
push 0x626018
call fcn.0042f990
test eax, eax
jne 0x43b703
push dword [ebp - 0x244]
lea ecx, [ebp - 0x234]
call fcn.0040d480
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 6
push eax
push 0x62c2d0
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 0x43b536
cmp dword [ebx + 0xc], 0
jl 0x43b527
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x43b527
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 0x43b516
mov edx, dword [ebx]
push ebx
mov ecx, dword [edx]
mov eax, dword [ecx + 4]
cmp ecx, vtable.ATL::CAtlStringMgr.0
jne 0x43b97e
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b968
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 0x43b536
mov eax, dword [ebp - 0x230]
add eax, 0x10
mov dword [ebp - 0x234], eax
jmp 0x43b536
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 0x43b581
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b987
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b987
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x234]
cmp dword [eax - 0xc], 0
je 0x43b6b4
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x26c], eax
test eax, eax
je 0x43b6b4
push eax
call fcn.005b5318
mov ebx, eax
add esp, 4
mov dword [ebp - 0x238], ebx
test ebx, ebx
je 0x43b6b4
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 0x43b5e9
push ebx
jmp 0x43b6ac
lea eax, [ebp - 0x230]
mov dword [ebp - 0x24c], 0
push eax
lea eax, [ebp - 0x24c]
push eax
push 0x62bfb4
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 0x43b6a6
cmp dword [ebp - 0x230], 0
jbe 0x43b6a6
mov edx, dword [ebp - 0x24c]
test edx, edx
jne 0x43b66b
xor ecx, ecx
jmp 0x43b67f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b670
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.004020e5
push dword [ebp - 0x238]
call fcn.005b2d01
mov esi, dword [ebp - 0x248]
mov byte [ebp - 0x229], 1
jmp 0x43b6b1
push dword [ebp - 0x238]
call fcn.005b2d01
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 0x43b703
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b990
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b990
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [edx + 4]
call ebx
jmp 0x43b709
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 0x43b761
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b999
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b999
push 0
push dword [ecx + 4]
call ebx
jmp 0x43b761
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 0x43b9a0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b9aa
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0x264], eax
cmp byte [ebp - 0x229], 0
mov edx, 0x62f614
mov eax, 0x627008
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 0x43b7c0
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 0x43b838
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b9b1
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b9b1
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 0x43b870
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 0x43b8db
mov eax, dword [ebp - 0x23c]
sub eax, ecx
sar eax, 1
lea edx, [eax + eax]
mov eax, ecx
cmp edx, 0x1000
jb 0x43b8b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b9b8
push edx
push ecx
call fcn.005a8d24
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 0x43b91f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43b9bd
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43b9bd
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.005a8a56
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004022df
call edx
jmp 0x43b131
push 0x80070057
call fcn.004022df
mov ecx, edx
call esi
jmp 0x43b1d2
mov ecx, edi
call edx
jmp 0x43b1e9
call edx
mov eax, dword [ebp - 0x230]
add eax, 0x10
mov dword [ebp - 0x234], eax
jmp 0x43b536
mov ecx, edx
call eax
jmp 0x43b516
mov ecx, edx
call ebx
jmp 0x43b581
mov ecx, edx
call ebx
jmp 0x43b703
call edx
jmp 0x43b761
push 0x80004005
call fcn.004022df
call edx
jmp 0x43b793
call edx
jmp 0x43b838
call fcn.005b0079
call edx
jmp 0x43b91f