Function at 0x4ea800
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64b000
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x6d3438]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
cmp dword [edi + 0x10], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x6c], 1
je 0x4eae16
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4ea861
mov eax, dword [edi]
lea ecx, [ebp - 0x6c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4eae16
inc ebx
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
push ebx
mov dword [ebp - 4], 0
call fcn.00608193
mov esi, eax
mov dword [ebp - 0x68], esi
push 0x10
mov byte [ebp - 4], 1
call fcn.0060862c
add esp, 8
mov dword [ebp - 0x44], eax
test eax, eax
je 0x4ea8d8
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_void_.0
mov dword [eax + 0xc], esi
jmp 0x4ea8df
mov dword [ebp - 0x44], 0
push 0
push 0
mov byte [ebp - 4], 0
call fcn.00608415
mov ecx, dword [ebp - 0x44]
add esp, 8
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x84], ecx
jb 0x4ea906
mov edi, dword [edi]
push esi
push ebx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4eac00
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], 0
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 0
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x4eac00
xor ecx, ecx
mov dword [ebp - 0x64], ecx
test eax, 0xfffffffc
jbe 0x4eac00
lea ebx, [ecx + 0xa]
nop word [eax + eax]
mov eax, dword [ebp - 0x58]
lea ecx, [eax + ecx*4]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x40]
push str.StringFileInfo_04x_04xProductVersion
push eax
call fcn.004e2e20
add esp, 0x10
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
mov dword [ebp - 0x60], 0
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
push esi
mov dword [ebp - 0x5c], 0
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x4eac4a
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x68], ecx
test ecx, ecx
je 0x4eac4a
xor edx, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], dx
cmp eax, 7
ja 0x4eaa05
lea edi, [eax + eax]
mov dword [ebp - 0x18], eax
push edi
push ecx
lea eax, [ebp - 0x28]
push eax
call fcn.0060a360
add esp, 0xc
xor eax, eax
mov word [ebp + edi - 0x28], ax
jmp 0x4eaa5a
cmp eax, 0x7ffffffe
ja 0x4eae34
mov edi, eax
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x4eaa24
mov edi, accept
jmp 0x4eaa2a
cmp edi, 0xa
cmovb edi, ebx
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.0042ea70
mov ebx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x18], eax
lea edi, [eax + eax]
push edi
push dword [ebp - 0x68]
push ebx
call fcn.0060a360
add esp, 0xc
xor eax, eax
mov word [edi + ebx], ax
mov dword [ebp - 0x28], ebx
push 0x2c
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004e31b0
add esp, 0xc
mov ebx, dword [ebp - 0x4c]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x50]
mov ecx, ebx
sub ecx, edi
mov byte [ebp - 4], 4
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 4
je 0x4eac8d
mov byte [ebp - 4], 3
test edi, edi
je 0x4eab57
cmp edi, ebx
je 0x4eaafe
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x4eaae1
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4eaad7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eae39
mov eax, edx
push ecx
push eax
call fcn.00608415
add esp, 8
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
add edi, 0x18
cmp edi, ebx
jne 0x4eaaa8
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4eab38
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eae39
push ecx
push edi
call fcn.00608415
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4eab95
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4eab8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eae39
push edx
push ecx
call fcn.00608415
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x4eabe6
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4eabdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eae39
push edx
push ecx
call fcn.00608415
add esp, 8
mov ebx, 0xa
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x54]
inc ecx
shr eax, 2
mov dword [ebp - 0x64], ecx
cmp ecx, eax
jb 0x4ea960
xor bl, bl
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x4eac43
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x4eac43
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x659730]
mov ecx, dword [ebp - 0x44]
call esi
mov eax, dword [ebp - 0x44]
lock xadd dword [eax + 8], edi
dec edi
jne 0x4eac43
mov edx, dword [eax]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x659730]
mov ecx, dword [ebp - 0x44]
call esi
mov al, bl
jmp 0x4eae18
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4eabeb
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4eac7e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eae39
push edx
push ecx
call fcn.00608415
add esp, 8
jmp 0x4eabeb
push edi
call fcn.004c1ef0
mov ecx, dword [ebp - 0x74]
mov dword [ecx], eax
mov eax, dword [ebp - 0x50]
add eax, 0x18
push eax
call fcn.004c1ef0
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
mov eax, dword [ebp - 0x50]
add eax, 0x30
push eax
call fcn.004c1ef0
mov ecx, dword [ebp - 0x7c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x50]
add eax, 0x48
push eax
call fcn.004c1ef0
mov ecx, dword [ebp - 0x80]
add esp, 0x10
mov esi, dword [ebp - 0x50]
mov dword [ecx], eax
test esi, esi
je 0x4ead8f
mov edi, dword [ebp - 0x4c]
cmp esi, edi
je 0x4ead36
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x4ead19
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4ead0f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eae39
mov eax, edx
push ecx
push eax
call fcn.00608415
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x4eace0
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4ead70
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eae39
push ecx
push esi
call fcn.00608415
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4eadc5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4eadbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eae39
push edx
push ecx
call fcn.00608415
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x4eae0f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4eae05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eae39
push edx
push ecx
call fcn.00608415
add esp, 8
mov bl, 1
jmp 0x4eac02
xor al, al
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.00608185
mov esp, ebp
pop ebp
ret
call fcn.0042f3b0
call fcn.0060e0d0
int3