Function at 0x406ef0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x47c9a0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x238], edx
push eax
push 0
mov dword [ebp - 0x218], 1
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x240], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x406f61
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043f01f
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x406f8b
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043f01f
mov esp, ebp
pop ebp
ret
push ebx
push esi
push edi
call fcn.0043f884
add esp, 4
mov esi, eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x230], esi
push esi
push edi
push dword [ebp - 0x218]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40718d
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x210]
push eax
push str.StringFileInfo040904b0_License
push esi
call edi
test eax, eax
je 0x40718d
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x214]
push eax
push str.StringFileInfo040904b0__Registered_to
push esi
call edi
test eax, eax
je 0x40718d
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x214]
push 0x4646c8
push eax
mov dword [ebp - 0x21c], eax
call fcn.0043f916
mov edi, eax
add esp, 8
test edi, edi
je 0x40718d
xor eax, eax
mov dword [edi], eax
add edi, 4
push 0x4646c8
push edi
call fcn.0043f916
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40718d
xor eax, eax
mov dword [ebx], eax
add ebx, 4
push 0x4646c8
push ebx
call fcn.0043f916
add esp, 8
test eax, eax
je 0x40718d
xor ecx, ecx
mov dword [eax], ecx
add eax, 4
push 0x4646c8
push eax
mov dword [ebp - 0x22c], eax
call fcn.0043f916
add esp, 8
test eax, eax
je 0x40718d
xor ecx, ecx
mov dword [eax], ecx
add eax, 4
push 0x4646c8
push eax
mov dword [ebp - 0x23c], eax
call fcn.0043f916
add esp, 8
test eax, eax
je 0x40718d
xor ecx, ecx
mov dword [eax], ecx
add eax, 4
push 0x4646c8
push eax
mov dword [ebp - 0x220], eax
call fcn.0043f916
add esp, 8
test eax, eax
je 0x40718d
xor ecx, ecx
mov word [eax], cx
add eax, 2
push 0x20
mov dword [ebp - 0x228], eax
mov word [eax], cx
call fcn.0043f884
push dword [ebp - 0x224]
mov esi, eax
xorps xmm0, xmm0
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
call fcn.0043fba9
push dword [ebp - 0x21c]
mov dword [esi], eax
call fcn.0043fba9
push edi
mov dword [esi + 4], eax
call fcn.0043fba9
push ebx
mov dword [esi + 8], eax
call fcn.0043fba9
push dword [ebp - 0x22c]
mov dword [esi + 0xc], eax
call fcn.0043fba9
push dword [ebp - 0x23c]
mov dword [esi + 0x10], eax
call fcn.0043fba9
push dword [ebp - 0x220]
mov dword [esi + 0x14], eax
call fcn.0043fba9
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x228]
add eax, 2
push eax
call fcn.0043fba9
push dword [ebp - 0x230]
mov dword [esi + 0x1c], eax
call fcn.0043f656
mov eax, dword [ebp - 0x238]
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.0043f01f
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x40719a
push esi
call fcn.0043f656
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.0043f01f
mov esp, ebp
pop ebp
ret