Function at 0x423ac0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a92f0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x62c2a0]
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 ebx, ecx
push 0x3f
lea eax, [ebp - 0x4f]
mov dword [ebp - 0x6c], 0
push 0
push eax
mov byte [ebp - 0x50], 0
call fcn.00586b50
add esp, 0xc
call fcn.00464b17
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x423b24
push 0x80004005
call fcn.00403a80
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 4], 0
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
jge 0x423b5a
push 0x400
lea ecx, [ebp - 0x5c]
call fcn.004037a0
mov esi, dword [ebp - 0x5c]
push 0x400
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push dword [esi - 8]
push esi
call fcn.00582f38
add esp, 8
test eax, eax
js 0x423d0c
cmp eax, dword [esi - 8]
jg 0x423d0c
push 0
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0x54], eax
test eax, eax
jne 0x423bd2
push 0x5ef390
mov ecx, ebx
call fcn.00407820
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423c9e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x423c9e
push eax
call fcn.0046424b
mov edi, eax
add esp, 4
mov dword [ebp - 0x68], edi
test edi, edi
je 0x423bfe
push edi
push dword [ebp - 0x54]
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
jne 0x423c2d
push edi
call fcn.00464246
add esp, 4
push 0x5ef390
mov ecx, ebx
call fcn.00407820
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423c9e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x423c9e
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x60]
push eax
push str.VarFileInfoTranslation
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x423bf5
cmp dword [ebp - 0x54], 4
jb 0x423bf5
mov ecx, dword [ebp - 0x60]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xProductVersion
lea eax, [ebp - 0x50]
push 0x40
push eax
call fcn.005830be
add esp, 0x14
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x50]
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
jne 0x423cbc
push edi
call fcn.00464246
add esp, 4
mov ecx, ebx
push 0x5ef390
call fcn.00407820
lea ecx, [ebp - 0x5c]
call fcn.00403a60
mov eax, ebx
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.00581fc1
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x64]
call fcn.00464b17
push eax
push esi
push edi
lea ecx, [ebp - 0x58]
call fcn.0041afd0
push dword [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.00464246
add esp, 4
lea ecx, [ebp - 0x58]
push 0x2e
push 0x2c
call fcn.00421860
push 0x20
lea ecx, [ebp - 0x58]
call fcn.00421930
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.00403440
lea ecx, [ebp - 0x58]
call fcn.00403a60
jmp 0x423c96
push 0x80070057
call fcn.00403a80
int3