Function at 0x4284fd
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 8]
mov ecx, ebx
call fcn.00426bf6
lea ecx, [edi + 0x14]
call fcn.00426bf6
lea ecx, [edi + 0x20]
call fcn.00426bf6
lea ecx, [edi + 0x2c]
call fcn.00426bf6
lea ecx, [edi + 0x38]
call fcn.00426bf6
lea ecx, [edi + 0x44]
call fcn.00426bf6
lea ecx, [edi + 0x50]
call fcn.00426bf6
lea ecx, [edi + 0x5c]
call fcn.00426bf6
lea ecx, [edi + 0x68]
call fcn.00426bf6
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str..htm
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [edi + 4], eax
test eax, eax
jne 0x428680
and dword [ebp - 0x18], eax
mov esi, 0x48086e
and dword [ebp - 0x14], eax
push ecx
push esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
call fcn.00426c6e
push dword [ebp - 0x10]
mov dword [edi + 4], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [edi + 4], 0
jne 0x428678
push 0xffffffffffffffff
push str._shellopencommand
lea ecx, [ebp - 0x1c]
call fcn.00426d0e
cmp dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
mov eax, esi
cmovne eax, dword [ebp - 0x1c]
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [edi + 4], eax
test eax, eax
jne 0x428678
push ecx
push esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
call fcn.00426c6e
mov dword [edi + 4], eax
test eax, eax
jne 0x42866f
cmp dword [ebp - 0x18], eax
cmovne esi, dword [ebp - 0x1c]
mov eax, esi
mov cl, byte [esi]
cmp cl, 0x22
je 0x428615
cmp cl, 0x27
je 0x428611
mov cl, 0x20
jmp 0x428621
mov cl, 0x27
jmp 0x428617
mov cl, 0x22
lea eax, [esi + 1]
jmp 0x428621
cmp dl, cl
je 0x428627
inc eax
mov dl, byte [eax]
test dl, dl
jne 0x42861c
sub eax, esi
cmp cl, 0x22
je 0x428633
cmp cl, 0x27
jne 0x428635
dec eax
inc esi
test eax, eax
je 0x42866f
push eax
push esi
mov ecx, ebx
call fcn.00426d0e
xor ecx, ecx
lea eax, [ebp - 0x124]
push ecx
push eax
push ecx
push ecx
mov ecx, ebx
call fcn.00426c11
push eax
call fcn.00441bce
add esp, 0x14
lea eax, [ebp - 0x124]
lea ecx, [edi + 0x14]
push 0xffffffffffffffff
push eax
call fcn.00426d0e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
call fcn.00426bf6
cmp dword [edi + 0xc], 0
jle 0x4287cd
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00426c11
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov ebx, eax
test ebx, ebx
je 0x4287cd
lea edx, [ebx + 1]
push edx
call fcn.0043d6b0
pop ecx
mov esi, eax
lea ecx, [edi + 8]
push esi
push ebx
push dword [ebp - 0x20]
call fcn.00426c11
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x4287c6
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push str.VarFileInfoTranslation
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x4287c6
or ebx, 0xffffffff
lea eax, [ebp - 0xc]
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
push eax
push esi
push str.CompanyName
call fcn.004287d7
push eax
lea ecx, [edi + 0x20]
call fcn.00426d0e
push ebx
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push dword [ebp - 4]
push eax
push esi
push 0x4853c8
call fcn.004287d7
push eax
lea ecx, [edi + 0x2c]
call fcn.00426d0e
push ebx
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push dword [ebp - 4]
push eax
push esi
push 0x481da0
call fcn.004287d7
push eax
lea ecx, [edi + 0x38]
call fcn.00426d0e
push ebx
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push dword [ebp - 4]
push eax
push esi
push str.Language
call fcn.004287d7
push eax
lea ecx, [edi + 0x44]
call fcn.00426d0e
push ebx
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push dword [ebp - 4]
push eax
push esi
push str.OriginalFileName
call fcn.004287d7
push eax
lea ecx, [edi + 0x50]
call fcn.00426d0e
push ebx
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push dword [ebp - 4]
push eax
push esi
push 0x4853f8
call fcn.004287d7
push eax
lea ecx, [edi + 0x5c]
call fcn.00426d0e
push ebx
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push dword [ebp - 4]
push eax
push esi
push 0x485404
call fcn.004287d7
push eax
lea ecx, [edi + 0x68]
call fcn.00426d0e
push esi
call fcn.0043d685
pop ecx
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret