Function at 0x468d10
Capabilities:
Get file version info

Disassembly:
sub esp, 0x6c4
mov eax, dword [0x4b000c]
xor eax, esp
mov dword [esp + 0x6bc], eax
mov eax, dword [esp + 0x6c8]
push ebx
push ebp
mov ebp, dword [esp + 0x6d8]
push esi
push edi
mov dword [esp + 0x14], eax
mov edi, ecx
mov eax, dword [esp + 0x6dc]
push eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebp
call fcn.00476a14
add esp, 4
mov ebx, eax
push ebp
call fcn.00476a14
add esp, 4
mov esi, eax
xor ebp, ebp
mov dword [esp + 0x2c], esi
test ebx, ebx
je 0x468daf
test esi, esi
je 0x468daf
push dword [esp + 0x6ec]
mov eax, dword [edi + 0x30]
push dword [esp + 0x6ec]
push dword [esp + 0x6ec]
push esi
push ebx
push ebp
push dword [esp + 0x2c]
call eax
or eax, edx
jne 0x468db4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi]
xorps xmm0, xmm0
mov ebp, eax
movlpd qword [esp + 0x18], xmm0
mov eax, ecx
jmp 0x468dc9
mov ebp, 8
mov ecx, dword [edi]
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov eax, ecx
test ebx, ebx
je 0x468f34
test eax, eax
je 0x468f2b
test byte [ecx + 0x18], 8
je 0x468e6b
lea eax, [esp + 0x38]
mov dword [esp + 0x30], 0
push eax
push ebx
mov dword [esp + 0x40], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
test edi, edi
je 0x468e67
push edi
call fcn.00470e7c
mov esi, eax
add esp, 4
test esi, esi
je 0x468e67
push esi
push edi
push dword [esp + 0x40]
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x468e5e
mov eax, 0x5c
mov word [esp + 0x34], ax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
jne 0x468e47
mov dword [esp + 0x30], eax
jmp 0x468e5e
mov eax, dword [esp + 0x30]
xor edx, edx
add edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
adc ecx, 0
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
push esi
call fcn.00470e61
add esp, 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x40]
mov ecx, edi
push eax
push dword [esp + 0x6ec]
mov esi, str._unknown_
push dword [esp + 0x6ec]
push dword [esp + 0x20]
call fcn.00468f90
test eax, eax
je case.default.0x468e9b
mov eax, dword [esp + 0x60]
cmp eax, 8
ja case.default.0x468e9b
jmp dword [eax*4 + 0x468f60]
mov esi, str._nosymbols_
jmp case.default.0x468e9b
mov esi, str.COFF
jmp case.default.0x468e9b
mov esi, 0x4a9164
jmp case.default.0x468e9b
mov esi, 0x4a9168
jmp case.default.0x468e9b
mov esi, str._exported_
jmp case.default.0x468e9b
mov esi, str._deferred_
jmp case.default.0x468e9b
mov esi, 0x4a9184
jmp case.default.0x468e9b
mov esi, 0x4a9188
jmp case.default.0x468e9b
mov esi, str.Virtual
push dword [esp + 0x1c]
cmp byte [esp + 0x288], 0
lea ecx, [esp + 0x188]
push dword [esp + 0x1c]
lea eax, [esp + 0x28c]
cmove eax, ecx
mov ecx, dword [edi]
push eax
push esi
push ebp
push dword [esp + 0x700]
mov edx, dword [ecx]
push dword [esp + 0x700]
push dword [esp + 0x700]
push dword [esp + 0x44]
push dword [esp + 0x4c]
call dword [edx + 8]
mov esi, dword [esp + 0x2c]
push ebx
call fcn.00470e61
add esp, 4
test esi, esi
je 0x468f41
push esi
call fcn.00470e61
add esp, 4
mov ecx, dword [esp + 0x6cc]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046ad4d
add esp, 0x6c4
ret 0x18