Function at 0x462710
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af490
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4d9164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
push 0x104
lea eax, [ebp - 0x144]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00483710
add esp, 0xc
lea eax, [ebp - 0x144]
push 0x104
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4629cd
cmp eax, 0x103
ja 0x4629cd
push 0
lea eax, [ebp - 0x144]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x4629b2
push 0x4b4c98
push edi
call fcn.00481123
add esp, 8
mov dword [ebp - 0x168], eax
test eax, eax
je 0x4629b2
push eax
push edi
push 0
lea eax, [ebp - 0x144]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
mov edi, dword [ebp - 0x168]
test eax, eax
je 0x4629a9
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x164]
push eax
push 0x4b6e10
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4629a9
cmp dword [ebp - 0x148], 0
je 0x4629a9
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x168], eax
cmp dword [eax], 0xfeef04bd
jne 0x4629a9
push 0xa
xorps xmm0, xmm0
mov word [ebp - 0x14], 0
push 0xa
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
movzx eax, word [eax + 0xa]
push ecx
push eax
call fcn.00493ed1
push 0xa
push 0xa
lea eax, [ebp - 0x28]
mov word [ebp - 0x20], 0
push eax
mov eax, dword [ebp - 0x168]
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
movzx eax, word [eax + 8]
push eax
call fcn.00493ed1
push 0xa
push 0xa
lea eax, [ebp - 0x34]
mov word [ebp - 0x2c], 0
push eax
mov eax, dword [ebp - 0x168]
xorps xmm0, xmm0
movq qword [ebp - 0x34], xmm0
movzx eax, word [eax + 0xe]
push eax
call fcn.00493ed1
push 0xa
push 0xa
lea eax, [ebp - 0x40]
mov word [ebp - 0x38], 0
push eax
mov eax, dword [ebp - 0x168]
xorps xmm0, xmm0
movq qword [ebp - 0x40], xmm0
movzx eax, word [eax + 0xc]
push eax
call fcn.00493ed1
lea ecx, [ebp - 0x1c]
add esp, 0x40
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462900
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x160]
call fcn.004223b0
push 0x2e
lea ecx, [ebp - 0x160]
call fcn.004221b0
lea ecx, [ebp - 0x28]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462930
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x160]
call fcn.004223b0
push 0x2e
lea ecx, [ebp - 0x160]
call fcn.004221b0
lea ecx, [ebp - 0x34]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462960
sub ecx, edx
lea eax, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x160]
call fcn.004223b0
push 0x2e
lea ecx, [ebp - 0x160]
call fcn.004221b0
lea ecx, [ebp - 0x40]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462990
sub ecx, edx
lea eax, [ebp - 0x40]
push ecx
push eax
lea ecx, [ebp - 0x160]
call fcn.004223b0
push edi
call fcn.0048112c
add esp, 4
lea eax, [ebp - 0x160]
mov ecx, esi
push eax
call fcn.0041ef70
lea ecx, [ebp - 0x160]
call fcn.0040df30
jmp 0x4629f8
movups xmm0, xmmword [ebp - 0x160]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x150]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004810ea
mov esp, ebp
pop ebp
ret