Function at 0x406ab0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x495580]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x240], edx
push eax
push 0
mov dword [ebp - 0x210], 1
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x406d56
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x406d56
push ebx
push esi
push edi
call fcn.00454a03
add esp, 4
mov esi, eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x23c], esi
push esi
push edi
push dword [ebp - 0x210]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x406d36
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
push str.StringFileInfo040904b0_License
push esi
call edi
test eax, eax
je 0x406d36
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
push str.StringFileInfo040904b0__Registered_to
push esi
call edi
test eax, eax
je 0x406d36
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x218]
push 0x478c20
push eax
mov dword [ebp - 0x228], eax
call fcn.0044c618
mov edi, eax
add esp, 8
test edi, edi
je 0x406d36
xor eax, eax
mov dword [edi], eax
add edi, 4
push 0x478c20
push edi
call fcn.0044c618
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x406d36
xor eax, eax
mov dword [ebx], eax
add ebx, 4
push 0x478c20
push ebx
call fcn.0044c618
add esp, 8
test eax, eax
je 0x406d36
xor ecx, ecx
mov dword [eax], ecx
add eax, 4
push 0x478c20
push eax
mov dword [ebp - 0x22c], eax
call fcn.0044c618
add esp, 8
test eax, eax
je 0x406d36
xor ecx, ecx
mov dword [eax], ecx
add eax, 4
push 0x478c20
push eax
mov dword [ebp - 0x230], eax
call fcn.0044c618
add esp, 8
test eax, eax
je 0x406d36
xor ecx, ecx
mov dword [eax], ecx
add eax, 4
push 0x478c20
push eax
mov dword [ebp - 0x234], eax
call fcn.0044c618
add esp, 8
test eax, eax
je 0x406d36
xor ecx, ecx
mov word [eax], cx
add eax, 2
push 0x20
mov dword [ebp - 0x238], eax
mov word [eax], cx
call fcn.00454a03
push dword [ebp - 0x224]
mov esi, eax
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
call fcn.004549a4
push dword [ebp - 0x228]
mov dword [esi], eax
call fcn.004549a4
push edi
mov dword [esi + 4], eax
call fcn.004549a4
push ebx
mov dword [esi + 8], eax
call fcn.004549a4
push dword [ebp - 0x22c]
mov dword [esi + 0xc], eax
call fcn.004549a4
push dword [ebp - 0x230]
mov dword [esi + 0x10], eax
call fcn.004549a4
push dword [ebp - 0x234]
mov dword [esi + 0x14], eax
call fcn.004549a4
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x238]
add eax, 2
push eax
call fcn.004549a4
push dword [ebp - 0x23c]
mov dword [esi + 0x1c], eax
call fcn.0045478a
mov eax, dword [ebp - 0x240]
add esp, 0x28
mov dword [eax], esi
mov eax, 1
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044ae3d
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x406d43
push esi
call fcn.0045478a
add esp, 4
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044ae3d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.0044ae3d
mov esp, ebp
pop ebp
ret