Function at 0x410b50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446abc
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x45c4d0]
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
xor eax, eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x410e01
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x410e01
push 1
push esi
call fcn.0042d8eb
mov edi, eax
add esp, 8
test edi, edi
je 0x410e01
push edi
push esi
push dword [ebp - 0x478]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x410df8
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x46c], 0
push eax
push str.VarFileInfoTranslation
push edi
call esi
mov ecx, dword [ebp - 0x46c]
push 0x454704
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04x_ls
push 0x104
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.0042bfac
add esp, 0x1c
mov dword [ebp - 0x470], 0
lea eax, [ebp - 0x494]
push eax
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x420]
push eax
push edi
call esi
test eax, eax
je 0x410df8
mov eax, dword [ebp - 0x470]
test eax, eax
je 0x410df8
push eax
lea ecx, [ebp - 0x468]
call fcn.00403d75
lea edx, [ebp - 0x468]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.0041df40
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 0x10
lea ecx, [ebp - 0x450]
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.004044f5
lea edx, [ebp - 0x484]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x450]
call fcn.00410a50
cmp dword [ebp - 0x43c], 0x10
jb 0x410d1c
push dword [ebp - 0x450]
call fcn.0042c242
add esp, 4
mov eax, dword [ebp - 0x480]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x484]
sub eax, esi
and eax, 0xfffffffe
movlpd qword [ebp - 0x490], xmm0
cmp eax, 8
jne 0x410d7d
movzx eax, word [esi + 2]
cdq
mov ebx, eax
mov ecx, edx
movzx eax, word [esi]
cdq
shld edx, eax, 0x10
shl eax, 0x10
or ecx, edx
or ebx, eax
movzx eax, word [esi + 4]
shld ecx, ebx, 0x10
cdq
shl ebx, 0x10
or ecx, edx
or ebx, eax
movzx eax, word [esi + 6]
shld ecx, ebx, 0x10
cdq
shl ebx, 0x10
or ebx, eax
or ecx, edx
mov dword [ebp - 0x474], ecx
jmp 0x410d8f
mov eax, dword [ebp - 0x48c]
mov ebx, dword [ebp - 0x490]
mov dword [ebp - 0x474], eax
push edi
call fcn.0042c242
add esp, 4
test esi, esi
je 0x410da5
push esi
call fcn.0042c242
add esp, 4
cmp dword [ebp - 0x424], 0x10
jb 0x410dbc
push dword [ebp - 0x438]
call fcn.0042c242
add esp, 4
cmp dword [ebp - 0x454], 8
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], 0
mov byte [ebp - 0x438], 0
jb 0x410dee
push dword [ebp - 0x468]
call fcn.0042c242
add esp, 4
mov edx, dword [ebp - 0x474]
mov eax, ebx
jmp 0x410e05
push edi
call fcn.0042c242
add esp, 4
xor eax, eax
xor edx, edx
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.0042b782
mov esp, ebp
pop ebp
ret