Function at 0x434cbb
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x654
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0x62c], ecx
push 0x208
lea eax, [ebp - 0x618]
push eax
push dword [ebx + 4]
push dword [ebx]
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x4350fa
mov esi, 0xfde9
lea edx, [ebp - 0x618]
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040c9e3
pop ecx
pop ecx
mov ecx, dword [ebp - 0x62c]
mov edx, 0x48af0c
mov edi, eax
call fcn.0040ce94
mov edx, edi
mov ecx, eax
call fcn.0040ccfe
mov edx, 0x48aaa4
mov ecx, eax
call fcn.0040ce94
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00402d1f
push 0xc
lea eax, [ebp - 0x654]
push eax
push dword [ebx + 4]
push dword [ebx]
call dword [sym.imp.PSAPI.DLL_GetModuleInformation]
mov edi, dword [ebp - 0x62c]
test eax, eax
je 0x434dd1
mov eax, dword [ebp - 0x650]
mov edx, str.___________Image_Base:_______0x
push 8
pop ecx
mov dword [ebp - 0x634], eax
mov eax, dword [ebp - 0x654]
mov dword [ebp - 0x630], ecx
mov dword [ebp - 0x640], ecx
mov ecx, edi
mov dword [ebp - 0x644], eax
call fcn.0040ce94
lea edx, [ebp - 0x644]
mov ecx, eax
call fcn.0043529e
mov ebx, 0x48aaa4
mov ecx, eax
mov edx, ebx
call fcn.0040ce94
mov edx, str.___________Image_Size:_______0x
mov ecx, eax
call fcn.0040ce94
lea edx, [ebp - 0x634]
mov ecx, eax
call fcn.0043529e
mov edx, ebx
mov ecx, eax
call fcn.0040ce94
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x618]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x630], eax
test eax, eax
je 0x4350fa
inc eax
push eax
call fcn.0043b0ea
pop ecx
mov ebx, eax
lea eax, [ebp - 0x618]
push ebx
push dword [ebp - 0x630]
mov dword [ebp - 0x63c], ebx
push dword [ebp - 0x648]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
and dword [ebp - 0x628], 0
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x628]
push eax
push 0x4897e8
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x434ff0
mov eax, dword [ebp - 0x628]
mov edx, str.___________File_Version:
mov ecx, edi
movzx ebx, word [eax + 0xa]
call fcn.0040ce94
push 0xa
mov edi, eax
lea eax, [ebp - 0x44]
push 0x20
push eax
push ebx
call fcn.00442d85
lea edx, [ebp - 0x44]
mov ecx, edi
call fcn.0040ce94
mov ecx, eax
mov dl, 0x2e
mov eax, dword [ebp - 0x628]
movzx ebx, word [eax + 8]
call fcn.0040cae2
push 0xa
mov edi, eax
lea eax, [ebp - 0x24]
push 0x20
push eax
push ebx
call fcn.00442d85
lea edx, [ebp - 0x24]
mov ecx, edi
call fcn.0040ce94
mov ecx, eax
mov dl, 0x2e
mov eax, dword [ebp - 0x628]
movzx ebx, word [eax + 0xe]
call fcn.0040cae2
push 0xa
mov edi, eax
lea eax, [ebp - 0x64]
push 0x20
push eax
push ebx
call fcn.00442d85
lea edx, [ebp - 0x64]
mov ecx, edi
call fcn.0040ce94
mov ecx, eax
mov dl, 0x2e
mov eax, dword [ebp - 0x628]
movzx ebx, word [eax + 0xc]
call fcn.0040cae2
push 0xa
mov edi, eax
lea eax, [ebp - 0x84]
push 0x20
push eax
push ebx
call fcn.00442d85
add esp, 0x40
lea edx, [ebp - 0x84]
mov ecx, edi
call fcn.0040ce94
mov ecx, eax
mov edx, 0x48aaa4
mov eax, dword [ebp - 0x628]
movzx ebx, word [eax + 0x12]
call fcn.0040ce94
mov edx, str.___________Product_Version:
mov ecx, eax
call fcn.0040ce94
push 0xa
mov edi, eax
lea eax, [ebp - 0xa4]
push 0x20
push eax
push ebx
call fcn.00442d85
lea edx, [ebp - 0xa4]
mov ecx, edi
call fcn.0040ce94
mov ecx, eax
mov eax, dword [ebp - 0x628]
movzx ebx, word [eax + 0x10]
mov dl, 0x2e
call fcn.0040cae2
push 0xa
mov edi, eax
lea eax, [ebp - 0xc4]
push 0x20
push eax
push ebx
call fcn.00442d85
lea edx, [ebp - 0xc4]
mov ecx, edi
call fcn.0040ce94
mov ecx, eax
mov dl, 0x2e
mov eax, dword [ebp - 0x628]
movzx ebx, word [eax + 0x16]
call fcn.0040cae2
push 0xa
mov edi, eax
lea eax, [ebp - 0xe4]
push 0x20
push eax
push ebx
call fcn.00442d85
lea edx, [ebp - 0xe4]
mov ecx, edi
call fcn.0040ce94
mov ecx, eax
mov dl, 0x2e
mov eax, dword [ebp - 0x628]
movzx ebx, word [eax + 0x14]
call fcn.0040cae2
push 0xa
mov edi, eax
lea eax, [ebp - 0x104]
push 0x20
push eax
push ebx
call fcn.00442d85
add esp, 0x40
lea edx, [ebp - 0x104]
mov ecx, edi
call fcn.0040ce94
mov edx, 0x48aaa4
mov ecx, eax
call fcn.0040ce94
mov edi, dword [ebp - 0x63c]
xor ebx, ebx
mov dword [ebp - 0x624], 0x48af94
mov dword [ebp - 0x620], 0x48afac
mov dword [ebp - 0x61c], 0x48afcc
mov dword [ebp - 0x10], str.Company:
mov dword [ebp - 0xc], str.File_Description:
mov dword [ebp - 8], str.Product_Name:
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x630]
push eax
push str.VarFileInfoTranslation
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4350ee
mov ecx, dword [ebp - 0x630]
push dword [ebp + ebx - 0x624]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x208]
push str.StringFileInfo_04x_04x_s
push eax
call fcn.00417c2f
add esp, 0x14
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x208]
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4350ee
mov edx, dword [ebp - 0x640]
lea ecx, [ebp - 0x3c]
push esi
push 0xffffffffffffffff
call fcn.0040c9e3
pop ecx
pop ecx
mov ecx, dword [ebp - 0x62c]
mov edx, 0x48b08c
mov edi, eax
call fcn.0040ce94
mov edx, dword [ebp + ebx - 0x10]
mov ecx, eax
call fcn.0040ce94
mov edx, edi
mov ecx, eax
call fcn.0040ccfe
mov edx, 0x48aaa4
mov ecx, eax
call fcn.0040ce94
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.00402d1f
mov edi, dword [ebp - 0x63c]
add ebx, 4
cmp ebx, 0xc
jb 0x43502b
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x62c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0043a99c
mov esp, ebp
pop ebp
ret