Function at 0x5b04a0
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 [0x64a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x5b04c3
mov eax, dword [ebx]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x5b0637
mov edi, eax
push eax
call fcn.0057f5ae
add esp, 4
mov esi, eax
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x5b04ea
mov eax, dword [ebx]
push esi
push edi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x5b0572
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 0x62ae68
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
setne bl
je 0x5b0704
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 esi, esi
je 0x5b055b
push esi
call fcn.0057f43d
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005810d5
mov eax, ebx
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
ret
push 1
call fcn.00557ce0
add esp, 4
test al, al
je 0x5b0630
call fcn.00417770
lea ecx, [ebp - 0xb8]
push eax
push 1
push 0x26
push str.module_version.cc
call fcn.00409720
lea eax, [ebp - 0xb0]
push 0x14
push str.GetFileVersionInfo:
push eax
call fcn.00545ec0
add esp, 0xc
mov dword [ebp - 0xcc], eax
movsx eax, byte [ebx + 0xb]
test eax, eax
jns 0x5b05c7
mov eax, dword [ebx + 4]
mov ebx, dword [ebx]
test eax, eax
js 0x5b075b
je 0x5b05d9
test ebx, ebx
je 0x5b0754
lea edi, [ebp - 0xc4]
push eax
push ebx
push edi
call fcn.00557410
add esp, 0xc
movsx eax, byte [edi + 0xb]
test eax, eax
jns 0x5b05fe
mov eax, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xc4]
push eax
push edi
push dword [ebp - 0xcc]
call fcn.00545ec0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x5b0625
push dword [ebp - 0xc4]
call fcn.0057dc2b
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.00409610
xor ebx, ebx
jmp 0x5b054e
push 1
call fcn.00557ce0
add esp, 4
test al, al
je 0x5b06fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
je 0x5b06fd
call fcn.00417770
lea ecx, [ebp - 0xb8]
push eax
push 1
push 0x1f
push str.module_version.cc
call fcn.00409720
lea eax, [ebp - 0xb0]
push 0x18
push str.GetFileVersionInfoSize:
push eax
call fcn.00545ec0
add esp, 0xc
mov esi, eax
movsx eax, byte [ebx + 0xb]
test eax, eax
jns 0x5b0699
mov eax, dword [ebx + 4]
mov ebx, dword [ebx]
test eax, eax
js 0x5b075b
je 0x5b06ab
test ebx, ebx
je 0x5b0754
lea edi, [ebp - 0xc4]
push eax
push ebx
push edi
call fcn.00557410
add esp, 0xc
movsx eax, byte [edi + 0xb]
test eax, eax
jns 0x5b06d0
mov eax, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xc4]
push eax
push edi
push esi
call fcn.00545ec0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x5b06f2
push dword [ebp - 0xc4]
call fcn.0057dc2b
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.00409610
xor ebx, ebx
jmp 0x5b055b
push 1
call fcn.00557ce0
add esp, 4
test al, al
je 0x5b054e
call fcn.00417770
lea edi, [ebp - 0xb8]
mov ecx, edi
push eax
push 1
push 0x30
push str.module_version.cc
call fcn.00409720
lea eax, [ebp - 0xb0]
push 0xd
push str.VerQueryValue
push eax
call fcn.00545ec0
add esp, 0xc
mov ecx, edi
call fcn.00409610
jmp 0x5b054e
push str....._third_partylibc_srcinclude_string_view:316:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x5b0760
push str....._third_partylibc_srcinclude_string_view:314:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
push 0x62a183
call fcn.005aacb0
int3