Function at 0x407580
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x495574]
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 0x407826
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 0x407826
push ebx
push esi
push edi
call fcn.00454589
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 0x407806
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 0x407806
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 0x407806
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x218]
push 0x479c60
push eax
mov dword [ebp - 0x228], eax
call fcn.0044daa1
mov edi, eax
add esp, 8
test edi, edi
je 0x407806
xor eax, eax
mov dword [edi], eax
add edi, 4
push 0x479c60
push edi
call fcn.0044daa1
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x407806
xor eax, eax
mov dword [ebx], eax
add ebx, 4
push 0x479c60
push ebx
call fcn.0044daa1
add esp, 8
test eax, eax
je 0x407806
xor ecx, ecx
mov dword [eax], ecx
add eax, 4
push 0x479c60
push eax
mov dword [ebp - 0x22c], eax
call fcn.0044daa1
add esp, 8
test eax, eax
je 0x407806
xor ecx, ecx
mov dword [eax], ecx
add eax, 4
push 0x479c60
push eax
mov dword [ebp - 0x230], eax
call fcn.0044daa1
add esp, 8
test eax, eax
je 0x407806
xor ecx, ecx
mov dword [eax], ecx
add eax, 4
push 0x479c60
push eax
mov dword [ebp - 0x234], eax
call fcn.0044daa1
add esp, 8
test eax, eax
je 0x407806
xor ecx, ecx
mov word [eax], cx
add eax, 2
push 0x20
mov dword [ebp - 0x238], eax
mov word [eax], cx
call fcn.00454589
push dword [ebp - 0x224]
mov esi, eax
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
call fcn.0045452a
push dword [ebp - 0x228]
mov dword [esi], eax
call fcn.0045452a
push edi
mov dword [esi + 4], eax
call fcn.0045452a
push ebx
mov dword [esi + 8], eax
call fcn.0045452a
push dword [ebp - 0x22c]
mov dword [esi + 0xc], eax
call fcn.0045452a
push dword [ebp - 0x230]
mov dword [esi + 0x10], eax
call fcn.0045452a
push dword [ebp - 0x234]
mov dword [esi + 0x14], eax
call fcn.0045452a
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x238]
add eax, 2
push eax
call fcn.0045452a
push dword [ebp - 0x23c]
mov dword [esi + 0x1c], eax
call fcn.004543a2
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.0044c2a6
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x407813
push esi
call fcn.004543a2
add esp, 4
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c2a6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.0044c2a6
mov esp, ebp
pop ebp
ret