Function at 0x41b280
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47df56
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [section..data]
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
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x248], ebx
xor eax, eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
test edi, edi
je 0x41b4cb
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x234]
push eax
push edi
mov dword [ebp - 0x234], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x250], eax
test eax, eax
je 0x41b45a
push eax
call fcn.00452ca0
mov esi, eax
add esp, 4
mov dword [ebp - 0x238], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x41b45a
push esi
push dword [ebp - 0x250]
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x41b450
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], 0
push eax
push 0x48b7fc
push esi
mov dword [ebp - 0x23c], 0
call edi
test eax, eax
je 0x41b450
cmp dword [ebp - 0x23c], 4
jb 0x41b450
mov ecx, dword [ebp - 0x244]
push 0x48ce4c
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x218]
push str.StringFileInfo_04x_04x_s
push eax
call fcn.0041c1e0
add esp, 0x14
mov dword [ebp - 0x240], 0
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
call edi
test eax, eax
je 0x41b450
mov ecx, dword [ebp - 0x240]
test ecx, ecx
je 0x41b450
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x41b450
cmp word [ecx + eax*2 - 2], 0
jne 0x41b409
dec eax
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x21c], 8
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
push ebx
push dword [ebp - 0x240]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
push eax
push ecx
lea ecx, [ebp - 0x230]
call fcn.0041c140
mov ebx, dword [ebp - 0x248]
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jae 0x41b4b5
mov eax, dword [ebp - 0x220]
inc eax
je 0x41b4bd
add eax, eax
push eax
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.MSVCR120.dll_memmove]
mov edx, dword [ebp - 0x21c]
add esp, 0xc
mov ecx, dword [ebp - 0x220]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], edx
jmp 0x41b503
mov ecx, dword [ebp - 0x230]
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x220]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], edx
jmp 0x41b503
xor eax, eax
mov dword [ebx + 0x14], 7
push eax
mov dword [ebx + 0x10], 0
mov ecx, ebx
push 0x48b308
mov word [ebx], ax
call fcn.0040235a
cmp dword [ebp - 0x21c], 8
jb 0x41b503
push dword [ebp - 0x230]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, ebx
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.00452da4
mov esp, ebp
pop ebp
ret