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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025d8c
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x100310c0]
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 ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov ecx, dword [ebx]
mov dword [esi + 0x60], ecx
mov edx, dword [ebx + 4]
mov dword [esi + 0x64], edx
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x68], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x6c], ecx
mov edx, dword [eax]
mov dword [esi + 0x70], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x74], ecx
mov ecx, dword [esi + 0x7c]
mov edx, dword [eax + 8]
mov dword [ebp - 0x2b8], ebx
mov dword [ebp - 0x2ac], edi
mov dword [esi + 0x78], edx
test ecx, ecx
je 0x100044bc
mov eax, dword [ecx]
mov edx, dword [eax]
push ebx
call edx
test eax, eax
je 0x100047e7
mov ecx, dword [esi + 0x7c]
xor eax, eax
mov dword [ebp - 0x2bc], eax
cmp ecx, eax
je 0x10004501
test byte [esi + 0x40], 0x80
je 0x10004501
mov dword [ebp - 0x2a8], eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [ebp - 0x2a8]
push edx
push ebx
call eax
cmp dword [ebp - 0x2a8], 0
jne 0x100044f3
test edi, edi
jne 0x10004501
test eax, eax
jne 0x10004501
mov dword [ebp - 0x2bc], 1
xor ebx, ebx
or eax, 0xffffffff
mov dword [ebp - 0x2b0], ebx
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x2c4], eax
cmp edi, ebx
je 0x10004775
xor edi, edi
push 0x76
lea edx, [ebp - 0x86]
xor ecx, ecx
push edi
push edx
mov dword [ebp - 0x2c8], edi
mov word [ebp - 0x88], cx
call fcn.100158e0
mov ecx, dword [ebp - 0x2b8]
or eax, 0xffffffff
add esp, 0xc
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x2d0]
push eax
push ecx
mov dword [ebp - 0x2d0], edi
mov dword [ebp - 0x2d4], 0xff
mov dword [ebp - 0x2a0], edi
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov edx, dword [ebp - 0x2d0]
push str.InprocServer32
push edx
push str.CLSID_
push str._s_s_s
lea edx, [ebp - 0x88]
call fcn.10003bf0
add esp, 0x10
lea eax, [ebp - 0x2c8]
push eax
push 0x20019
push edi
lea ecx, [ebp - 0x88]
push ecx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100045f6
mov ecx, dword [ebp - 0x2c8]
lea edx, [ebp - 0x2d4]
push edx
lea eax, [ebp - 0x290]
push eax
push edi
push edi
push 0x1002a254
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x2c8]
push edx
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100045fc
mov ebx, dword [ebp - 0x2c0]
cmp ebx, edi
jne 0x10004677
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x290]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
push edi
call fcn.10014631
add esp, 4
mov ebx, eax
push ebx
push edi
push 0
lea edx, [ebp - 0x290]
push edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x2cc]
push ecx
push 0x1002a2e0
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov dword [ebp - 0x2a0], eax
test eax, eax
je 0x1000466e
mov eax, dword [ebp - 0x2cc]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x29c], edx
mov dword [ebp - 0x294], eax
push ebx
call fcn.100149f4
add esp, 4
mov ecx, dword [ebp - 0x2ac]
push 0x23
push ecx
call fcn.10014e4b
mov edi, eax
add esp, 8
test edi, edi
je 0x10004764
push 9
push 0x1002a2e4
push edi
call 0x10024811
add esp, 0xc
test eax, eax
jne 0x1000473f
lea edx, [ebp - 0x2c0]
push edx
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x2a4]
push ecx
lea edx, [ebp - 0x2cc]
push edx
lea eax, [edi + 0x12]
push str._d__d__d__d
push eax
call fcn.10014d35
add esp, 0x18
cmp eax, 4
jne 0x1000473f
movzx eax, word [ebp - 0x2cc]
movzx ecx, word [ebp - 0x2a4]
movzx edx, word [ebp - 0x2c0]
shl eax, 0x10
or eax, ecx
movzx ecx, word [ebp - 0x2d8]
shl ecx, 0x10
or ecx, edx
cmp dword [ebp - 0x2a0], 0
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x2c4], ecx
je 0x1000473f
mov edx, dword [ebp - 0x29c]
cmp eax, edx
jbe 0x1000472b
mov dword [ebp - 0x2b0], 1
jne 0x1000473f
cmp ecx, dword [ebp - 0x294]
jbe 0x1000473f
mov dword [ebp - 0x2b0], 1
mov eax, dword [ebp - 0x2ac]
push eax
call fcn.10014e79
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10004775
sub edi, dword [ebp - 0x2ac]
sar edi, 1
xor ecx, ecx
mov word [ebx + edi*2], cx
jmp 0x10004775
mov edx, dword [ebp - 0x2ac]
push edx
call fcn.10014e79
add esp, 4
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x298], eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x2b0], eax
jne 0x100047f9
mov ecx, dword [ebp - 0x2b8]
lea eax, [ebp - 0x298]
push eax
push 0x1002750c
push 0x17
push 0
push ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x10004805
cmp dword [ebp - 0x2bc], 0
je 0x100047f1
mov ecx, dword [esi + 0x7c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x298]
mov edx, dword [edx + 8]
push 0x100299e0
push eax
call edx
test eax, eax
jne 0x100047f1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x100047e7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0x80004005
jmp 0x10004c22
mov eax, dword [ebp - 0x298]
jmp 0x100047ff
mov edi, dword [ebp - 0x2b4]
test edi, edi
jns 0x10004814
jmp 0x1000480b
mov eax, dword [ebp - 0x298]
cmp dword [ebp - 0x2ac], 0
jne 0x10004821
cmp dword [ebp - 0x2b0], 0
je 0x10004be2
xor ecx, ecx
cmp ebx, ecx
jne 0x10004844
mov dword [ebp - 4], 0xffffffff
cmp eax, ecx
je 0x1000483a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0x8007000e
jmp 0x10004c22
mov dword [ebp - 0x294], ecx
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 0x2a0], ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x2a4], ecx
cmp dword [ebp - 0x2b4], ecx
jne 0x1000497b
lea eax, [ebp - 0x294]
push eax
push 0
mov dword [ebp - 0x2a4], 1
call dword [sym.imp.ole32.dll_CreateBindCtx]
mov edi, eax
test edi, edi
jns 0x100048d2
push ebx
call fcn.10014d57
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2a0]
add esp, 4
test eax, eax
je 0x100048aa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x294]
test eax, eax
je 0x100048c0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x298]
jmp 0x10004c14
lea edi, [esi + 0x20]
test edi, edi
je 0x100048e7
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov dword [ebp - 0x29c], edi
mov edi, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x294]
push 0
lea edx, [ebp - 0x2a0]
push edx
push edi
push eax
call dword [sym.imp.urlmon.dll_RegisterBindStatusCallback]
mov dword [ebp - 0x2b4], eax
test eax, eax
jns 0x100049a5
push ebx
call fcn.10014d57
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2a0]
add esp, 4
test eax, eax
je 0x10004931
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
test edi, edi
je 0x10004941
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x294]
test eax, eax
je 0x10004957
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x10004970
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x2b4]
jmp 0x10004c22
mov edi, dword [ebp - 0x2b4]
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov eax, dword [ebp - 0x294]
test eax, eax
je 0x1000499b
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, edi
mov dword [ebp - 0x294], eax
jmp 0x100049ab
mov eax, dword [ebp - 0x294]
cmp dword [ebp - 0x2b0], 0
mov ecx, dword [ebp - 0x2c4]
mov edx, dword [ebp - 0x2a8]
push 0
je 0x100049de
push 0x1002751c
push 0
push 3
push eax
mov eax, dword [ebp - 0x2ac]
push 0
push ecx
push edx
push eax
push 0x1002742c
jmp 0x100049f4
push 0x1002750c
push 0
push 0x17
push eax
mov eax, dword [ebp - 0x2b8]
push 0
push ecx
push edx
push ebx
push eax
call dword [sym.imp.urlmon.dll_CoGetClassObjectFromURL]
push ebx
mov edi, eax
call fcn.10014d57
add esp, 4
cmp dword [ebp - 0x2a4], 0
je 0x10004b4b
cmp edi, 0x401e8
jne 0x10004b07
push 0
push 0
push 1
push 0
mov dword [esi + 0x80], 1
mov dword [esi + 0x84], 0x80004005
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp dword [esi + 0x80], 0
mov dword [ebp - 0x2a4], eax
je 0x10004af4
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
nop
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x2f8]
push ecx
call edi
test eax, eax
je 0x10004ab7
push 0
push 0
push 0
lea edx, [ebp - 0x2f8]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x10004aea
lea eax, [ebp - 0x2f8]
push eax
call ebx
lea ecx, [ebp - 0x2f8]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x2f8]
push edx
call edi
test eax, eax
jne 0x10004a75
cmp dword [esi + 0x80], 0
je 0x10004af4
push 0x4bf
push 0x1f4
push 0
lea eax, [ebp - 0x2a4]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp dword [esi + 0x80], 0
jne 0x10004a60
jmp 0x10004af4
mov dword [esi + 0x80], 0
mov ecx, dword [ebp - 0x2a4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esi + 0x84]
mov ebx, dword [ebp - 0x29c]
test ebx, ebx
je 0x10004b51
mov edx, dword [ebp - 0x294]
push ebx
push edx
call dword [sym.imp.urlmon.dll_RevokeBindStatusCallback]
mov eax, ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
xor ebx, ebx
push eax
mov dword [ebp - 0x29c], ebx
call edx
mov eax, dword [ebp - 0x294]
test eax, eax
je 0x10004b51
mov dword [ebp - 0x294], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x10004b51
mov ebx, dword [ebp - 0x29c]
test edi, edi
js 0x10004ba0
mov ecx, dword [ebp - 0x2b8]
lea eax, [ebp - 0x298]
push eax
push 0x1002750c
push 0x17
push 0
push ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x10004ba0
cmp dword [ebp - 0x2bc], 0
je 0x10004ba0
mov ecx, dword [esi + 0x7c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x298]
mov edx, dword [edx + 8]
push 0x100299e0
push eax
call edx
test eax, eax
jne 0x10004ba0
mov edi, 0x80004005
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2a0]
test eax, eax
je 0x10004bb6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
test ebx, ebx
je 0x10004bc6
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x294]
test eax, eax
je 0x10004bdc
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x10004c0d
cmp dword [esi + 0x4c], eax
je 0x10004c0d
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
mov ebx, eax
call edx
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x10004c04
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x298]
mov dword [esi + 0x4c], ebx
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x10004c20
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
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.1001475c
mov esp, ebp
pop ebp
ret 0x10