Function at 0x434570
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x59de30]
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 esi, ecx
push str.Get_version_for_file_Started
push 0
push 4
mov dword [ebp - 4], 0
push str.AdobeGCVersionWrapper
push dword [0x5aecf4]
call fcn.0044d8e0
add esp, 0x14
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x4345d1
mov eax, dword [esi]
jmp 0x4345d3
mov eax, esi
mov byte [eax], 0
cmp dword [ebp + 0x18], 0
jne 0x4345fd
push str.No_input_file_path_data
push 0
push 5
push str.AdobeGCVersionWrapper
push dword [0x5aecf4]
call fcn.0044d8e0
add esp, 0x14
jmp 0x434791
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call fcn.00404340
mov edi, eax
add esp, 4
test edi, edi
mov edx, 0x557600
cmovne edx, edi
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x43463a
xor ecx, ecx
jmp 0x43464f
mov ecx, edx
lea ebx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434640
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403d70
push edi
mov byte [ebp - 4], 1
call fcn.004dbc6f
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x43467a
push str.Error_converting_ascii_path_to_wide_path
push 0
push 5
jmp 0x434759
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x43476c
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004de7b4
mov edi, eax
add esp, 4
test edi, edi
je 0x434750
cmp dword [ebp - 0x14], 8
push edi
push ebx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x434722
push 0
lea eax, [ebp - 0x30]
push eax
push 0x57efa8
push edi
mov dword [ebp - 0x30], 0
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x434745
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x434745
movzx eax, word [ecx + 0xc]
mov dx, word [ecx + 8]
push esi
push eax
movzx eax, word [ecx + 0xe]
mov cx, word [ecx + 0xa]
push eax
call fcn.004347e0
add esp, 0xc
push edi
call fcn.004de7af
add esp, 4
jmp 0x43476c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_retrieving_version_for_file_:__d
push 0
push 2
push str.AdobeGCVersionWrapper
push dword [0x5aecf4]
call fcn.0044d8e0
add esp, 0x18
push edi
call fcn.004de7af
add esp, 4
jmp 0x43476c
push str.Error_creating_memory_for_version
push 0
push 2
push str.AdobeGCVersionWrapper
push dword [0x5aecf4]
call fcn.0044d8e0
add esp, 0x14
cmp dword [ebp - 0x14], 8
jb 0x43477d
push dword [ebp - 0x28]
call fcn.004daf24
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
push str.Get_version_for_file_Ended
push 0
push 4
push str.AdobeGCVersionWrapper
push dword [0x5aecf4]
call fcn.0044d8e0
add esp, 0x14
cmp dword [ebp + 0x1c], 0x10
jb 0x4347be
push dword [ebp + 8]
call fcn.004daf24
add esp, 4
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.004da4c1
mov esp, ebp
pop ebp
ret