Function at 0x59f430
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc0
mov ebx, dword [ebp + 8]
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x59f453
mov eax, dword [ebx]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x59f4f5
mov edi, eax
push eax
call fcn.0050d643
add esp, 4
mov esi, eax
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x59f47a
mov eax, dword [ebx]
push esi
push edi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x59f52d
xor eax, eax
dec eax
lea ecx, [ebp - 0xc4]
mov dword [ecx], eax
lea edx, [ebp - 0xc8]
mov dword [edx], eax
push edx
push ecx
push 0x5d49f6
push esi
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
test eax, eax
je 0x59f53f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc4]
movups xmm0, xmmword [ecx]
movups xmm1, xmmword [ecx + 0x10]
movups xmmword [eax + 0x10], xmm1
mov edx, dword [ecx + 0x30]
mov dword [eax + 0x30], edx
movups xmm1, xmmword [ecx + 0x20]
movups xmmword [eax + 0x20], xmm1
movups xmmword [eax], xmm0
mov ecx, dword [eax + 0x18]
and dword [eax + 0x1c], ecx
test edi, edi
setne bl
test esi, esi
je 0x59f516
push esi
call fcn.0050d64c
add esp, 4
jmp 0x59f516
push 1
call fcn.004cff00
add esp, 4
test al, al
je 0x59f514
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
jne 0x59f5d0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050dc12
mov eax, ebx
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
ret
push 1
call fcn.004cff00
add esp, 4
test al, al
jne 0x59f58b
xor ebx, ebx
jmp 0x59f4e6
push 1
call fcn.004cff00
add esp, 4
test al, al
je 0x59f4e1
call fcn.0055ae80
lea ebx, [ebp - 0xb8]
mov ecx, ebx
push eax
push 1
push 0x30
push str....._third_partycrashpadcrashpadutilwinmodule_version.cc
call fcn.0055afc0
lea eax, [ebp - 0xb0]
push 0xd
push str.VerQueryValue
push eax
call fcn.0053f2f0
add esp, 0xc
mov ecx, ebx
call fcn.0055b020
jmp 0x59f4e1
call fcn.0055ae80
lea ecx, [ebp - 0xb8]
push eax
push 1
push 0x26
push str....._third_partycrashpadcrashpadutilwinmodule_version.cc
call fcn.0055afc0
lea eax, [ebp - 0xb0]
push 0x14
push str.GetFileVersionInfo:
push eax
call fcn.0053f2f0
add esp, 0xc
mov dword [ebp - 0xcc], eax
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x59f611
mov eax, dword [ebx + 4]
mov ebx, dword [ebx]
jmp 0x59f614
call fcn.0055ae80
lea ecx, [ebp - 0xb8]
push eax
push 1
push 0x1f
push str....._third_partycrashpadcrashpadutilwinmodule_version.cc
call fcn.0055afc0
lea eax, [ebp - 0xb0]
push 0x18
push str.GetFileVersionInfoSize:
push eax
call fcn.0053f2f0
add esp, 0xc
mov esi, eax
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x59f675
mov eax, dword [ebx + 4]
mov ebx, dword [ebx]
jmp 0x59f678
and eax, 0x7f
lea edi, [ebp - 0xc4]
push eax
push ebx
push edi
call fcn.004d9bb0
add esp, 0xc
movzx eax, byte [edi + 0xb]
test al, al
jns 0x59f63b
mov eax, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xc4]
jmp 0x59f63e
and eax, 0x7f
push eax
push edi
push dword [ebp - 0xcc]
call fcn.0053f2f0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x59f665
push dword [ebp - 0xc4]
call fcn.0050d60e
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.0055b020
jmp 0x59f53b
and eax, 0x7f
lea edi, [ebp - 0xc4]
push eax
push ebx
push edi
call fcn.004d9bb0
add esp, 0xc
movzx eax, byte [edi + 0xb]
test al, al
jns 0x59f69f
mov eax, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xc4]
jmp 0x59f6a2
and eax, 0x7f
push eax
push edi
push esi
call fcn.0053f2f0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x59f6c4
push dword [ebp - 0xc4]
call fcn.0050d60e
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.0055b020
jmp 0x59f514